There is an issue with sddm conflicting with kmscon on startup, when if you
don't
log-in quickly enough, kmscon overtakes sddm and you have to reboot after
that.

The way to avoid it is to add kmscon to Conflicts= and After= sections of
sddm.service file.

See the idea here how it's done in plasma-login-manager:

https://invent.kde.org/plasma/plasma-login-manager/-/tree/master/services/plasmalogin.service.in?ref_type=heads

Or here if invent is too slow to load:

https://github.com/KDE/plasma-login-manager/blob/master/services/plasmalogin.service.in

Attaching a patch that fixes the issue at least for me.

May be this could be good to add to Debian's packaged sddm for now too,
until plasma-login-manager is available to help those who want to use kmscon
with better login experience.

Thank you!

Shmerl.
--- a/usr/lib/systemd/system/sddm.service
+++ b/usr/lib/systemd/system/sddm.service
@@ -2,8 +2,8 @@
 Description=Simple Desktop Display Manager
 Documentation=man:sddm(1) man:sddm.conf(5)
 # Change this if you configure sddm to start in a different tty
[email protected]
[email protected]
[email protected] [email protected]
[email protected] [email protected]
 
 After=systemd-user-sessions.service systemd-logind.service
 

Reply via email to