Differences between revisions 4 and 5
Revision 4 as of 2013-09-09 12:19:07
Size: 764
Editor: schadavi
Comment:
Revision 5 as of 2018-10-09 12:00:09
Size: 968
Editor: schadavi
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= How can I connect to X-servers via Putty SSH or SSH Client? = = How can I connect to X-servers via Putty SSH client? =
Line 3: Line 3:
== Connection with VNC and X-Forwarding ==
Line 4: Line 5:
PuTTY SSH: '''Initial Seps'''
 1. Use Putty to login to your Linux box/server.
 1. Launch a vncserver{{{
vncserver -geometry 1920x1080 # The first time you will be asked to set a VNC password
}}}
 1. Remember your session number. In the example below it is number '''1''':{{{
New 'X' desktop is mylinuxbox:1
}}}
 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:5901 and enter your VNC password from above. That's it.
Line 6: Line 19:
 1. Open the PuTTY configuration window in Start->Programs->Internet->PuTTY
 1. Choose SSH->Tunnels in the left part of the window
 1. Check 'Enable X11 forwarding' and enter 'localhost:0' in the X display location-window underneath

SSH client:

 1. Open SSH client in Start->Programs->Internet->SSH client
 1. Open 'Settings..' in the Edit Menu
 1. Choose 'Tunneling' in the left part of the window
 1. Check !TunnelX11 connections

Alternatively, you can request at ISG.EE support to install X-Win32 for you (please mention your computer). The newest version has integrated ssh support, and allows you to setup a 'rlogin'-style directly.
Alternatively, you can write us an email to support@ee.ethz.ch requesting a X-Server for Windows (please mention your computer).

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

Connection with VNC and X-Forwarding

Initial Seps

  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 and save a new connection
  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. 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).


CategoryWNCL

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