Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • Please include all essential parts of the guide you used. We encourage users not to source external links as a general rule. Thank you Commented Jan 27, 2024 at 9:32
  • Do you get this error when trying to setup the ssh tunnel like in the tutorial? Commented Jan 27, 2024 at 9:50
  • @GChuf, I tried vnc viewer on another machine also, I tried ssh -L 5901:127.0.0.1:5901 -N -f -l username server_ip_address this command from another machine. And still get this error. Commented Jan 27, 2024 at 15:36
  • 1
    The port 5901 is already listening on the machine you're trying to setup ssh tunnel on. I've updated the answer if you want to try to use another port ... meaning you're probably running vnc server on that machine already. Try the suggestion in my updated answer, but you never answered if VNC connection works without the ssh tunnel. Commented Jan 27, 2024 at 18:43