xterm -display remote:0.0 Can't open display - xterm from tru64 to debian 3.1
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am trying to initiate a remote xterm from a Tru64 Digital Unix 5.0 machine to a HP thin client running debian 3.1 and are getting 'Can't Open display'.
I have rsh and rlogin setup and logging in without passwords with the same user and password on both machines (Had to add hosts to /etc/hosts.equiv to allow this).
I have a hostname for the thin client on the digital unix box called 'HPTC' which pings and is correct.
I have added the Tru64 box in xhost on the HP client by xhost +tru64 and have also tried opening full access to the xserver with xhost +
If I try this command from the digital unix box;
xterm -display HPTC:0.0
I get
Error: Can't open display:0.0
Unfortunately I get no messages appearing in /var/log/messages to give me any indication of what is wrong. I also can't find any useful log messages on the Tru64 machine in /var/adm
Can anyone suggest why my xterm is getting refused or other means of troubleshooting further?
...
If I try this command from the digital unix box;
xterm -display HPTC:0.0
I get
Error: Can't open display:0.0
...
Can anyone suggest why my xterm is getting refused or other means of troubleshooting further?
Did you check the man page of xauth?
It depends how your X server is set up, esp. the selected authentication. Most of times this will be MIT-MAGIC-COOKIE-1, so the contents of the xauth man page might help you.
I have tried extracting and merging the magic cookie of the Thin client's xserver into the xauth of the unix machine exporting the display. The error message still doesn't change.
I don't think its an authentication problem from what I have read since I'm still getting 'Cant open display'. If it were an authentication problem I would expect to get errors along the lines of
Xlib: connection to "glenlivet.mfcf.uwaterloo.ca:0.0" refused by server
Xlib: Client is not authorized to connect to Server
X11 Toolkit Error : Can't open display: glenlivet.mfcf.uwaterloo.ca:0.0
Bailing out!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.