<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Arial",sans-serif;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">So if I follow the XOpenDisplay sequence up the stack I see xcb_connect() / _<i>xcb_open</i>_abstract( ) trying to open “/tmp/.X11-unix/X0” with protocol set to 0.   On one system
 it eventually calls select(), on another it uses poll() instead, so it is looking for a response.  Once in a while it takes over a minute to get a response.   Can anyone describe a general overview of what it is trying to open?  Any idea why the select/poll
 call hangs so long?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Stack example:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Courier New"">#0  0xffffe424 in __kernel_vsyscall ()<br>
#1  0xb6ad657d in select () from /lib/i686/libc.so.6<br>
#2  0xb68997fc in ?? () from /usr/lib/libxcb.so.1<br>
#3  0xb68985db in xcb_connect_to_fd () from /usr/lib/libxcb.so.1<br>
#4  0xb689b6cd in xcb_connect () from /usr/lib/libxcb.so.1<br>
#5  0xb7004b9b in _XConnectXCB () from /usr/lib/libX11.so.6<br>
#6  0xb6fe5f10 in XOpenDisplay () from /usr/lib/libX11.so.6<br>
#7  0x0805f463 in main ()<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">/ Alan K.<o:p></o:p></span></p>
</div>
<font color="#bababa"><span style="FONT-SIZE: 8pt">---<br>This communication contains confidential information. If you are not the intended recipient please return this email to the sender and delete it from your records.<br><span style="FONT-FAMILY: Arial"><font color="#bababa"><span style="FONT-SIZE: 8pt"><br><span style="FONT-FAMILY: Arial"><font color="#bababa"><span style="FONT-SIZE: 8pt">Diese Nachricht enthaelt vertrauliche Informationen. Sollten Sie nicht der beabsichtigte Empfaenger dieser E-mail sein, senden Sie bitte diese an den Absender zurueck und loeschen Sie die E-mail aus Ihrem System.</span></font></span></span></font></span></span></font></body>
</html>