<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:matthieu.herrb@laas.fr" title="Matthieu Herrb <matthieu.herrb@laas.fr>"> <span class="fn">Matthieu Herrb</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - xcb_get_auth_info fails even if getpeername() succeeds"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=55680">bug 55680</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - xcb_get_auth_info fails even if getpeername() succeeds"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=55680#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - xcb_get_auth_info fails even if getpeername() succeeds"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=55680">bug 55680</a>
              from <span class="vcard"><a class="email" href="mailto:matthieu.herrb@laas.fr" title="Matthieu Herrb <matthieu.herrb@laas.fr>"> <span class="fn">Matthieu Herrb</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=55680#c1">comment #1</a>)
<span class="quote">> 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.</span >


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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>