Bounty: 100
EDIT: This was my first bounty question… I thought the bounty would frame my description like it did in the prompt. THIS PROBLEM IS NOT RESOLVED – instead I was indicating what the problem resolution would look like
I use lightdm
as my DM because I think gdm3
is pretty ugly. Unfortunately though, I have had this issue for a long time where, once I login, all I can see (for at least a minute) is the wallpaper and mouse. Eventually the rest of the desktop environment is loaded and everything is good to go. If I log out and back in, I don’t have the same issue I do at startup.
I have tried many things including installation of haveged
and also trying to disable the lightdm.service
and startx
ing (however I was never able to even successfully disable the service). I also read somewhere that it might not actually be lightdm
but rather accountsservice
that is the source of the problem. And in fact I can see some authentication warnings in the journalctl
. Looking at the lightdm
log, there don’t appear to be any significant gaps in the log entry timestamps like people who have posted in other forums.
Has anyone had this problem (or know a solution)? Could it be a conflict between GNOME
and lightdm
?
/var/log/lightdm/lightdm.log
[+0.04s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.04s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=1745
[+0.04s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.04s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf
[+0.04s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-log-backup.conf
[+0.04s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.04s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.04s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
[+0.04s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
[+0.04s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.04s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/90-nvidia.conf
[+0.04s] DEBUG: [SeatDefaults] is now called [Seat:*], please update this configuration
[+0.04s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.04s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.04s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.04s] DEBUG: Registered seat module local
[+0.04s] DEBUG: Registered seat module xremote
[+0.04s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.05s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.05s] DEBUG: Monitoring logind for seats
[+0.05s] DEBUG: New seat added from logind: seat0
[+0.05s] WARNING: Seat type 'xlocal' is deprecated, use 'type=local' instead
[+0.05s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.05s] DEBUG: Seat seat0: Starting
[+0.05s] DEBUG: Seat seat0: Creating greeter session
[+1.07s] DEBUG: Seat seat0: Creating display server of type x
[+1.07s] DEBUG: posix_spawn avoided (fd close requested)
[+1.07s] DEBUG: posix_spawn avoided (fd close requested)
[+1.07s] DEBUG: Seat seat0: Plymouth is running on VT 1, but this is less than the configured minimum of 7 so not replacing it
[+1.07s] DEBUG: Quitting Plymouth
[+1.07s] DEBUG: posix_spawn avoided (fd close requested)
[+1.10s] DEBUG: Using VT 7
[+1.10s] DEBUG: Seat seat0: Starting local X display on VT 7
[+1.10s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+1.10s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/root/:0
[+1.10s] DEBUG: XServer 0: Launching X Server
[+1.10s] DEBUG: Launching process 1825: /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+1.10s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+1.10s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+1.10s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+7.98s] DEBUG: Loading users from org.freedesktop.Accounts
[+7.98s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+12.41s] DEBUG: posix_spawn avoided (automatic reaping requested) (fd close requested)
[+13.88s] DEBUG: Got signal 10 from process 1825
[+13.88s] DEBUG: XServer 0: Got signal from X server :0
[+13.88s] DEBUG: XServer 0: Connecting to XServer :0
[+13.88s] DEBUG: Launching process 2327: /sbin/prime-offload
[+13.91s] DEBUG: Process 2327 exited with return value 0
[+13.91s] DEBUG: Seat seat0: Exit status of /sbin/prime-offload: 0
[+13.91s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+13.92s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+13.92s] DEBUG: Session pid=2334: Started with service 'lightdm-greeter', username 'lightdm'
[+14.98s] DEBUG: Session pid=2334: Authentication complete with return value 0: Success
[+14.98s] DEBUG: Seat seat0: Session authenticated, running command
[+14.98s] DEBUG: Session pid=2334: Running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
[+14.98s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+14.98s] DEBUG: Session pid=2334: Logging to /var/log/lightdm/seat0-greeter.log
[+17.03s] DEBUG: Activating VT 7
[+17.03s] DEBUG: Activating login1 session c1
[+17.04s] DEBUG: Seat seat0 changes active session to c1
[+17.04s] DEBUG: Session c1 is already active
[+22.75s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+24.81s] DEBUG: User /org/freedesktop/Accounts/User129 added
[+31.51s] DEBUG: Greeter start authentication for sterlingbutters
[+31.51s] DEBUG: Session pid=2728: Started with service 'lightdm', username 'sterlingbutters'
[+31.59s] DEBUG: Session pid=2728: Got 1 message(s) from PAM
[+31.59s] DEBUG: Prompt greeter with 1 message(s)
[+35.66s] DEBUG: Continue authentication
[+35.68s] DEBUG: Session pid=2728: Authentication complete with return value 0: Success
[+35.68s] DEBUG: Authenticate result for user sterlingbutters: Success
[+35.68s] DEBUG: User sterlingbutters authorized
[+35.74s] DEBUG: Greeter requests session ubuntu
[+35.76s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+35.76s] DEBUG: Terminating login1 session c1
[+35.77s] DEBUG: Session pid=2334: Sending SIGTERM
[+35.77s] DEBUG: Session pid=2334: Exited with return value 0
[+35.77s] DEBUG: Seat seat0: Session stopped
[+35.77s] DEBUG: Seat seat0: Greeter stopped, running session
[+35.77s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+35.77s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+35.77s] DEBUG: Session pid=2728: Running command /usr/sbin/lightdm-session env GNOME_SHELL_SESSION_MODE=ubuntu /usr/bin/gnome-session --systemd --session=ubuntu
[+35.77s] DEBUG: Creating shared data directory /var/lib/lightdm-data/sterlingbutters
[+35.77s] DEBUG: Session pid=2728: Logging to .xsession-errors
[+36.13s] DEBUG: Activating VT 7
[+36.13s] DEBUG: Activating login1 session c2
[+36.13s] DEBUG: Seat seat0 changes active session to c2
[+36.13s] DEBUG: Session c2 is already active
~$ sudo journalctl -u lightdm
Aug 20 08:20:10 butters-ubuntu systemd[1]: Starting Light Display Manager...
Aug 20 08:20:13 butters-ubuntu lightdm[1745]: Seat type 'xlocal' is deprecated, use 'type=local' instead
Aug 20 08:20:15 butters-ubuntu systemd[1]: Started Light Display Manager.
Aug 20 08:20:28 butters-ubuntu lightdm[2334]: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory
Aug 20 08:20:28 butters-ubuntu lightdm[2334]: PAM adding faulty module: pam_kwallet.so
Aug 20 08:20:28 butters-ubuntu lightdm[2334]: PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot open shared object file: No such file or directory
Aug 20 08:20:28 butters-ubuntu lightdm[2334]: PAM adding faulty module: pam_kwallet5.so
Aug 20 08:20:29 butters-ubuntu lightdm[2334]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
Aug 20 08:20:45 butters-ubuntu lightdm[2728]: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory
Aug 20 08:20:45 butters-ubuntu lightdm[2728]: PAM adding faulty module: pam_kwallet.so
Aug 20 08:20:45 butters-ubuntu lightdm[2728]: PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot open shared object file: No such file or directory
Aug 20 08:20:45 butters-ubuntu lightdm[2728]: PAM adding faulty module: pam_kwallet5.so
Aug 20 08:20:45 butters-ubuntu lightdm[2728]: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "sterlingbutters"
Aug 20 08:20:45 butters-ubuntu lightdm[2728]: pam_unix(lightdm:auth): Couldn't open /etc/securetty: No such file or directory
Aug 20 08:20:49 butters-ubuntu lightdm[2728]: pam_unix(lightdm:auth): Couldn't open /etc/securetty: No such file or directory
Aug 20 08:20:49 butters-ubuntu lightdm[2728]: gkr-pam: unable to locate daemon control file
Aug 20 08:20:49 butters-ubuntu lightdm[2728]: gkr-pam: stashed password to try later in open session
Aug 20 08:20:49 butters-ubuntu lightdm[2728]: pam_unix(lightdm:session): session opened for user sterlingbutters by (uid=0)
Aug 20 08:20:50 butters-ubuntu lightdm[2728]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
https://answers.launchpad.net/ubuntu/+question/692486