From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653731622911.tru64-unix-managers.marc@archive.invalid> From: Thomas Voegeli Date: Thu, 28 Mar 2002 13:55:15 +0000 To: tru64-unix-managers Subject: SUMMARY (final): XWindow i/o redirect, DISPLAY variable is wrong X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653731622911 Hello, the problem was: I run Reflection on my-PC.yyyy.zz and have a XDMCP connection to myhost.yyyy.zz. Then I telnet from myhost.yyyy.zz to host2.yyyy.zz. Now the DISPLAY variable shows my-PC.yyyy.zz:0.0. So far everyting is correct, but if I telnet from myhost.yyyy.zz to host3.yyyy.zz (instead of host2) the DISPLAY variable is set to myhost.yyyy.zz and I have to correct it. I compared many "." files on host2 and on host3 but could not find any significant difference. Solution: 1. On host3.yyyy.zz I corrected a DNS (bind) problem. 2. Reboot of host3.yyyy.zz 3. Grep for DISPLAY in .profile, .cshrc, /etc/profile and /etc/csh.login on host3 4. Found a line that modified DISPLAY at the file /etc/csh.login and removed it from the file. 5. I had a look at the files at $HOME on host3. Now I can telnet from a unix-host to host3.yyyy.zz and DISPLAY is correct! There was a proposal to use ssh instead of telnet. I tried this and DISPLAY was/is always correct. Thanks to Bob Vickers, Chris Ruhnke, John Losey, Pat O'Brien, Koni Struebi Thomas Voegeli