On Fri, Apr 15, 2005 at 09:15:00AM +0100, Chris Green wrote:
On Fri, Apr 15, 2005 at 08:52:02AM +0100, Chris Green wrote:
On Thu, Apr 14, 2005 at 10:30:23PM +0100, Adam Bower wrote:
On Thu, Apr 14, 2005 at 09:29:00PM +0100, Chris Green wrote:
The ssh man pages say that ssh will set the DISPLAY environment variable but it doesn't seem to do so, 'echo $DISPLAY' produces nothing.
What am I doing wrong?
Does the remote end have the option "X11Forwarding yes" in the /etc/ssh/sshd_config file?
Aha, no it doesn't. Can I override that with a local config file and/or a command line argument? (The remote machine isn't mine, it's the hosting company where my web pages are hosted)
[Sorry, intermediate message not sent to list]
OK, I've created a local config file on the remote system with "X11Forwarding yes" in it. Still no joy. When I connect using "ssh -X <remote>" there's still not DISPLAY variable set.
More to the point however, surely it's the configuration of the ssh daemon on the remote machine that is relevant here. Changing the /etc/ssh_config file or the $HOME/.ssh/config file on the remote machine will do nothing at all for me when I'm connecting *to* that machine.
I think I need to ask the sysadmin to change the X11Forwarding option in the /etc/ssh/sshd_config file from 'no' to 'yes'.