[Bug 1446760] Re: sddm and lightdm can run at the same time

Sneetsher 1446760 at bugs.launchpad.net
Sat Jan 9 19:05:32 UTC 2016


I did want to uninstall anything. So I end up adding a ExecStartPre line
to check for default display manager on legacy settings /etc/X11
/default-display-manager, now it's working well:

/lib/systemd/system/sddm.service
________________________________
[Unit]
Description=Simple Desktop Display Manager
Documentation=man:sddm(1) man:sddm.conf(5)
After=systemd-user-sessions.service getty at tty1.service plymouth-quit.service

[Service]
ExecStartPre=/bin/sh -c '[ "$(basename $(cat /etc/X11/default-display-manager 2>/dev/null))" = "sddm" ]'
ExecStart=/usr/bin/sddm
Restart=always
#PrivateTmp=yes

[Install]
Alias=display-manager.service
WantedBy=graphical.target
________________________________
Reference: Copied from /lib/systemd/system/lightdm.service

Source: https://askubuntu.com/questions/697529/lightdm-sddm-fight-on-greeter-screen
Same case: https://askubuntu.com/questions/714633/how-to-fix-bad-display-driver

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to sddm in Ubuntu.
https://bugs.launchpad.net/bugs/1446760

Title:
  sddm and lightdm can run at the same time

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1446760/+subscriptions




More information about the kubuntu-bugs mailing list