Our unix guy recently disabled telnet in our lab in favor of ssh - and I need to get my xWindow application (Netbackup GUI) working again. In telnet I'd just export my DISPLAY (local IP), start eXceed on my desktop, and run the app. With ssh this doesn't work, I get this:
"Can't connect to X11 window server using '149.63.89.184:0' as the value of the DISPLAY variable."
or this from xterm:
"xterm Xt error: Can't open display: %s"
Can you help me figure this out?
Thanks.
Found my answer. For anyone interested, what I had to do was:
export XAUTHORITY=/home/oracle/.Xauthority
xauth list
export DISPLAY=server:12
The tricky part is figuring out which server display in the list is current. I think there is an xauth add necessary, but that was done by our systems guy some time ago and I don't have those details...
The DISPLAY variable should be set automatically by the ssh server when the ssh session is established. Each time you login in could be different. You may be accidentally overwriting it in your login scripts.
The XAUTHORITY line is not strictly necessary unless you're using a non-standard location for the xauthority file.