[ILUG] Automatically setting DISPLAY
Paul J Collins
sneakums at zork.net
Wed Mar 14 11:57:24 GMT 2001
>>>>> "JMD" == John Mc Donald <johnmcd at cs.may.ie> writes:
JMD> I want to use ssh to forward X11 connections from a Linux
JMD> box. When I ssh to the box the DISPLAY variable is not
JMD> set. Is there a way of having this automagically set itself
JMD> to the remote machines DISPLAY?
I just tried ssh -X to a Debian box from a Solaris box, and DISPLAY
was correctly set to localhost:10.0, which will forward to the X
server on the Solaris end.
Did you give the -X option? I think you also need to enable X11
forwarding on the server side ("X11Forwarding yes").
"Pity has no place at my table."
-- Dr Hannibal Lecter
More information about the ILUG