[libvirt] access with VNC and graphic interface

libvirt provides vnc to access the VMs under its control. However, I can not get applications with graphical interface to run when I use vnc to access a VM. The same applications will display properly if I ssh -X to the VM. Is there anyway to overcome this problem? Best Regards, Kenneth Nagin

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/28/11 13:10, Kenneth Nagin wrote:
libvirt provides vnc to access the VMs under its control. However, I can not get applications with graphical interface to run when I use vnc to access a VM. The same applications will display properly if I ssh -X to the VM. Is there anyway to overcome this problem?
Best Regards,
Kenneth Nagin
Hello, could you please elaborate what the problem is? Because I didn't fully understood and I can run X and X applications via VNC resp. virt-manager just fine. Regards, Zdenek - -- Zdenek Styblik Net/Linux admin OS TurnovFree.net email: stybla@turnovfree.net jabber: stybla@jabber.turnovfree.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2QfGcACgkQ8MreUbSH7ilvhACfSWsOZgfsfukGhkCVLZhbzxD1 qnoAoKmVewh7SsLN65mag1/B8kRMwCxA =poBF -----END PGP SIGNATURE-----

libvirt provides vnc to access the VMs under its control. However, I can not get applications with graphical interface to run when I use vnc to access a VM. The same applications will display properly if I ssh -X to the VM. Is there anyway to overcome this problem?
Best Regards,
Kenneth Nagin
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list Libvirt doesn't provide vnc console, it's only framework to manage running of kvm/xen/vbox processes, which can provide vnc access to virtual machine's console. You should think of this virtual machine as of real machine than needs X server to run gui apps. Do you have X server running on your virtual machine? You do not need X server started on virtual machine if you are using ssh X forwarding because you are executing app process on virtual machine and forwarding its connection to X server to X server running on your host/remote machine. (Yes,
28.03.2011 15:10, Kenneth Nagin пишет: this method is great because it allows to run gui aps on headless server). BTW even if you will run X on you virtual machine you will have problems with copy/paste buffer which will not work through kvm vnc, so maybe you'll better with ssh -X.
participants (3)
-
Dmitry <ilyin
-
Kenneth Nagin
-
Zdenek Styblik