[Pkg-xfce-devel] Bug#854274: lightdm: Better integration with plymouth
Laurent Bigonville
bigon at debian.org
Sun Feb 5 17:22:26 UTC 2017
Package: lightdm
Version: 1.18.3-1
Severity: normal
Tags: patch
Hi,
For what I can see, lightdm is stopping itself plymouth during the boot
to minimize the flickering of the screen.
That means that the plymouth-quit.service file shouldn't be started
I've attached a patch that copy what GDM is doing, I tested that on a
stretch VM and it's working.
Cheers,
Laurent Bigonville
-- System Information:
Debian Release: 9.0
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
-------------- next part --------------
diff -Nru lightdm-1.18.3/debian/lightdm.service lightdm-1.18.3/debian/lightdm.service
--- lightdm-1.18.3/debian/lightdm.service 2014-09-15 13:06:07.000000000 +0200
+++ lightdm-1.18.3/debian/lightdm.service 2017-02-05 17:10:18.000000000 +0100
@@ -3,6 +3,14 @@
Documentation=man:lightdm(1)
After=systemd-user-sessions.service
+# replaces plymouth-quit since lightdm quits plymouth on its own
+Conflicts=plymouth-quit.service
+After=plymouth-quit.service
+
+# lightdm takes responsibility for stopping plymouth, so if it fails
+# for any reason, make sure plymouth still stops
+OnFailure=plymouth-quit.service
+
[Service]
# temporary safety check until all DMs are converted to correct
# display-manager.service symlink handling
More information about the Pkg-xfce-devel
mailing list