GDM doesn't start when x11-base/xorg-server is built with USE=minimal. Reproducible: Always Steps to Reproduce: 1. USE=minimal emerge x11-base/xorg-server 2. (re)start GDM Actual Results: GDM doesn't start Expected Results: GDM starts
Show some logs of the failure please...
Created attachment 538856 [details] journalctl -b | egrep -i "gdm|gnome" Rebuilt xorg-server with USE=minimal, rebooted and waited ~15 minutes on vt7 before grabbing logs.
The logs don't show any clear errors, other than systemd failing to set some env vars, but USE=minimal means that you aren't building GLX support for xorg-server, nor DRI2/DRI3. Given that gdm uses gnome-shell, which is 3D, that's kind of a no-go for xorg; might work with gdm[wayland] though. We don't really add xorg-server as a dep though, things could be ran over the network, etc. Though in case of gdm, it's already there for other reasons, so maybe we should consider it. This in log is questionable though: Jul 08 21:04:10 /usr/libexec/gdm-x-session[285]: dbus-daemon[294]: [session uid=113 pid=294] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Jul 08 21:04:10 gdm-x-session[285]: could not fetch environment: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1 Jul 08 21:04:10 /usr/libexec/gdm-x-session[285]: gnome-session-binary[298]: DEBUG(+): Could not make systemd aware of XDG_MENU_PREFIX=gnome- environment variable: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1 Jul 08 21:04:10 gnome-session-binary[298]: DEBUG(+): Could not make systemd aware of XDG_MENU_PREFIX=gnome- environment variable: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7cbef6cf8bcca85cbb0594e62226c8a6a262b69 commit b7cbef6cf8bcca85cbb0594e62226c8a6a262b69 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2021-04-30 02:27:41 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2021-04-30 16:08:16 +0000 gnome-base/gdm: Version bump to 40.0 * Drop 49-keychain and 50-ssh-agent files (bugs #549102, #692648) * Switch to Meson (resolves bug #585976) ** Remove unnecessary fontconfig, libXext, iso-codes, libgudev, libXinerama dependencies * Remove unused introspection, smartcard, xinerama USE flags * Depend on xorg-server[-minimal] (bug #660546) * Resolve bug #613222, resolved upstream in v40.0 * Resolve bug #733708, resolved upstream in v3.38 Bug: https://bugs.gentoo.org/762460 Closes: https://bugs.gentoo.org/549102 Closes: https://bugs.gentoo.org/585976 Closes: https://bugs.gentoo.org/613222 Closes: https://bugs.gentoo.org/660546 Closes: https://bugs.gentoo.org/692648 Closes: https://bugs.gentoo.org/733708 Signed-off-by: Matt Turner <mattst88@gentoo.org> gnome-base/gdm/Manifest | 1 + ...dm-40.0-meson-allow-building-with-elogind.patch | 211 +++++++++++++++++++++ gnome-base/gdm/gdm-40.0.ebuild | 207 ++++++++++++++++++++ 3 files changed, 419 insertions(+)