Cannot connect to a Sun server using xterm

a12 a12@swipnet.se
Tue May 3 14:10:00 GMT 2005


Hello again,

I have no .Xauthority in $HOME in my PC.

I logged into the Sun host using:
ssh -Y userid@sunhost
removed .Xauthority in $HOME there, logged out & logged in again.
When I started the graphical application in the Sun host, I received the 
following error:
*** OI_init: Error, cannot connect to X server
ntc: couldn't open a connection to a X server

So, I checked that there still is no .Xauthority in $HOME in the Sun 
host, logged out, and logged in using:
$ DISPLAY=:0.0 ssh -Y neat@borsen1
and I received the following message:
Warning: No xauth data; using fake authentication data for X11 forwarding.
Last login: Tue May  3 15:54:34 2005 from 131.115.36.154
/usr/openwin/bin/xauth:  creating new authority file 
/export/home/neat/.Xauthority
When I started the graphical application, I received the following message:
connect /tmp/.X11-unix/X0: No such file or directory
X connection to localhost:10.0 broken (explicit kill or server shutdown).

What about this message ?

Regards,

Marek

Alexander Gottwald wrote:

>On Tue, 3 May 2005, a12 wrote:
>
>
>>Hello again,
>>
>>I logged into sun host again, and entered:
>>xauth remove localhost:10.0   [not del]
>>Then I started the graphical application, and I still get the following 
>>error:
>>X11 connection rejected because of wrong authentication.
>>X connection to localhost:10.0 broken (explicit kill or server shutdown).
>>
>>Any hints ?
>>
>
>Maybe you have to remove $HOME/.Xauthority on windows and unix side. 
>I've not seen the message for some time now and can't tell which side 
>has the wrong credentials.
>
>Maybe DISPLAY=:0.0 ssh ... helps (instead of DISPLAY=localhost:0.0)
>
>bye
>	ago
>



More information about the Cygwin-xfree mailing list