From 7f6e04a9631927951cf1b49431622dac5e70ed22 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Fri, 20 Jan 2023 09:29:24 +0000 Subject: 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 --- x11-misc/lightdm/lightdm-1.32.0-r2.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'x11-misc') 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." } -- cgit v1.2.3-65-gdbad