Re: Slow initialization of something during boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 13, 2013 at 02:00:33PM -0400, Frank wrote:
> 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.
> 
> ///snip///
> 
> >>
> >>[frank@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
> >…
> >- lightdm 1.7.4
> >- lightdm-gtk 1.6.0
> 
> 
>     I have lightdm 1.6.0
>            lightdm-gtk 1.5.1-3
> YUM says they are the latest
> 
> >
> >alternatives --display lightdm-greeter
> 
> Tells me its ok.
> >grep -v '^#\|^$\|^\[' /etc/lightdm/lightdm.conf
> minimum-vt=1
> user-authority-in-system-dir=true
> xserver-command=X -background none
> greeter-session=lightdm-greeter
> session-wrapper=/etc/X11/xinit/Xsession
> 
> 
> >cat /var/log/lightdm/lightdm.log
> 
> [+0.01s] DEBUG: Logging to /var/log/lightdm/lightdm.log
> [+0.01s] DEBUG: Starting Light Display Manager 1.6.0, UID=0 PID=296
> [+0.01s] DEBUG: Loaded configuration from /etc/lightdm/lightdm.conf
> [+0.01s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
> [+0.01s] DEBUG: Registered seat module xlocal
> [+0.01s] DEBUG: Registered seat module xremote
> [+0.01s] DEBUG: Adding default seat
> [+0.01s] DEBUG: Starting seat
> [+0.01s] DEBUG: Starting new display for greeter
> [+0.01s] DEBUG: Starting local X display
> [+0.01s] DEBUG: Using VT 1
> [+0.01s] DEBUG: Logging to /var/log/lightdm/x-0.log
> [+0.03s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
> [+0.03s] DEBUG: Launching X Server
> [+0.03s] DEBUG: Launching process 306: /usr/bin/X -background none
> :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt1 -novtswitch
> [+0.03s] DEBUG: Waiting for ready signal from X server :0
> [+0.94s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
> [+0.94s] DEBUG: Registering seat with bus path
> /org/freedesktop/DisplayManager/Seat0
> [+1.39s] DEBUG: Got signal 10 from process 306
> [+1.39s] DEBUG: Got signal from X server :0
> [+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 ???

Dunno. Might it be waiting for a network to come up?

> 
> [+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
> [+19.18s] DEBUG: Greeter connected version=1.6.0
> [+19.18s] DEBUG: Greeter connected, display is ready
> [+19.18s] DEBUG: New display ready, switching to it
> [+19.18s] DEBUG: Activating VT 1
> [+19.89s] DEBUG: Greeter start authentication for frank
> [+19.89s] DEBUG: Started session 365 with service 'lightdm',
> username 'frank'
> [+19.91s] DEBUG: Session 365 got 1 message(s) from PAM
> [+19.91s] DEBUG: Prompt greeter with 1 message(s)
> [+30.51s] DEBUG: Continue authentication
> [+30.56s] DEBUG: Session 365 authentication complete with return
> value 0: Success
> [+30.56s] DEBUG: Authenticate result for user frank: Success
> [+30.57s] DEBUG: User frank authorized
> [+30.62s] DEBUG: Greeter requests session icewm
> [+30.62s] DEBUG: Using session icewm
> [+30.62s] DEBUG: Stopping greeter
> [+30.62s] DEBUG: Session 315: Sending SIGTERM
> [+30.62s] DEBUG: Greeter closed communication channel
> [+30.62s] DEBUG: Session 315 exited with return value 0
> [+30.62s] DEBUG: Greeter quit
> [+30.64s] DEBUG: Dropping privileges to uid 1000
> [+30.64s] DEBUG: Calling setresgid
> [+30.64s] DEBUG: Calling setresuid
> [+30.64s] DEBUG: Restoring privileges
> [+30.64s] DEBUG: Calling setresuid
> [+30.64s] DEBUG: Calling setresgid
> [+30.65s] DEBUG: Starting session icewm as user frank
> [+30.65s] DEBUG: Session 365 running command /etc/X11/xinit/Xsession
> icewm-session
> [+30.72s] DEBUG: Registering session with bus path
> /org/freedesktop/DisplayManager/Session0
> 
> 
> 
> >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
> ** (lightdm-gtk-greeter:334): WARNING **: Could not get accounts
> property XKeyboardLayouts
> ** (lightdm-gtk-greeter:334): WARNING **: Could not get accounts
> property XHasMessages
> (lightdm-gtk-greeter:334): GLib-CRITICAL **: g_variant_get_type:
> assertion `value != NULL' failed
> (lightdm-gtk-greeter:334): GLib-CRITICAL **:
> g_variant_type_is_subtype_of: assertion `g_variant_type_check
> (type)' failed
> (lightdm-gtk-greeter:334): GLib-CRITICAL **:
> g_variant_get_type_string: assertion `value != NULL' failed
> ** (lightdm-gtk-greeter:334): WARNING **: Unexpected accounts
> property type for XHasMessages: (null)
> (lightdm-gtk-greeter:334): GLib-CRITICAL **: g_variant_unref:
> assertion `value != NULL' failed
> ** (lightdm-gtk-greeter:334): WARNING **: Could not get accounts
> property XKeyboardLayouts
> ** (lightdm-gtk-greeter:334): WARNING **: Could not get accounts
> property XHasMessages
> (lightdm-gtk-greeter:334): GLib-CRITICAL **: g_variant_get_type:
> assertion `value != NULL' failed
> (lightdm-gtk-greeter:334): GLib-CRITICAL **:
> g_variant_type_is_subtype_of: assertion `g_variant_type_check
> (type)' failed
> (lightdm-gtk-greeter:334): GLib-CRITICAL **:
> g_variant_get_type_string: assertion `value != NULL' failed
> ** (lightdm-gtk-greeter:334): WARNING **: Unexpected accounts
> property type for XHasMessages: (null)
> (lightdm-gtk-greeter:334): GLib-CRITICAL **: g_variant_unref:
> assertion `value != NULL' failed
> 
> >
> >/boot/extlinux/extlinux.conf
> 
> No such file
> 
> >append … rd.dm=0 rd.luks=0 rd.lvm=0 rd.md=0
> >
> >/boot/grub2/grub.cfg
> >linux …	rd.dm=0 rd.luks=0 rd.lvm=0 rd.md=0
> 
>   Parameters already there
> 
> 
> >
> >man 7 dracut.cmdline
> 
> Didn't understand very much ( I'm a refugee from Debian)
> >man 1 systemctl
> >
> 
>   That I sort of understood :)
> 
>  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.
> 
> >
> >poma
> >
> >
> 
> -- 
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org

-- 
-------------------------------------------------------------------------------
 .----    Fred Smith   /              
( /__  ,__.   __   __ /  __   : /     
 /    /  /   /__) /  /  /__) .+'           Home: fredex@xxxxxxxxxxxxxxxxxxxxxx 
/    /  (__ (___ (__(_ (___ / :__                                 781-438-5471 
-------------------------------- Jude 1:24,25 ---------------------------------
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux