Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:x11_forwarding [2012/01/16 01:06] – Add screenshots from sdf, minor formatting memnontutorials:x11_forwarding [2012/05/05 20:38] (current) – Add $ID memnon
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: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: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:x11-tutorial_putty1.png}} 
 +  * Then click on "SSH" on the left list, click on "X11" and tick the "Enable X11 forwarding" box: {{tutorials:x11-tutorial_putty2.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 28: Line 29:
   * 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 --p443 userid@sverige.sdf.org//' where 'userid' is your SDF user id +  * Run '//ssh -p465 -userid@sdfeu.org//' where 'userid' is your SDF-EU user id 
-== On the SDF side ==+== 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
 +
 +$Id: x11_forwarding.html,v 1.8 2011/06/11 21:09:11 spk Exp $
 +