LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   xterm -display remote:0.0 Can't open display - xterm from tru64 to debian 3.1 (http://www.linuxquestions.org/questions/linux-software-2/xterm-display-remote-0-0-cant-open-display-xterm-from-tru64-to-debian-3-1-a-632079/)

loopy69 04-01-2008 12:48 AM

xterm -display remote:0.0 Can't open display - xterm from tru64 to debian 3.1
 
Hi,

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?

Many thanks,
Brett

fietze 04-01-2008 02:09 AM

Quote:

Originally Posted by loopy69 (Post 3106698)
...
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.

loopy69 04-01-2008 07:54 PM

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!

I got this info from http://www.math.uwaterloo.ca/mfcf/fa...rm_display.faq

Im still battling on; any ideas would be greatly appreciated!


All times are GMT -5. The time now is 08:21 AM.