On Fri, Apr 15, 2005 at 08:57:08AM +0100, Stuart Bailey wrote:
On Thursday 14 April 2005 22:50, MJ Ray wrote:
Chris Green wrote:
The ssh man pages say that ssh will set the DISPLAY environment variable but it doesn't seem to do so, [...]
I think that you may need to change a sshd_config setting on the machine you are connecting to.
If you want to try setting it up manually, you need to do the following:
xhost +<host or ip of remote machine> ssh <host or ip of remote machine>
at the command prompt on the remote machine type: export DISPLAY=<ip or host of local machine>:0
I don't think the above is right, the ssh man page explicitly says that one should *not* set the DISPLAY variable as ssh does it for you. I'm not sure if the xhost is necesary either but if it is that should be clear from error messages.