I have installed tightvnc on my ubuntu 16.04 desktop/server computer. I can ping it, connect using putty ssh. Start the vncserver successfully. From windows 10 pro workstation computer is start TightVNC viewer and enter the IPaddress of the ubuntu computer. I have tried putting VNC port 590x after the IPAddress as 192.168.n.n:Port#. In fact I have tried ever combinations found on internet on how to connect using viewer. This is simple setup. Any help someone can give me would be greatly appreciated.


  • Make sure the server is listening on external interfaces not just on the loopback ( interface with sudo netstat -nlpt | grep ':59..' or the equivalent ss command. Also check that you don't have a firewall blocking the port. – steeldriver Jul 31 '18 at 16:33

If your ssh connection maps the port 5900 to localhost::5900, the viewer invocation should look like:

xtightvncviewer localhost::5900

I cannot speak to the putty invocation, but from Ubuntu, I can invoke the remote x11vnc (on ip ...131) with the command:

ssh -t -L 5900:localhost:5900 'x11vnc -localhost  -display :0'  

Include a username if necessary. If you don't have an X server running as that user, then try running

sudo ssh -t -L 5900:localhost:5900 'x11vnc -localhost -auth guess -display :0'
  • Enter the above command. Get permission denied after enter the password set up for VNC. – B. Spradling Aug 7 '18 at 16:18
  • Can you ssh/putty straight to your ssh server? Get that working first, accept any certs. and then try the vnc connection., – ubfan1 Aug 7 '18 at 16:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.