Cannot connect to a Sun server using xterm

Alexander Gottwald
Mon May 2 14:28:00 GMT 2005

On Mon, 2 May 2005, a12 wrote:

> Hi,
> When I enter in the PC window:
> ssh -Y userid@sun-host
> I get a request for password, and I am logged into the Sun host.
> Then I start the graphical application in the Sun host, and I get the 
> following error message:
> X11 connection rejected because of wrong authentication.
> X connection to localhost:10.0 broken (explicit kill or server shutdown).
> So I checked the DISPLAY variable, and as it was set to 
> 'localhost:10.0', I changed it to 'a.b.c.d:10.0', and restarted the 
> application in the Sun host.

Guess what? localhost:10.0 was all right and a.b.c.d:10.0 is wrong. 

There may be some older authentication info left. 
Maybe this helps:
$ xauth del localhost:10.0 

--           ICQ: 126018723

More information about the Cygwin-xfree mailing list