[Libvir] Opening KVM guest in xterm rather than vnc
Richard W.M. Jones
rjones at redhat.com
Fri Oct 19 09:10:53 UTC 2007
Daniel P. Berrange wrote:
> On Thu, Oct 18, 2007 at 03:52:59PM -0700, David Mueller wrote:
>> I'm trying to setup my virtual machines to display in an xterm window
>> rather than a VNC window. The guests and host are Fedora 7; the guest
>> only needs to run in a console mode (no X11). I see a bit on
>> http://libvirt.org/format.html about using a console tag instead of
>> graphics in my XML, but I can't figure out how to connect to that.
>>
>> With our older Xen on Fedora Core 5 setup, we used the following
>> command to create a guest and it worked great; I'm trying to
>> approximate something similar with libvirt/KVM on Fedora 7:
>>
>> xterm -e "/usr/sbin/xm create -c guest.xen"
>
> First off Xen != KVM. Xen by provides a text based console for access
> to the paravirt guests only.
>
> KVM though is fully virtualized and (as with Xen fullvirt) does not provide
> a text based console. It merely emulates a Cirrus Logic graphics card as
> its default output. This is connected to either a X window, or a VNC server.
Does KVM provide access to the serial console? Or perhaps the OP could
try mingo's netconsole?
http://lxr.linux.no/source/Documentation/networking/netconsole.txt
> The closeest you'll get to a Xen paravirt style text console is to configure
> the serial console as your primary display. This requires configuring grub,
> the kernel, and inittab so won't work by default like a Xen console would
The original poster will find the HOWTO on this very useful:
http://tldp.org/HOWTO/Remote-Serial-Console-HOWTO/
Rich.
--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20071019/45a68380/attachment-0001.bin>
More information about the libvir-list
mailing list