Monday, August 18, 2014

vnc server unable connect to socket: Connection refused (111)

In order to avoid this problem, go to the file vim /etc/sysconfig/vncservers.
Remove the localhost in the following line

VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost"

it should be as below

VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp".

Also you can additionally change the screen resolution so that screen size will be better.
I use the following values.

 VNCSERVERARGS[2]="-geometry 1920x1080 -nolisten tcp"

No comments:

Post a Comment