I switched from Xorg to Wayland and everything worked fine until it suddenly did not. I can not switch back to Xorg because that gives similar errors. The baffling thing is that sudo startx
works - this means something somewhere is not able to access/do something that it needs to but more importantly it confirms it is not a driver or hardware or such a problem.
$ dbus-run-session -- gnome-shell --display-server wayland
dbus-daemon[1455]: [session uid=1000 pid=1455 pidfd=5] Activating service name='org.gtk.vfs.Daemon' requested by ':1.0' (uid=1000 pid=1456 comm="gnome-shell --display-server wayland")
dbus-daemon[1455]: [session uid=1000 pid=1455 pidfd=5] Successfully activated service 'org.gtk.vfs.Daemon'
libmutter-Message: 21:35:51.191: Running GNOME Shell (using mutter 48.2) as a Wayland display server
libmutter-Message: 21:35:51.258: Thread 'KMS thread' will be using high priority scheduling
libmutter-Message: 21:35:51.281: Device '/dev/dri/card0' prefers shadow buffer
libmutter-Message: 21:35:51.283: Added device '/dev/dri/card0' (nvidia-drm) using atomic mode setting.
libmutter-Message: 21:35:51.285: Created gbm renderer for '/dev/dri/card0'
libmutter-Message: 21:35:51.285: GPU /dev/dri/card0 selected primary from builtin panel presence
** Message: 21:35:51.286: Obtained a high priority EGL context
dbus-daemon[1455]: [session uid=1000 pid=1455 pidfd=5] Activating service name='org.a11y.Bus' requested by ':1.3' (uid=1000 pid=1456 comm="gnome-shell --display-server wayland")
dbus-daemon[1455]: [session uid=1000 pid=1455 pidfd=5] Successfully activated service 'org.a11y.Bus'
libmutter-Message: 21:35:52.286: Using public X11 display :0, (using :1 for managed services)
libmutter-Message: 21:35:52.286: Using Wayland display name 'wayland-0'
dbus-daemon[1510]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1000 pid=1456 comm="gnome-shell --display-server wayland")
dbus-daemon[1510]: Successfully activated service 'org.a11y.atspi.Registry'
SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
dbus-daemon[1455]: [session uid=1000 pid=1455 pidfd=5] Activating service name='org.gnome.Shell.Screencast' requested by ':1.0' (uid=1000 pid=1456 comm="gnome-shell --display-server wayland")
dbus-daemon[1455]: [session uid=1000 pid=1455 pidfd=5] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.0' (uid=1000 pid=1456 comm="gnome-shell --display-server wayland")
dbus-daemon[1455]: [session uid=1000 pid=1455 pidfd=5] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.0' (uid=1000 pid=1456 comm="gnome-shell --display-server wayland")
dbus-daemon[1455]: [session uid=1000 pid=1455 pidfd=5] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore'
dbus-daemon[1455]: [session uid=1000 pid=1455 pidfd=5] Activating service name='org.gnome.evolution.dataserver.Sources5' requested by ':1.9' (uid=1000 pid=1535 comm="/usr/lib/gnome-shell-calendar-server")
dbus-daemon[1455]: [session uid=1000 pid=1455 pidfd=5] Activating service name='ca.desrt.dconf' requested by ':1.0' (uid=1000 pid=1456 comm="gnome-shell --display-server wayland")
dbus-daemon[1455]: [session uid=1000 pid=1455 pidfd=5] Successfully activated service 'ca.desrt.dconf'
GNOME Shell-Message: 21:35:52.690: Failed to create file /run/user/1000/gnome-shell-disable-extensions: Error opening file “/run/user/1000/gnome-shell-disable-extensions”: File exists
(gnome-shell:1456): Gjs-CRITICAL **: 21:35:52.697: JS ERROR: Gio.IOErrorEnum: Gio.IOErrorEnum: Error removing file /home/rkochar/.local/share/gnome-shell/extension-updates/pwcalc@thilomaurer.de: Directory not empty
Stack trace:
recursivelyDeleteDir@resource:///org/gnome/shell/misc/fileUtils.js:62:13
_installExtensionUpdates@resource:///org/gnome/shell/ui/extensionSystem.js:673:27
init@resource:///org/gnome/shell/ui/extensionSystem.js:75:14
_initializeUI@resource:///org/gnome/shell/ui/main.js:329:22
start@resource:///org/gnome/shell/ui/main.js:180:11
@resource:///org/gnome/shell/ui/init.js:12:47
@resource:///org/gnome/shell/ui/init.js:21:20
@resource:///org/gnome/shell/ui/init.js:21:20
** Message: 21:35:52.697: Execution of main.js threw exception: Module resource:///org/gnome/shell/ui/init.js threw an exception
dbus-daemon[1455]: [session uid=1000 pid=1455 pidfd=5] Activating service name='org.gnome.OnlineAccounts' requested by ':1.10' (uid=1000 pid=1547 comm="/usr/lib/evolution-source-registry")
dbus-daemon[1455]: [session uid=1000 pid=1455 pidfd=5] Successfully activated service 'org.gnome.evolution.dataserver.Sources5'
dbus-daemon[1455]: [session uid=1000 pid=1455 pidfd=5] Activating service name='org.gnome.evolution.dataserver.Calendar8' requested by ':1.9' (uid=1000 pid=1535 comm="/usr/lib/gnome-shell-calendar-server")
dbus-daemon[1455]: [session uid=1000 pid=1455 pidfd=5] Successfully activated service 'org.gnome.Shell.CalendarServer'
/usr/lib/goa-daemon: symbol lookup error: /usr/lib/libadwaita-1.so.0: undefined symbol: gtk_widget_set_limit_events
dbus-daemon[1455]: [session uid=1000 pid=1455 pidfd=5] Activated service 'org.gnome.OnlineAccounts' failed: Process org.gnome.OnlineAccounts exited with status 127
(evolution-source-registry:1547): module-gnome-online-accounts-WARNING **: 21:35:52.740: Unable to connect to the GNOME Online Accounts service: Error calling StartServiceByName for org.gnome.OnlineAccounts: Process org.gnome.OnlineAccounts exited with status 127
dbus-daemon[1455]: [session uid=1000 pid=1455 pidfd=5] Successfully activated service 'org.gnome.evolution.dataserver.Calendar8'
dbus-daemon[1455]: [session uid=1000 pid=1455 pidfd=5] Activating service name='org.gnome.evolution.dataserver.AddressBook10' requested by ':1.12' (uid=1000 pid=1569 comm="/usr/lib/evolution-calendar-factory")
dbus-daemon[1455]: [session uid=1000 pid=1455 pidfd=5] Successfully activated service 'org.gnome.evolution.dataserver.AddressBook10'
(EE) could not connect to wayland server
(org.gnome.Shell.Screencast:1518): Gtk-WARNING **: 21:35:53.252: Failed to open display
dbus-daemon[1455]: [session uid=1000 pid=1455 pidfd=5] Activated service 'org.gnome.Shell.Screencast' failed: Process org.gnome.Shell.Screencast exited with status 1
A connection to the bus can't be made
gnome-shell-calendar-server[1535]: Lost (or failed to acquire) the name org.gnome.Shell.CalendarServer - exiting
(evolution-calendar-factory:1569): libedbus-private-WARNING **: 21:35:53.269: Error setting property 'ConnectionStatus' on interface org.gnome.evolution.dataserver.Source: The connection is closed (g-io-error-quark, 18)
Try again with x11 and journalctl.
$ dbus-run-session -- gnome-shell --display-server x11
dbus-daemon[1232]: [session uid=1000 pid=1232 pidfd=5] Activating service name='org.gtk.vfs.Daemon' requested by ':1.0' (uid=1000 pid=1233 comm="gnome-shell --display-server x11")
dbus-daemon[1232]: [session uid=1000 pid=1232 pidfd=5] Successfully activated service 'org.gtk.vfs.Daemon'
libmutter-Message: 00:45:59.188: Running GNOME Shell (using mutter 48.2) as a Wayland display server
libmutter-Message: 00:45:59.592: Thread 'KMS thread' will be using high priority scheduling
libmutter-Message: 00:45:59.592: Device '/dev/dri/card0' prefers shadow buffer
libmutter-Message: 00:45:59.594: Added device '/dev/dri/card0' (nvidia-drm) using atomic mode setting.
libmutter-Message: 00:45:59.596: Created gbm renderer for '/dev/dri/card0'
libmutter-Message: 00:45:59.596: GPU /dev/dri/card0 selected primary from builtin panel presence
** Message: 00:45:59.599: Obtained a high priority EGL context
dbus-daemon[1232]: [session uid=1000 pid=1232 pidfd=5] Activating service name='org.a11y.Bus' requested by ':1.3' (uid=1000 pid=1233 comm="gnome-shell --display-server x11")
dbus-daemon[1232]: [session uid=1000 pid=1232 pidfd=5] Successfully activated service 'org.a11y.Bus'
libmutter-Message: 00:46:00.625: Using public X11 display :0, (using :1 for managed services)
libmutter-Message: 00:46:00.625: Using Wayland display name 'wayland-0'
dbus-daemon[1293]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1000 pid=1233 comm="gnome-shell --display-server x11")
dbus-daemon[1293]: Successfully activated service 'org.a11y.atspi.Registry'
SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
dbus-daemon[1232]: [session uid=1000 pid=1232 pidfd=5] Activating service name='org.gnome.Shell.Screencast' requested by ':1.0' (uid=1000 pid=1233 comm="gnome-shell --display-server x11")
dbus-daemon[1232]: [session uid=1000 pid=1232 pidfd=5] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.0' (uid=1000 pid=1233 comm="gnome-shell --display-server x11")
dbus-daemon[1232]: [session uid=1000 pid=1232 pidfd=5] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.0' (uid=1000 pid=1233 comm="gnome-shell --display-server x11")
dbus-daemon[1232]: [session uid=1000 pid=1232 pidfd=5] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore'
dbus-daemon[1232]: [session uid=1000 pid=1232 pidfd=5] Activating service name='org.gnome.evolution.dataserver.Sources5' requested by ':1.9' (uid=1000 pid=1333 comm="/usr/lib/gnome-shell-calendar-server")
dbus-daemon[1232]: [session uid=1000 pid=1232 pidfd=5] Activating service name='ca.desrt.dconf' requested by ':1.0' (uid=1000 pid=1233 comm="gnome-shell --display-server x11")
dbus-daemon[1232]: [session uid=1000 pid=1232 pidfd=5] Successfully activated service 'ca.desrt.dconf'
dbus-daemon[1232]: [session uid=1000 pid=1232 pidfd=5] Activating service name='org.gnome.OnlineAccounts' requested by ':1.11' (uid=1000 pid=1345 comm="/usr/lib/evolution-source-registry")
dbus-daemon[1232]: [session uid=1000 pid=1232 pidfd=5] Successfully activated service 'org.gnome.evolution.dataserver.Sources5'
dbus-daemon[1232]: [session uid=1000 pid=1232 pidfd=5] Activating service name='org.gnome.evolution.dataserver.Calendar8' requested by ':1.9' (uid=1000 pid=1333 comm="/usr/lib/gnome-shell-calendar-server")
/usr/lib/goa-daemon: symbol lookup error: /usr/lib/libadwaita-1.so.0: undefined symbol: gtk_widget_set_limit_events
dbus-daemon[1232]: [session uid=1000 pid=1232 pidfd=5] Activated service 'org.gnome.OnlineAccounts' failed: Process org.gnome.OnlineAccounts exited with status 127
(evolution-source-registry:1345): module-gnome-online-accounts-WARNING **: 00:46:01.236: Unable to connect to the GNOME Online Accounts service: Error calling StartServiceByName for org.gnome.OnlineAccounts: Process org.gnome.OnlineAccounts exited with status 127
(gnome-shell:1233): Gjs-CRITICAL **: 00:46:01.243: JS ERROR: Gio.IOErrorEnum: Gio.IOErrorEnum: Error removing file /home/rkochar/.local/share/gnome-shell/extension-updates/pwcalc@thilomaurer.de: Directory not empty
Stack trace:
recursivelyDeleteDir@resource:///org/gnome/shell/misc/fileUtils.js:62:13
_installExtensionUpdates@resource:///org/gnome/shell/ui/extensionSystem.js:673:27
init@resource:///org/gnome/shell/ui/extensionSystem.js:75:14
_initializeUI@resource:///org/gnome/shell/ui/main.js:329:22
start@resource:///org/gnome/shell/ui/main.js:180:11
@resource:///org/gnome/shell/ui/init.js:12:47
@resource:///org/gnome/shell/ui/init.js:21:20
@resource:///org/gnome/shell/ui/init.js:21:20
** Message: 00:46:01.243: Execution of main.js threw exception: Module resource:///org/gnome/shell/ui/init.js threw an exception
dbus-daemon[1232]: [session uid=1000 pid=1232 pidfd=5] Successfully activated service 'org.gnome.Shell.CalendarServer'
dbus-daemon[1232]: [session uid=1000 pid=1232 pidfd=5] Successfully activated service 'org.gnome.evolution.dataserver.Calendar8'
dbus-daemon[1232]: [session uid=1000 pid=1232 pidfd=5] Activating service name='org.gnome.evolution.dataserver.AddressBook10' requested by ':1.12' (uid=1000 pid=1369 comm="/usr/lib/evolution-calendar-factory")
dbus-daemon[1232]: [session uid=1000 pid=1232 pidfd=5] Successfully activated service 'org.gnome.evolution.dataserver.AddressBook10'
(EE) could not connect to wayland server
(org.gnome.Shell.Screencast:1316): Gtk-WARNING **: 00:46:01.808: Failed to open display
dbus-daemon[1232]: [session uid=1000 pid=1232 pidfd=5] Activated service 'org.gnome.Shell.Screencast' failed: Process org.gnome.Shell.Screencast exited with status 1
A connection to the bus can't be made
gnome-shell-calendar-server[1333]: Lost (or failed to acquire) the name org.gnome.Shell.CalendarServer - exiting
(evolution-calendar-factory:1369): libedbus-private-WARNING **: 00:46:01.814: Error setting property 'ConnectionStatus' on interface org.gnome.evolution.dataserver.Source: The connection is closed (g-io-error-quark, 18)
(evolution-addressbook-factory:1394): libedbus-private-WARNING **: 00:46:01.815: Error setting property 'ConnectionStatus' on interface org.gnome.evolution.dataserver.Source: The connection is closed (g-io-error-quark, 18)