SUMMARY (final): XWindow i/o redirect, DISPLAY variable is wrong

From: Thomas Voegeli <tv.pop_at_zuvrz.unizh.ch>
Date: Thu, 28 Mar 2002 14:55:15 +0100

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
Received on Thu Mar 28 2002 - 13:55:35 NZST

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