Open main menu

CDOT Wiki β

Changes

Tunnel VNC through SSH

468 bytes added, 19:43, 21 February 2009
Setup the tunnel options: Added more information about port numbers and recommended localhost as the destination IP (required if a firewall is active on remote system).
==Setup the tunnel options==
The default VNC port on Mac is 5900. On linux is often 5900 or 5901. The source port is uses a free and open port on your local machine. (You may need to open that port on your firewall). The 'localdisplay number' radio button should be selected. Click addwhich, go back when added to sessions and save 5900, yields the session for next time. Then login to port number used by the remote SSH VNC server as you normal would with your userid and password:.
[[ImageThe default VNC display number on single-users systems (such as Mac OSX, Windows, and Linux when mirror the local X Window session remotely) is 0, so the VNC server port on is 5900. On Linux systems where additional displays are started, the display number will start at 1 and increase with each server started, yielding port numbers of 5901, 5902, 5903, and so forth. The 'destination' port configured in the screen below should be 127.0.0.1:Putty3X where X is the VNC server port number.JPG]]
The source port is any free and open port on your local machine. The 'local' radio button should be selected. Click add, go back to sessions and save the session for next time. Then login to the remote SSH server as you normal would with your userid and password:
[[Image:Putty3.JPG]]
==Launch vncviewer==