On Fri, 15 Apr 2005, Chris Green wrote:
I think I need to ask the sysadmin to change the X11Forwarding option in the /etc/ssh/sshd_config file from 'no' to 'yes'.
A couple of months ago, when I set up X11 forwarding over ssh, I couldn't make out from the documentation whether the "X11Forwarding yes" needed to go in the client configuration or the server configuration, so I put it in both: this seems to work, and if you do as you suggest above, you'll end up in with a similar configuration.
Don't worry too much about what the DISPLAY environment variable says: X clients on the ssh server machine should connect (directly) to a fake X server that's really the ssh server in disguise; by default, they can get to this fake X server by having DISPLAY set to localhost:10.0, and sshd will duly set the DISPLAY variable to this value.