Slow initialization of something during boot

poma pomidorabelisima at gmail.com
Tue Aug 13 21:28:30 UTC 2013


Dana 13.08.2013 20:00, Frank je napisao:
> On 08/13/2013 01:24 PM, poma wrote:
>> On 13.08.2013 18:49, Frank wrote:
>>> Since I made the switch to a 64 bit machine (still using 32 bit Fedora
>>> 19) there is a long delay just before lightdm comes up with the login
>>> screen.
> 
…

>>> [frank at localhost ~]$ sudo systemd-analyze blame
>>>           19.698s NetworkManager.service
>>>           19.597s accounts-daemon.service
>>>           18.723s chronyd.service
>>>           18.567s lightdm.service
>>>>
>>             638ms NetworkManager.service
>>             135ms avahi-daemon.service
>>             127ms lightdm.service
…

>> cat /var/log/lightdm/lightdm.log
> 
…

> [+1.39s] DEBUG: Connecting to XServer :0
> [+1.39s] DEBUG: Starting greeter
> [+1.39s] DEBUG: Started session 315 with service 'lightdm-greeter',
> username 'lightdm'
> 
> What is going on here ???
> 
> [+18.87s] DEBUG: Session 315 authentication complete with return value
> 0: Success
> [+18.87s] DEBUG: Greeter authorized
> [+18.87s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
> [+18.87s] DEBUG: Session 315 running command /usr/sbin/lightdm-gtk-greeter
>
…

>> grep -v ^$ /var/log/lightdm/x-0-greeter.log
> ** (process:315): WARNING **: Failed to open CK session:
> GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.freedesktop.ConsoleKit was not provided by any .service files
> ** (lightdm-gtk-greeter:334): WARNING **: Failed to load user image:
> Failed to open file '/home/frank/.face': No such file or directory
> 
…
>  Any comments...other than why lightdm starting session 315 takes 17
> seconds before it returns ??
> I am used to seeing similar GTK errors in my .xsessions log.
> Much of this is beyond me.
> 

I installed
- lightdm-1.6.0-10.fc19.x86_64
- lightdm-gtk-1.5.1-3.fc19.x86_64
- icewm-1.3.7-9.fc19.x86_64
- ConsoleKit-0.4.5-5.fc19.x86_64
- ConsoleKit-x11-0.4.5-5.fc19.x86_64
- ConsoleKit-libs-0.4.5-5.fc19.x86_64

- rm /usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service
- rm /var/lib/AccountsService/users/$USER
  to produce the following warnings within /var/log/lightdm/x-0-greeter.log:
** (process:3229): WARNING **: Failed to open CK session:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.ConsoleKit was not provided by any .service files
** (lightdm-gtk-greeter:3231): WARNING **: Failed to load user image:
Failed to open file '/home/$USER/.face': Permission denied
…
  which are more or less the same as in your readings.

However didn't manage to produce a lag you mentioned and startup is even
faster,
            99ms lightdm.service

What can I say. :)
Take into account that you are using 32-bits which can be problematic in
some cases comparing with a lot more tested 64-bits.
This doesn't have to be exactly the case, but.
I recommend that you begin to sing
http://www.youtube.com/watch?v=qAzqSYQ9X9U :)


poma



More information about the users mailing list