Tuesday, November 19, 2013

fix a vncserver issue on Scientific Linux 6.1


I tried to connect a vncserver from a Windows 7 machine to a SL 6.1 server. But it gave following error:

Failed To Connect: Connection Refused (10061)

After checked lots of things, I finally found that following command caused the problem:

sudo service vncserver start

(btw: I was logined in as a normal user, not root.)

The output of this command looks good, but you will never connect the vnc server.

The correct commands is to start vncserver as the login user, just type:

vncserver


No comments: