Skip to main content
added 245 characters in body
Source Link
GChuf
  • 245
  • 2
  • 9

If you're getting this error while trying to set up thessh tunnel, it's probably because you're setting up the tunnel on the machine running VNC instead of another machine (where the VNC client is).

The error basicaly means that the port 5901 is already in use on the machine you're trying to setup a tunnel. You can try changing the port, for example to port 5902, like this:

ssh -L 5902:127.0.0.1:5901 -N -f -l username serverIP 

You can try to connect to VNC without the tunnel as well, to test if your configuration works.

If you're getting this error while trying to set up thessh tunnel, it's probably because you're setting up the tunnel on the machine running VNC instead of another machine (where the VNC client is).

You can try to connect to VNC without the tunnel as well, to test if your configuration works.

If you're getting this error while trying to set up thessh tunnel, it's probably because you're setting up the tunnel on the machine running VNC instead of another machine (where the VNC client is).

The error basicaly means that the port 5901 is already in use on the machine you're trying to setup a tunnel. You can try changing the port, for example to port 5902, like this:

ssh -L 5902:127.0.0.1:5901 -N -f -l username serverIP 

You can try to connect to VNC without the tunnel as well, to test if your configuration works.

Source Link
GChuf
  • 245
  • 2
  • 9

If you're getting this error while trying to set up thessh tunnel, it's probably because you're setting up the tunnel on the machine running VNC instead of another machine (where the VNC client is).

You can try to connect to VNC without the tunnel as well, to test if your configuration works.