[Libvir] Opening KVM guest in xterm rather than vnc
dsm717 at gmail.com
Thu Oct 18 22:52:59 UTC 2007
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"
A notable advantage of using an xterm over VNC is that we can resize
the window; with VNC as far as I've been able to see, we've been stuck
with the default 80x24 window. We also can't copy and paste text from
the VNC window to other applications.
Any suggestions would be appreciated. I am currently using
libvirt-0.3.2-1.fc7; if this is something that we'll have to wait for
a newer version that will be in Fedora 8, that's okay.
More information about the libvir-list