vnc viewer error: unable connect to socket: Connection refused (111)
Your server is only listening on the loopback address localhost.localdomain:2
. Try launching it with the server's IP address specified explicitly:
vncserver -interface [address]
Also you might want to try this option:
-localhost no
The command that works for me is:
vncserver -localhost no -geometry 800x600 -depth 24
The idea is to have vncserver listen on the network interface, rather than just the loopback interface (lo).