Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:x11_forwarding [2012/01/21 16:21]
chals Updating X11 forwarding tutorial for sdf-eu.
tutorials:x11_forwarding [2012/05/05 20:38]
memnon Add $ID
Line 16: Line 16:
   * Available ports on odin: 465, 587, 995, 996, 1025, 8080 and 7070   * Available ports on odin: 465, 587, 995, 996, 1025, 8080 and 7070
   * **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"​.   * **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"​.
-  * [[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}} +  * [[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 the little "​+"​ besides ​"​SSH"​ on the left list, click on "​X11"​ and tick the "​Enable X11 forwarding"​ box: {{tutorials:​puttyx2.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 29: 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 ​-X -p465 userid@sdfeu.org//'​ where '​userid'​ is your SDF-EU user id+  * Run '//ssh -p465 -X userid@sdfeu.org//'​ where '​userid'​ is your SDF-EU user id
 == On the SDF-EU 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 $
 +