VKontakte.DJ
forum traveling
 

Celestial Software

...better by design

Home Support SSH Client Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Need help with xterm display (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Need help with xterm display
#1914
Need help with xterm display 15 Years, 11 Months ago  
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.
cecilhawkins (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
Cecil Hawkins
 
The administrator has disabled public write access.  
#1915
Re: Need help with xterm display 15 Years, 11 Months ago  
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...
cecilhawkins (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
Cecil Hawkins
 
The administrator has disabled public write access.  
#2249
Re: Need help with xterm display 15 Years ago  
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.
bpence (Admin)
Admin
Posts: 1404
graph
User Offline Click here to see the profile of this user
Logged Logged  
 
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
 
The administrator has disabled public write access.  
Go to top