[CONT] Xlib: No protocol specified (connection refused by server)

Wout de Jong hello@woutdejong.com
Fri May 24 13:04:00 GMT 2002


Hi,

I've a similar problem to the one described below. 

Using " ssh -X -l wout 10.0.0.2 " on a suse linux 7.1 host and then starting an xterm&, doesn't show a xterm window on the X server host (win2k). 


Other test I did when logged in via putty ssh client:
"
wout@sapwas:~ > xterm -display 10.0.0.4:0
Xlib: connection to "10.0.0.4:0.0" refused by server
Xlib: No protocol specified

xterm Xt error: Can't open display: 10.0.0.4:0

"
The above does work with the xwinpro 5.3 server. 



Any help much appreciated.

-- 

Greetz, Wout

mailto:hello@woutdejong.com
http://www.woutdejong.com



I hadn't been and I was really hoping that would fix it. It
certainly would be a problem, because I hadn't done the
xhost.

However, I followed the instructions there and still get the
same result:

  Xlib: connection to "x.y.z.t:0.0" refused by server
  Xlib: No protocol specified
  Error: Can't open display: x.y.z.t:0.0

Wait! I just followed the SSH instructions and it said it
was making a .Xauthority file and that worked. (Now that I
think of it, I was logging in with SSH but then following
the telnet instructions, e.g., setting the DISPLAY by hand).

I feel really bad that this was all my fault for not
following the directions. Thank you so much for your help.

If someone wants to put that error message in the FAQ, that
might be nice. (Although, if I'm the only one who ran into
it, I guess it's not that 'frequent'.)

Thanks again for the help!

> Were you following the instructions at:
>
> http://xfree86.cygwin.com/docs/ug/using-remote-apps.html
>
>
> If not, follow them and see what happens.
>
> Harold



More information about the Cygwin-xfree mailing list