New comment by Anachron on void-packages repository https://github.com/void-linux/void-packages/pull/20538#issuecomment-610280388 Comment: I've run an strace on `startx` and it throws quite a few errors for me: https://i.imgur.com/eDJSri3.png When I however install `gdm` and launch `Pantheon` from it I crashes once and I can work just fine then: https://i.imgur.com/0a9HW0x.png Could it be that some Gnome-Settings-Daemons are not running because of wrong Paths? https://github.com/elementary/session-settings/blob/master/autostart/gsd/org.gnome.SettingsDaemon.Keyboard-pantheon.desktop `/usr/lib/gnome-settings-daemon/gsd-keyboard` We ship them in gnome-settings-daemon-3.34.1_2 `/usr/libexec/gsd-keyboard`. Yep this seem to be the cause. If some components can't start, gnome considers the session to be crashed: https://bbs.archlinux.org/viewtopic.php?pid=1874971#p1874971 https://bbs.archlinux.org/viewtopic.php?pid=1886930#p1886930 Also see https://github.com/elementary/session-settings/pull/21 And https://github.com/elementary/session-settings/issues/17 See branch focal/commit https://github.com/elementary/session-settings/commit/231ab3be828f16f8aee397f9ae2ba4822c89b013 https://github.com/elementary/session-settings/commit/f9576162da46efd35ae481d362ed4872cbb94469 A better `xinitrc` would be: ``` #!/bin/sh export XDG_SESSION_TYPE=X11 export XDG_SESSION_DESKTOP=pantheon wingpanel & plank & exec gnome-session --builtin --session=pantheon pkill wingpanel; pkill plank ``` This uses the `--builtin` flag (see https://github.com/elementary/session-settings/issues/17#issuecomment-578696920) and also the correct naming for XDG_SESSION_DESKTOP.