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

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

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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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