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
Specs
Display Manager: lightdm 1.30.0
Desktop Environment: gnome 3.36.3
Problem/Background
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.
Originally I thought the problem was lightdm
but it turns out if I switch to gdm3
I have the same problem except instead of seeing the walpaper and mouse I just have a black screen. I am now convinced the problem lies in the GNOME DE
Attempts
(when I thought the problem was lightdm
)
- Installation of
haveged
- Disabling of the
lightdm.service
andstartx
ing (however I was never able to even successfully disable the service) - Disabling of gnome extensions
- Installation/use of
gdm3
Logs
/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
$HOME/.xsession-errors
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XAUTHORITY=/home/sterlingbutters/.Xauthority
dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
dbus-update-activation-environment: setting XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
dbus-update-activation-environment: setting GTK_IM_MODULE=ibus
dbus-update-activation-environment: setting DERBY_HOME=/usr/lib/jvm/java-8-oracle/db
dbus-update-activation-environment: setting LANGUAGE=en_US
dbus-update-activation-environment: setting QT4_IM_MODULE=ibus
dbus-update-activation-environment: setting MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
dbus-update-activation-environment: setting JAVA_HOME=/usr/lib/jvm/java-8-oracle
dbus-update-activation-environment: setting XMODIFIERS=@im=ibus
dbus-update-activation-environment: setting DESKTOP_SESSION=ubuntu
dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
dbus-update-activation-environment: setting PWD=/home/sterlingbutters
dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=ubuntu
dbus-update-activation-environment: setting LOGNAME=sterlingbutters
dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11
dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
dbus-update-activation-environment: setting XAUTHORITY=/home/sterlingbutters/.Xauthority
dbus-update-activation-environment: setting J2REDIR=/usr/lib/jvm/java-8-oracle/jre
dbus-update-activation-environment: setting XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/sterlingbutters
dbus-update-activation-environment: setting GDM_LANG=en_US
dbus-update-activation-environment: setting HOME=/home/sterlingbutters
dbus-update-activation-environment: setting IM_CONFIG_PHASE=1
dbus-update-activation-environment: setting LANG=en_US.UTF-8
dbus-update-activation-environment: setting XDG_CURRENT_DESKTOP=ubuntu:GNOME
dbus-update-activation-environment: setting XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
dbus-update-activation-environment: setting CLUTTER_IM_MODULE=ibus
dbus-update-activation-environment: setting XDG_SESSION_CLASS=user
dbus-update-activation-environment: setting DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
dbus-update-activation-environment: setting J2SDKDIR=/usr/lib/jvm/java-8-oracle
dbus-update-activation-environment: setting USER=sterlingbutters
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting SHLVL=1
dbus-update-activation-environment: setting QT_IM_MODULE=ibus
dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1000
dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop
dbus-update-activation-environment: setting PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin
dbus-update-activation-environment: setting GDMSESSION=ubuntu
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting _=/usr/bin/dbus-update-activation-environment
journalctl SYSLOG_IDENTIFIER=gnome-session-binary
-- Logs begin at Tue 2020-08-25 10:14:16 MDT, end at Tue 2020-08-25 10:25:01 MDT. --
Aug 25 10:15:20 butters-ubuntu gnome-session-binary[2955]: Entering running state
Aug 25 10:15:49 butters-ubuntu gnome-session-binary[3947]: WARNING: Could not parse desktop file nautilus-autostart.desktop or it references a not found TryExec binary
Aug 25 10:15:50 butters-ubuntu gnome-session-binary[3947]: WARNING: Could not parse desktop file gnome-user-share-webdav.desktop or it references a not found TryExec binary
Aug 25 10:15:50 butters-ubuntu gnome-session-binary[3947]: WARNING: Could not parse desktop file gnome-user-share-obexpush.desktop or it references a not found TryExec binary
Aug 25 10:15:50 butters-ubuntu gnome-session-binary[3947]: WARNING: Could not parse desktop file blueman.desktop or it references a not found TryExec binary
Aug 25 10:16:16 butters-ubuntu gnome-session-binary[3947]: Entering running state
https://answers.launchpad.net/ubuntu/+question/692486