Differences

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

Link to this comparison view

Next revisionBoth sides next revision
tutorials:x11_forwarding [2011/04/30 14:49] – created clemenstutorials:x11_forwarding [2012/01/16 01:06] – Add screenshots from sdf, minor formatting memnon
Line 15: Line 15:
   * ssh to sverige.freeshell.org with "ssh -X //user//@sverige.freeshell.org".   * ssh to sverige.freeshell.org with "ssh -X //user//@sverige.freeshell.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".   * **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".
-  * [[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}} +  * [[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}} 
-  * 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}}+  * 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 24:
 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 -p443 userid@sverige.sdf.org//' where 'userid' is your SDF user id 
 +== On the SDF 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