Differences between revisions 6 and 7
Revision 6 as of 2018-10-09 12:05:31
Size: 1187
Editor: schadavi
Comment:
Revision 7 as of 2018-10-09 12:13:13
Size: 1321
Editor: schadavi
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#rev 2018-10-09 schadavi
Line 3: Line 5:
== Connection with VNC and X-Forwarding == === Connection with VNC and X-Forwarding ===
Line 5: Line 7:
'''Initial Seps''' '''Initial Steps'''
Line 13: Line 15:
 1. Open the PuTTY configuration window and save a new connection
 1. Go to SSH >> X11 in the left part of the window
 1. Check 'Enable X11 forwarding'
 1. Go to SSH >> Tunnels and enter Source port: 590'''1'''. Furthermore add the following Destination: 127.0.0.1:590'''1'''
 1. Now start your VNC client and point to 127.0.0.1:590'''1''' and enter your VNC password from above. That's it.
 1. Open the PuTTY configuration window
 1. Go to '''SSH''' >> '''X11''' in the left part of the window
 1. Check '''Enable X11 forwarding'''
 1. Go to '''SSH''' >> '''Tunnels''' and enter Source port: 590'''1'''. Furthermore add the following Destination: 127.0.0.1:590'''1'''
 1. Go back to '''Session''', enter a host name and a session name under "Saved Sessions" and click at "Save".
 1.
Now start your VNC client and point to 127.0.0.1:590'''1''' and enter your VNC password from above.

How can I connect to X-servers via Putty SSH client?

Connection with VNC and X-Forwarding

Initial Steps

  1. Use Putty to login to your Linux box/server.
  2. Launch a vncserver

    vncserver -geometry 1920x1080    # The first time you will be asked to set a VNC password
  3. Remember your session number. In the example below it is number 1:

    New 'X' desktop is mylinuxbox:1
  4. Open the PuTTY configuration window
  5. Go to SSH >> X11 in the left part of the window

  6. Check Enable X11 forwarding

  7. Go to SSH >> Tunnels and enter Source port: 5901. Furthermore add the following Destination: 127.0.0.1:5901

  8. Go back to Session, enter a host name and a session name under "Saved Sessions" and click at "Save".

  9. Now start your VNC client and point to 127.0.0.1:5901 and enter your VNC password from above.

(!) In case of other running VNC servers, your session number could be higher than :1. In this case, go again through all steps above with the current session ID and change all numbers (written in bold).

Alternatively, you can write us an email to support@ee.ethz.ch requesting a X-Server for Windows (please mention your computer).


CategoryWNCL

FAQ/ConnectToXServers (last edited 2018-10-09 12:54:19 by schadavi)