Propagating $DISPLAY through rlogin ....

From: Thomas Leitner <tom_at_finwds01.tu-graz.ac.at>
Date: Tue, 25 Nov 1997 16:45:46 +0100 (MET)

Hi,

Short question: When I telnet from my alpha to a sun (and to other
alphas as well), the local DISPLAY environment variable is already
properly set on the remote machine. telnet/telnetd apparently convey
certain enviroment variables to remote logins.

This is not the case for rlogin/rlogind. When I rlogin to another
machine, the DISPLAY variable is *not* set. Is there any way to
achieve this?

It is easy as long as: localhost == X server then I can just
set the remote DISPLAY variable to "locahost:0" in the login script.
But if I have an X-Terminal, there is "localhost" != "X server" and
when I set DISPLAY to localhost:0, the console of the respective local
machine gets the window rather than the X-terminal. (Hope I made
clear what I mean :-)

Thanks for any thoughts -- Tom

--------------------------------------------------------------------------
T o m L e i t n e r Dept. of Communications
                                            Graz University of Technology,
e-mail : tom_at_finwds01.tu-graz.ac.at Inffeldgasse 12
Phone : +43-316-873-7455 A-8010 Graz / Austria / Europe
Fax : +43-316-463-697
Home page : http://wiis.tu-graz.ac.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send
mail with subject "get Thomas Leitner" to pgp-public-keys_at_keys.pgp.net
--------------------------------------------------------------------------
    Before we have the paperless office, we have the paperless toilet!
Received on Tue Nov 25 1997 - 17:10:41 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT