public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* XCloseDisplay + XOpenDisplay fails
@ 2009-07-10 8:42 Reini Urban
2009-07-11 16:35 ` Jon TURNEY
0 siblings, 1 reply; 2+ messages in thread
From: Reini Urban @ 2009-07-10 8:42 UTC (permalink / raw)
To: cygwin-xfree
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.
xorg-server-1.6.2-1 Release: 1.6.2.0 (20090707)
libX11-devel-1.2.1-1
clisp might be challenging, so I rather want confirmations from the
xserver side before I post details.
--
Reini Urban
http://phpwiki.org/ http://murbreak.at/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: XCloseDisplay + XOpenDisplay fails
2009-07-10 8:42 XCloseDisplay + XOpenDisplay fails Reini Urban
@ 2009-07-11 16:35 ` Jon TURNEY
0 siblings, 0 replies; 2+ messages in thread
From: Jon TURNEY @ 2009-07-11 16:35 UTC (permalink / raw)
To: cygwin-xfree; +Cc: rurban
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 [1] (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: 1.6.2.0 (20090707)
> libX11-devel-1.2.1-1
>
> clisp might be challenging, so I rather want confirmations from the
> xserver side before I post details.
[1] http://cygwin.com/ml/cygwin-xfree/2009-07/msg00016.html
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-11 16:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-10 8:42 XCloseDisplay + XOpenDisplay fails Reini Urban
2009-07-11 16:35 ` Jon TURNEY
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).