From: meissner@osf.org (Michael Meissner)
Subject: Re: Any script for setting the DISPLAY variable?
Date: 06 Oct 1994 18:37:34 GMT [thread overview]
Message-ID: <MEISSNER.94Oct6143734@pasta.osf.org> (raw)
In-Reply-To: mkl@rob.cs.tu-bs.de's message of 6 Oct 1994 13:30:15 GMT
In article <370u57$8a9@ra.ibr.cs.tu-bs.de> mkl@rob.cs.tu-bs.de (Mario Klebsch DG1AM) writes:
| Hello!
| news@bigdog.fred.net writes:
|
| >I rlogin to HP, DEC Alpha OSF1, Sun systems. I have had
| >some script in .login which would set the DISPLAY variable.
| >But it uses the 'whoami' command to find out from which
| >system I have logged in.
|
| It does not lead to a correct DISPLAY variable when you just figure
| out, from which host you logged in. The IMHO most easy way would be,
| if xterm had a query for the DISPLAY. But it does not. So option
| number two is to pass DISPLAY trough rlogin. This can be done by the
| following scripts. Someone told me, to pass the XAUTHORITY cookies
| as well, but I don't need it, because I share my home directory on all
| systems.
If your systems are using a modern version of telnet, telnet will pass the
DISPLAY variable through, modifing :<whatever> to <hostname>:<whatever>.
Note, if you are crossing domain's, most versions of telnet will not fully
qualify the domain name (ie, call gethostbyname after getting the hostname with
gethostname). I fixed this for the OSF/1 1.3 reference source that shipped
this last June. When/if it will show up in DEC's OSF/1, I haven't the
foggiest.
--
Michael Meissner email: meissner@osf.org phone: 617-621-8861
Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142
Old hackers never die, their bugs just increase.
next prev parent reply other threads:[~1994-10-06 18:37 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-09-22 14:13 Any script for setting the DISPLAY variable? news
1994-10-03 21:11 ` Ben Taylor
1994-10-04 16:16 ` Stefan Monnier
1994-10-05 18:05 ` John Vanderpool
1994-10-06 15:24 ` Yair Friedman
1994-10-08 14:07 ` Stefan Monnier
1994-10-05 15:49 ` Philip Shearer @ZUO-DC EBS-Team
1994-10-06 15:49 ` Sean J. Anaya
1994-10-07 15:50 ` Georges Dubus
1994-10-07 16:07 ` Q. Alex Zhao
1994-10-06 13:30 ` Mario Klebsch DG1AM
1994-10-06 18:37 ` Michael Meissner [this message]
1994-10-07 20:38 ` Greg Walker
1994-10-10 16:33 ` Mario Klebsch DG1AM
1994-10-13 14:07 ` Greg Walker
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox