[Wylug-help] X over ssh

Jason Lander jason at env.leeds.ac.uk
Tue Apr 25 10:54:16 BST 2006


Don,

> The DISPLAY variable isn't set....
>
> /etc/ssh/sshd_config has a line
>
> X11Forwarding yes

SSH's X11 forwarding is involves more than simply tunnelling the X11 
traffic accross the SSH connection.

It also creates `X Authority cookies' - a kind of simple password on 
the X11 traffic - using the

    xauth

program.

If xauth is not in the path or the remote side of connection cannot write 
an `.Xauthority' file with the cookie, then the X11 forwarding will not be 
created.

If you make ssh more verbose with

   ssh -vvv

it should tell you if this is the case.

- Jason



More information about the Wylug-help mailing list