[libvirt] libvirt and consoles [was: libvir-list Digest, Vol 64, Issue 243]

Eric Blake eblake at redhat.com
Wed Mar 30 19:55:36 UTC 2011


When starting a new question, it's better to start a new mail with a
usable topic rather than replying to a digest that has no bearing on
your question.

On 03/29/2011 02:35 AM, SanitYey o wrote:
> 
> Hello, 
> I want to know, could libvirt open a console for a specific guest os?

Yes, for example, 'virsh console' opens a text console.

> like Virt Manager or virt-viewer does.

Oh, you want a graphical console.  Well, virt-manager and virt-viewer
both use libvirt under the hood to manage which graphical console the
guest is exposing (such as vnc or spice), so it is possible for you to
use libvirt in the same manner.  And if you have a guest with a vnc
graphics, then it is possible to open up a vnc client of your choice
(rather than virt-viewer) to connect to it, although not all vnc clients
are created equal (virt tends to use some vnc extensions not present in
all implementations).

> How can I fetch a console or VNC screen by libvirt? Or do I need some other method? how do I use vncdisplay or gtk-vnc to get that?
> thank you very much !

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110330/c508f6b3/attachment-0001.sig>


More information about the libvir-list mailing list