VNC Access

How to set up VNC to be accessed from outside CSAIL

First, be clear about the problem you’re trying to solve. Is VNC (originally for “Virtual Network Computing”) really the best solution? VNC is best for checking in on long-running graphical processes that will continue after your remote client disconnects.* Other kinds of “remote access” needs are often better solved using ssh tunnels, installing programs directly a laptop or remote device, using X11 to run programs on a remote machine and display them locally, or some combination of the above.

Due to security limitations of the VNC protocol (passwords are weak and do not encrypt characters typed or windows displayed), CSAIL does not allow direct VNC connections from outside our network perimeter. However, VNC can safely be tunnelled via SSH as follows:

A. Set up sshd on the host (if necessary)

B. Set up vncserver on the host

C. Establish ssh tunnel on the client

D. Connect using VNC client

E. Destroy your VNC session (optional)