XCloseDisplay + XOpenDisplay fails
Sat Jul 11 16:35:00 GMT 2009
On 10/07/2009 09:42, Reini Urban wrote:
> With the latest server and cygwin-1.7 my previous xlib test form clisp
> new-clx fail.
> XCloseDisplay() => okay
> but all subsequent XOpenDisplay() to the same display fail now with
> "No protocol specified".
> This worked before. I've also enabled IPV6, which might be related.
The "No protocol specified" message seems to be a bit obtuse. I looked into
it when it was reported here  (which of course I can't reproduce now :-( )
It comes back from the server when an attempt is made to open a connection,
and really means something like "No authorization method specified" - the
client didn't offer any authorization data and the peer address wasn't
available or wasn't on the host access list.
I'm afraid I don't know why it happens.
I assume you are starting the server using startx or otherwise providing an
-auth argument? A workaround might be to not to do that.
It might be informative to see if anything relevant is logged with '-audit 2'
> xorg-server-1.6.2-1 Release: 184.108.40.206 (20090707)
> clisp might be challenging, so I rather want confirmations from the
> xserver side before I post details.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin-xfree