[LightDM] Building on XStreamOS/illumos
Gabriele Bulfon
gabriele.bulfon at sonicle.com
Mon Apr 7 02:20:14 PDT 2014
Thanks Robert, I already solved this: it was not a SIGUSR1 problem, but just had to upgrade
glib to latest, and then it worked like a charm ;)
Da:
Robert Ancell
A:
Gabriele Bulfon
Cc:
LightDM Mailing List
Guido Berhoerster
Data:
7 aprile 2014 3.44.08 CEST
Oggetto:
Re: [LightDM] Building on XStreamOS/illumos
On 29 March 2014 04:47, Gabriele Bulfon
gabriele.bulfon at sonicle.com
wrote:
The problem here, I think is not yet about pam. It's not even arrived at pam calls yet.
LightDM just sits waiting for a SIGUSR1 from X never arriving....
I compared the code from lxdm (currently working, even pam), and I found this in lxdm, just
after spawing X:
g_message("add xserver watch\n");
for( i = 0; i
{
if(lxcom_last_sig==SIGINT || lxcom_last_sig==SIGTERM)
break;
if((s-dpy=xconn_open(display))!=NULL)
break;
g_usleep(50 * 1000);
//g_message("retry %d\n",i);
}
looks like a loop to check for a signal different from SIGINT||SIGTERM, and trying to XOpenDisplay
for some time, until it works or give up.
Maybe this is a fallback for SIGUSR1 not coming in?
You could try lp:~robert-ancell/lightdm/xorg-displayfd - this is another method of checking if the X server is ready without using SIGUSR1. It requires Xorg 1.12.
--Robert
_______________________________________________LightDM mailing listLightDM at lists.freedesktop.orghttp://lists.freedesktop.org/mailman/listinfo/lightdm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20140407/f6b55e67/attachment.html>
More information about the LightDM
mailing list