How to connect to the XEN VMs using VNC

vncxen

Does every VM in XEN have a VNC server running for it? If so, how do I connect to this VNC session, this would be VERY helpful for me!

I'd like to be able to tunnel a connection to my server via SSH, in a manner, ssh -L localportX:localhost:vncportnumber to i can use my VNC client, and connect to localhost:localportX and get the screen of the VM.

Am I understanding the VNC wrong here?

Best Answer

This would depend on how you're managing your Xen VMs?

If you are using libvirt, it should be a simple matter of connecting to the host with virt-manager and opening up the specific VM. The details of opening up the VNC to listen to a port and tunneling the client connection over to it will be handled in the background.