[Xcb] [Bug 55680] xcb_get_auth_info fails even if getpeername() succeeds

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Oct 7 06:12:00 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=55680

Matthieu Herrb <matthieu.herrb at laas.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Matthieu Herrb <matthieu.herrb at laas.fr> ---
(In reply to comment #1)
> That patch looks wrong (and I am not talking about that tabulator).
> Effictively, it completely removes getsockname variable since now both cases
> set it to 1.
> 
> Could you tell us more about the issue that you are trying to fix? On Linux,
> getpeername() succeeds, too, and libxcb still works. Also, I am pretty sure
> that libxcb isn't broken since years on BSD and no one noticed.


My issue is running xdm using Xnest on display :1 (in order to test xdm session
related stuff), using 

:1 local /usr/X11R6/bin/Xnest :1

in /etx/X11/xdm/Xservers

In that mode, xrdb (used by the login widget) fails to connect to the X server
and end up with an ugly widget. Furthermore, the client session also fails to
connect. This used to work before xcb 1.8 (but I'm not sure  exactly when it
broke).

Now I see that my analysis of the issue is indeed wrong. My patch fixes it by
some kind of magic coincidence.
I'll dig further and reopen a bug later.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20121007/cb1975dd/attachment.html>


More information about the Xcb mailing list