[ SDF Public Access UNIX System .. Est. 1987 ]

join welcome faq status members projects store tour gopher abuse dialup
nihongo chinese europa usermap webmail forum gallery elearn irc tutorials software telnet ssh

Setting up X11 forwarding on SDF

Contents

Please note that MetaARPA membership is required to run X11 applications

X11 forwarding through ssh

This should be the preferred method of running X. By tunneling through an existing ssh connection, extra firewall ports or port forwarding is not needed. The traffic is also protected by ssh.

Direct X11

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:
  • Open an xterm on your computer
  • 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 export DISPLAY=`echo $SSH_CLIENT|awk '{print $1}'`:0.0
  • Run xeyes and play
    $Id: x11_forwarding.html,v 1.6 2010/08/01 05:56:19 wliao Exp $

    ©1987-2010 SDF Public Access UNIX System, Inc. 501(c)(7)
    (this page was generated using ksh, sed and awk)