I have a Centos Desktop VM installed in Virtualbox, and want to connect to it using VNC. I have tried to install vnc-server, but could not connect. I removed it, then tried tigervnc-server, but same problem. I thought this was a firewall problem, but after disabling the firewall I still can't connect.
I followed this guide: http://www.unixmen.com/install-vnc/
The username is "john". I added an entry in /etc/sysconfig/vncservers:
When I connect from my Ubuntu desktop, I get the following error:
An error occurred - Connection to host 192.168.1.123 was closed.
I have no idea what is missing here. How can I configure this properly?