* SUMMARY (intermediate): XWindow i/o redirect, DISPLAY variable is wrong
@ 2002-02-28 15:21 Thomas Voegeli
0 siblings, 0 replies; only message in thread
From: Thomas Voegeli @ 2002-02-28 15:21 UTC (permalink / raw)
To: tru64-unix-managers
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.
"who am i" did still show funny results
2. Reboot of host3.yyyy.zz
"who am i" now shows correct results
DISPLAY is different to the situation before, but still incorrect.
3. Grep for DISPLAY in .profile, .cshrc, and /etc/profile on host3.
Had a look at the files at $HOME on host3.
Could not find DISPLAY at any of these files.
4. Placed the line
setenv DISPLAY `who -mM | sed -e 's/^.*(//;s/).*$//;s/^:.0$//'`:0
at the .login file
5. I did telnet from a unix-host to host3.yyyy.zz and now DISPLAY is correct!
I then tried it from my-PC (using Reflection) DISPLAY is still wrong (same
situation as described on top). Reason?.
There was a proposal to use ssh instead of telnet. I'l try this an summaryze it later.
Thanks to Bob Vickers, Chris Ruhnke, John Losey, Pat O'Brien
Thomas Voegeli
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-02-28 15:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-28 15:21 SUMMARY (intermediate): XWindow i/o redirect, DISPLAY variable is wrong Thomas Voegeli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox