I am trying to get VNC working on a Centos 6.4 virtual machine. I followed the directions at http://wiki.centos.org/HowTos/VNC-Server. When I connect from the client, I don't get any errors, but I do not get any window displayed. The log on the server has nothing interesting:
19/10/2013 07:14:27 PM [IPv6] Got connection from client ::ffff:10.250.151.75
19/10/2013 07:14:27 PM other clients:
19/10/2013 07:14:27 PM Client Protocol Version 3.7
19/10/2013 07:14:27 PM Advertising security type 2
19/10/2013 07:14:28 PM Client returned security type 2
On a physical host (i.e. not a VM) following the instructions from the above site works perfectly. But I've had the same problem on 3 different VMs. My xstartup file is identical on the VM and the physical host.
Is there some trick to getting VNC to work on a VM?