commit: 7f6e04a9631927951cf1b49431622dac5e70ed22 Author: Marek Szuba <marecki <AT> gentoo <DOT> org> AuthorDate: Fri Jan 20 09:29:24 2023 +0000 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> CommitDate: Fri Jan 20 09:37:02 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f6e04a9
x11-misc/lightdm: tell the users experiencing the "X not started on a Nvidia GPU" problem what to do Leaving the deployed default configuration be because the issue appears to be a bug in Nvidia drivers rather than lightdm itself, and I see no point in switching this off for everyone when all that is needed is a one-time, one-line change. Closes: https://bugs.gentoo.org/886607 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> x11-misc/lightdm/lightdm-1.32.0-r2.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/x11-misc/lightdm/lightdm-1.32.0-r2.ebuild b/x11-misc/lightdm/lightdm-1.32.0-r2.ebuild index d54f37d5244b..1209f8df2a34 100644 --- a/x11-misc/lightdm/lightdm-1.32.0-r2.ebuild +++ b/x11-misc/lightdm/lightdm-1.32.0-r2.ebuild @@ -156,4 +156,12 @@ src_install() { pkg_postinst() { systemd_reenable "${PN}.service" + + # Bug #886607 + ewarn + ewarn "If you have a Nvidia GPU and ${PN} fails to launch X, edit /etc/${PN}/${PN}.conf to include the line" + ewarn + ewarn "logind-check-graphical=false" + ewarn + ewarn "in the section [LightDM]. See https://github.com/canonical/lightdm/issues/263 for details." }