I can't seem to get X Forwarding to work right over my ssh tunnels.

On the the server:

[EMAIL PROTECTED]:~$ grep X11 /etc/ssh/sshd_config
X11Forwarding yes
X11DisplayOffset 10

On the client:

[EMAIL PROTECTED]:~$ grep ^[^#\n] /etc/ssh/ssh_config
Host *
  ForwardX11 yes
  ForwardX11Trusted yes

Connecting to and trying to run an xterm from server:
[EMAIL PROTECTED]:~$ ssh -X berg

[EMAIL PROTECTED]:~$ echo $DISPLAY

[EMAIL PROTECTED]:~$ xterm
xterm Xt error: Can't open display:
xterm:  DISPLAY is not set
[EMAIL PROTECTED]:~$

Not only do I have to set the DISPLAY environment variable on the
server but I also have to run the appropriate xhost command as well. 
I thought that enabling X11 Forwarding on the server and using -X was
all that is necessary, and that seems to be what all the howtos I can
find say too.  What am I missing here?

--Dave

Reply via email to