delayed session startup
Olivier Fourdan
fourdan at gmail.com
Sat Jul 20 18:06:18 CEST 2019
Hi
On Sat, 20 Jul 2019 at 17:38, Olaf Hering <olaf at aepfle.de> wrote:
>
> A few weeks, or perhaps months, ago the session startup code was updated to use "priority groups". Since this time there are notable delays during fresh boot. I just checked the wall clock. It took about 16 seconds from visible X11 mouse cursor until the first app windoes from ~/.config/autostart appeared.
>
> I wonder if there is room to improve this. Does xfce4-session actually wait for events from the apps launched via xfce4-session.xml? How does it decide that the next priority group should be processed?
>
> Maybe xfce4 apps could send notifications back to xfce4-sessions that their own init process is done, so that xfce4-session could move on?
That's how I expected it to work as well, but my observation tend to
show not even the priority is respected, which is ... confusing and I
think is causing most of the pain we are experiencing with the races
at startup.
See https://bugzilla.xfce.org/show_bug.cgi?id=15712 and
https://bugzilla.xfce.org/show_bug.cgi?id=15725
There is something seriously fishy there...
Cheers,
Olivier
More information about the Xfce4-dev
mailing list