How can I connect to X-servers via Putty SSH client?
Connection with VNC and X-Forwarding
Initial Seps
- Use Putty to login to your Linux box/server.
Launch a vncserver
vncserver -geometry 1920x1080 # The first time you will be asked to set a VNC password
Remember your session number. In the example below it is number 1:
New 'X' desktop is mylinuxbox:1
- Open the PuTTY configuration window and save a new connection
Go to SSH >> X11 in the left part of the window
- Check 'Enable X11 forwarding'
Go to SSH >> Tunnels and enter Source port: 5901. Furthermore add the following Destination: 127.0.0.1:5901
- Now start your VNC client and point to 127.0.0.1:5901 and enter your VNC password from above. That's it.
Alternatively, you can write us an email to support@ee.ethz.ch requesting a X-Server for Windows (please mention your computer).