[ILUG] Automatically setting DISPLAY

Dave Airlie airlied at csn.ul.ie
Wed Mar 14 11:50:01 GMT 2001


if you have a DISPLAY variable set to somewhere sane when you ssh and X
forwarding is on your session on the other end should get a DISPLAY
variable of remotemachine:11 or something like that ..

Dave.

On Wed, 14 Mar 2001, John Mc Donald wrote:

> I want to use ssh to forward X11 connections from a Linux box. When I
> ssh to the
> box the DISPLAY variable is not set. Is there a way of having this
> automagically
> set itself to the remote machines DISPLAY?
>
> I know Solaris does it (but I'm not sure how! :-)
>
> Thanks,
> John.
>
> --
> ==================================
> "There are 3 kind of mathematicians: those who can count and those who
> can't"
>
> John Mc Donald,
> Dept. of Computer Science,
> National University of Ireland,
> Maynooth,
> Co. Kildare,
> Ireland.
>
> Email : johnmcd at cs.may.ie
> Phone : +353 -1 - 7084589
> Fax : +353 -1 - 7083848
> http://www.cs.may.ie/~johnmcd
> ==================================
>
>
>
>

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DecStation / Linux VAX / ILUG person






More information about the ILUG mailing list