You are not logged in.

#1 2025-03-20 07:34:55

FairySunny
Member
Registered: 2025-03-20
Posts: 1

Gnome Shell (Wayland) stucks for 20s after logging in

After I login from GDM to Gnome Shell (Wayland), it stucks for 20 seconds. During the 20 seconds, some applications (e.g. Chromium, Files (Nautilus), Settings (gnome-control-center)) do not start, the audio icon on the top bar does not show up, and applications do not have sound.

I compare the journal before and after the issue appears (the issue appears after an update) and it seems that gsd-settings is causing the issue (gsd-xsettings[1744]: Connection failure: Timeout).

This is part of the journal before the update:

Mar 17 15:51:53 laptop-arch systemd[1]: Stopping User Manager for UID 120...
Mar 17 15:51:53 laptop-arch systemd[657]: Activating special unit Exit the Session...
Mar 17 15:51:53 laptop-arch systemd[657]: Stopped target Main User Target.
Mar 17 15:51:53 laptop-arch systemd[657]: Stopping GNOME Keyring daemon...
Mar 17 15:51:53 laptop-arch systemd[657]: Stopping Sound Service...
Mar 17 15:51:53 laptop-arch wireplumber[974]: wireplumber: stopped by signal: Terminated
Mar 17 15:51:53 laptop-arch systemd[657]: Stopping Multimedia Service Session Manager...
Mar 17 15:51:53 laptop-arch systemd[657]: Stopping sandboxed app permission store...
Mar 17 15:51:53 laptop-arch wireplumber[974]: wireplumber: disconnected from pipewire
Mar 17 15:51:53 laptop-arch systemd[657]: Stopped GNOME Keyring daemon.
Mar 17 15:51:53 laptop-arch systemd[657]: Stopped sandboxed app permission store.
Mar 17 15:51:53 laptop-arch systemd[657]: Stopped Multimedia Service Session Manager.
Mar 17 15:51:53 laptop-arch systemd[657]: Stopping PipeWire Multimedia Service...
Mar 17 15:51:53 laptop-arch systemd[657]: Stopped PipeWire Multimedia Service.
Mar 17 15:51:53 laptop-arch systemd[657]: Stopped Sound Service.
Mar 17 15:51:53 laptop-arch systemd[657]: Stopped target Basic System.
Mar 17 15:51:53 laptop-arch systemd[657]: Stopped target Paths.
Mar 17 15:51:53 laptop-arch systemd[657]: Stopped target Sockets.
Mar 17 15:51:53 laptop-arch systemd[657]: Stopped target Timers.
Mar 17 15:51:53 laptop-arch systemd[657]: Closed GnuPG network certificate management daemon.
Mar 17 15:51:53 laptop-arch systemd[657]: Closed GCR ssh-agent wrapper.
Mar 17 15:51:53 laptop-arch systemd[657]: Closed GNOME Keyring daemon.
Mar 17 15:51:53 laptop-arch systemd[657]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
Mar 17 15:51:53 laptop-arch systemd[657]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
Mar 17 15:51:53 laptop-arch systemd[657]: Closed GnuPG cryptographic agent (ssh-agent emulation).
Mar 17 15:51:53 laptop-arch systemd[657]: Closed GnuPG cryptographic agent and passphrase cache.
Mar 17 15:51:53 laptop-arch systemd[657]: Closed GnuPG public key management service.
Mar 17 15:51:53 laptop-arch systemd[657]: Closed p11-kit server.
Mar 17 15:51:53 laptop-arch systemd[657]: Closed PipeWire Multimedia System Sockets.
Mar 17 15:51:53 laptop-arch systemd[657]: Closed Sound System.
Mar 17 15:51:53 laptop-arch dbus-broker[681]: Dispatched 442 messages @ 1(±5)μs / message.
Mar 17 15:51:53 laptop-arch systemd[657]: Stopping D-Bus User Message Bus...
Mar 17 15:51:53 laptop-arch systemd[657]: Stopped D-Bus User Message Bus.
Mar 17 15:51:53 laptop-arch systemd[657]: Removed slice User Core Session Slice.
Mar 17 15:51:53 laptop-arch systemd[657]: Closed D-Bus User Message Bus Socket.
Mar 17 15:51:53 laptop-arch systemd[657]: Removed slice User Application Slice.
Mar 17 15:51:53 laptop-arch systemd[657]: Reached target Shutdown.
Mar 17 15:51:53 laptop-arch systemd[657]: Finished Exit the Session.
Mar 17 15:51:53 laptop-arch systemd[657]: Reached target Exit the Session.
Mar 17 15:51:53 laptop-arch systemd-logind[540]: Removed session 2.
Mar 17 15:51:53 laptop-arch (sd-pam)[659]: pam_unix(systemd-user:session): session closed for user gdm
Mar 17 15:51:53 laptop-arch systemd[1]: user@120.service: Deactivated successfully.
Mar 17 15:51:53 laptop-arch systemd[1]: Stopped User Manager for UID 120.
Mar 17 15:51:53 laptop-arch systemd[1]: Stopping User Runtime Directory /run/user/120...
Mar 17 15:51:53 laptop-arch systemd[1]: run-user-120.mount: Deactivated successfully.
Mar 17 15:51:53 laptop-arch systemd[1]: user-runtime-dir@120.service: Deactivated successfully.
Mar 17 15:51:53 laptop-arch systemd[1]: Stopped User Runtime Directory /run/user/120.
Mar 17 15:51:53 laptop-arch systemd[1]: Removed slice User Slice of UID 120.
Mar 17 15:51:53 laptop-arch systemd[1]: user-120.slice: Consumed 3.196s CPU time, 465.2M memory peak.
Mar 17 15:51:54 laptop-arch systemd[1162]: Started Application launched by gnome-shell.
Mar 17 15:51:54 laptop-arch gnome-shell[1836]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Mar 17 15:51:54 laptop-arch gnome-shell[1836]: > Warning:          Could not resolve keysym XF86RefreshRateToggle
Mar 17 15:51:54 laptop-arch gnome-shell[1836]: > Warning:          Could not resolve keysym XF86Accessibility
Mar 17 15:51:54 laptop-arch gnome-shell[1836]: > Warning:          Could not resolve keysym XF86DoNotDisturb
Mar 17 15:51:54 laptop-arch gnome-shell[1836]: Errors from xkbcomp are not fatal to the X server
Mar 17 15:51:54 laptop-arch systemd[1162]: Reached target GNOME session X11 services.
Mar 17 15:51:54 laptop-arch systemd[1162]: Starting GNOME XSettings service...
Mar 17 15:51:54 laptop-arch gnome-shell[1837]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Mar 17 15:51:54 laptop-arch gnome-shell[1837]: > Warning:          Unsupported maximum keycode 708, clipping.
Mar 17 15:51:54 laptop-arch gnome-shell[1837]: >                   X11 cannot support keycodes above 255.
Mar 17 15:51:54 laptop-arch gnome-shell[1837]: > Warning:          Could not resolve keysym XF86RefreshRateToggle
Mar 17 15:51:54 laptop-arch gnome-shell[1837]: > Warning:          Could not resolve keysym XF86Accessibility
Mar 17 15:51:54 laptop-arch gnome-shell[1837]: > Warning:          Could not resolve keysym XF86DoNotDisturb
Mar 17 15:51:54 laptop-arch gnome-shell[1837]: Errors from xkbcomp are not fatal to the X server
Mar 17 15:51:54 laptop-arch gsd-xsettings[1838]: Failed to get current UI scaling factor: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Destination does not exist
Mar 17 15:51:54 laptop-arch systemd[1162]: Started GNOME XSettings service.
Mar 17 15:51:54 laptop-arch systemd[1162]: Reached target GNOME session X11 services.

This is part of the journal after the update (Gnome Shell stucks during 13:03:07~13:03:27):

Mar 20 13:03:07 laptop-arch systemd[1]: Stopping User Manager for UID 120...
Mar 20 13:03:07 laptop-arch systemd[659]: Activating special unit Exit the Session...
Mar 20 13:03:07 laptop-arch systemd[659]: Stopped target Main User Target.
Mar 20 13:03:07 laptop-arch systemd[659]: Stopping GNOME Keyring daemon...
Mar 20 13:03:07 laptop-arch systemd[659]: Stopping Sound Service...
Mar 20 13:03:07 laptop-arch wireplumber[974]: wireplumber: stopped by signal: Terminated
Mar 20 13:03:07 laptop-arch systemd[659]: Stopping Multimedia Service Session Manager...
Mar 20 13:03:07 laptop-arch systemd[659]: Stopping sandboxed app permission store...
Mar 20 13:03:07 laptop-arch wireplumber[974]: wireplumber: disconnected from pipewire
Mar 20 13:03:07 laptop-arch systemd[659]: Stopped GNOME Keyring daemon.
Mar 20 13:03:07 laptop-arch systemd[659]: Stopped sandboxed app permission store.
Mar 20 13:03:07 laptop-arch systemd[659]: Stopped Multimedia Service Session Manager.
Mar 20 13:03:07 laptop-arch systemd[659]: Stopping PipeWire Multimedia Service...
Mar 20 13:03:07 laptop-arch systemd[659]: Stopped Sound Service.
Mar 20 13:03:07 laptop-arch systemd[659]: Stopped PipeWire Multimedia Service.
Mar 20 13:03:07 laptop-arch systemd[659]: Stopped target Basic System.
Mar 20 13:03:07 laptop-arch systemd[659]: Stopped target Paths.
Mar 20 13:03:07 laptop-arch systemd[659]: Stopped target Sockets.
Mar 20 13:03:07 laptop-arch systemd[659]: Stopped target Timers.
Mar 20 13:03:07 laptop-arch systemd[659]: Closed GnuPG network certificate management daemon.
Mar 20 13:03:07 laptop-arch systemd[659]: Closed GCR ssh-agent wrapper.
Mar 20 13:03:07 laptop-arch systemd[659]: Closed GNOME Keyring daemon.
Mar 20 13:03:07 laptop-arch systemd[659]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
Mar 20 13:03:07 laptop-arch systemd[659]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
Mar 20 13:03:07 laptop-arch systemd[659]: Closed GnuPG cryptographic agent (ssh-agent emulation).
Mar 20 13:03:07 laptop-arch systemd[659]: Closed GnuPG cryptographic agent and passphrase cache.
Mar 20 13:03:07 laptop-arch systemd[659]: Closed GnuPG public key management service.
Mar 20 13:03:07 laptop-arch systemd[659]: Closed p11-kit server.
Mar 20 13:03:07 laptop-arch systemd[659]: Closed PipeWire Multimedia System Sockets.
Mar 20 13:03:07 laptop-arch systemd[659]: Closed Sound System.
Mar 20 13:03:07 laptop-arch dbus-broker[683]: Dispatched 458 messages @ 1(±4)μs / message.
Mar 20 13:03:07 laptop-arch systemd[659]: Stopping D-Bus User Message Bus...
Mar 20 13:03:07 laptop-arch systemd[659]: Stopped D-Bus User Message Bus.
Mar 20 13:03:07 laptop-arch systemd[659]: Removed slice User Core Session Slice.
Mar 20 13:03:07 laptop-arch systemd[659]: Closed D-Bus User Message Bus Socket.
Mar 20 13:03:07 laptop-arch systemd[659]: Removed slice User Application Slice.
Mar 20 13:03:07 laptop-arch systemd[659]: Reached target Shutdown.
Mar 20 13:03:07 laptop-arch systemd[659]: Finished Exit the Session.
Mar 20 13:03:07 laptop-arch systemd[659]: Reached target Exit the Session.
Mar 20 13:03:07 laptop-arch (sd-pam)[661]: pam_unix(systemd-user:session): session closed for user gdm
Mar 20 13:03:07 laptop-arch systemd-logind[543]: Removed session 2.
Mar 20 13:03:07 laptop-arch systemd[1]: user@120.service: Deactivated successfully.
Mar 20 13:03:07 laptop-arch systemd[1]: Stopped User Manager for UID 120.
Mar 20 13:03:07 laptop-arch systemd[1]: Stopping User Runtime Directory /run/user/120...
Mar 20 13:03:07 laptop-arch systemd[1]: run-user-120.mount: Deactivated successfully.
Mar 20 13:03:07 laptop-arch systemd[1]: user-runtime-dir@120.service: Deactivated successfully.
Mar 20 13:03:07 laptop-arch systemd[1]: Stopped User Runtime Directory /run/user/120.
Mar 20 13:03:07 laptop-arch systemd[1]: Removed slice User Slice of UID 120.
Mar 20 13:03:07 laptop-arch systemd[1]: user-120.slice: Consumed 3.217s CPU time, 471.9M memory peak.
Mar 20 13:03:20 laptop-arch gnome-shell[1262]: Error connecting to the screencast service
Mar 20 13:03:26 laptop-arch systemd[1]: systemd-localed.service: Deactivated successfully.
Mar 20 13:03:26 laptop-arch systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Mar 20 13:03:27 laptop-arch gsd-xsettings[1744]: Connection failure: Timeout
Mar 20 13:03:27 laptop-arch systemd[1154]: Started GNOME XSettings service.
Mar 20 13:03:27 laptop-arch systemd[1154]: Reached target GNOME session X11 services.
Mar 20 13:03:27 laptop-arch mutter-x11-fram[2072]: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
Mar 20 13:03:27 laptop-arch systemd[1154]: Started Sound Service.

Offline

Board footer

Powered by FluxBB