From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078619210682.tru64-unix-managers.marc@archive.invalid> From: Thomas Leitner Date: Tue, 25 Nov 1997 15:45:46 +0000 To: tru64-unix-managers Subject: Propagating $DISPLAY through rlogin .... X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078619210682 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@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@keys.pgp.net -------------------------------------------------------------------------- Before we have the paperless office, we have the paperless toilet!