Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
tutorials:x11_forwarding [2011/04/30 14:49] – created clemenstutorials:x11_forwarding [2012/01/21 16:21] – Updating X11 forwarding tutorial for sdf-eu. chals
Line 1: Line 1:
-=== Setting up X11 forwarding on SDF ===+=== Setting up X11 forwarding on SDF-EU ===
  
 === Contents === === Contents ===
Line 13: Line 13:
  
   * Install and run an X server such as [[http://sourceforge.net/projects/xming/|Xming]].   * Install and run an X server such as [[http://sourceforge.net/projects/xming/|Xming]].
-  * ssh to sverige.freeshell.org with "ssh -X //user//@sverige.freeshell.org"+  * ssh to sdfeu.org with "ssh -p465 -X //user//@sdfeu.org". 
-  * **Note:** If you see an error just after connecting that //xauth// is missing, try adding an option to the ssh command: "ssh -o XAuthLocation=`which xauth` -X //user//@sverige.freeshell.org"+  * Available ports on odin: 465, 587, 995, 996, 1025, 8080 and 7070 
-  * [[http://www.chiark.greenend.org.uk/~sgtatham/putty/|Putty]] users should use sverige.freeshell.org as the Host Name and change the Port to 443: {{/tutorials/images/puttyx1.png}} +  * **Note:** If you see an error just after connecting that //xauth// is missing, try adding an option to the ssh command: "ssh -o XAuthLocation=`which xauth` -p465 -X //user//@sdfeu.org"
-  * Then click on the little "+" besides "SSH" on the left list, click on "X11" and tick the "Enable X11 forwarding" box: {{/tutorials/images/puttyx2.png}}+  * [[http://www.chiark.greenend.org.uk/~sgtatham/putty/|Putty]] users should use sdfeu.org as the Host Name and change the Port to 465: {{tutorials:puttyx1.png}} 
 +  * Then click on the little "+" besides "SSH" on the left list, click on "X11" and tick the "Enable X11 forwarding" box: {{tutorials:puttyx2.png}}
   * Click Open, login then run //xeyes// and play   * Click Open, login then run //xeyes// and play
   * Running "xhost +localhost" on the local machine may be needed.   * Running "xhost +localhost" on the local machine may be needed.
Line 24: Line 25:
 The advantage of sending X11 traffic directly is performance (screen updates) should be slightly faster because the data is not encrypted first. The disadvantage of sending X11 traffic directly is the data is not encrypted first. The X client will send the traffic directly to the local X server, so care must be taken to open up firewalls and forward the ports 6000/TCP - 6063/TCP as necessary. The advantage of sending X11 traffic directly is performance (screen updates) should be slightly faster because the data is not encrypted first. The disadvantage of sending X11 traffic directly is the data is not encrypted first. The X client will send the traffic directly to the local X server, so care must be taken to open up firewalls and forward the ports 6000/TCP - 6063/TCP as necessary.
  
-== __On your side__: ==+== On your side ==
  
   * Open an xterm on your computer   * Open an xterm on your computer
   * Run '//xhost +//' to enable server access   * Run '//xhost +//' to enable server access
-  * Run '//ssh -X -p443 userid@sverige.sdf.org//' where 'userid' is your SDF user id== __On the SDF side__: ==+  * Run '//ssh -X -p465 userid@sdfeu.org//' where 'userid' is your SDF-EU user id 
 +== On the SDF-EU side ==
   * Run //export DISPLAY=`echo $SSH_CLIENT|awk '{print $1}'`:0.0//   * Run //export DISPLAY=`echo $SSH_CLIENT|awk '{print $1}'`:0.0//
   * Run //xeyes// and play   * Run //xeyes// and play