[libvirt] Can not display graphical console of lxc Virtual Machine.

Daniel P. Berrange berrange at redhat.com
Tue Mar 23 12:26:23 UTC 2010

On Fri, Mar 19, 2010 at 10:47:00AM +0530, Kumar L Srikanth-B22348 wrote:
> Hi all,
> I am trying to display the graphical console of a lxc virtual machine
> which was already created and running.
> For this, I am using 'virt-viewer'. But, when I execute the following
> command, it's throwing some errors.
> [root at localhost lxc_devel]# virt-viewer --connect lxc:/// vm2_fedora
> --debug
> ** (virt-viewer:11988): DEBUG: Add handle 4 1 0x217c140
> ** (virt-viewer:11988): DEBUG: Add timeout 0x217e4f0 -1 0x7fda386cb990
> 0x217c140 1
> ** (virt-viewer:11988): DEBUG: Skipping inactive resize
> ** (virt-viewer:11988): DEBUG: Failed to activate viewer
> can anyone help me.
> Please suggest me if any other ways of doing it.

Containers do not have any graphical display. The only "console" access is
via the text mode display, accessible using 'virsh console'. Once the 
container is running you can access it via SSH, or run a VNC server inside
it if you need a graphical desktop

|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

More information about the libvir-list mailing list