[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libvir] Opening KVM guest in xterm rather than vnc

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:



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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]