Public bug reported:

This is on xubuntu 16.04 with systemd 229-4ubuntu6:

systemctl cannot reenable lightdm

I have deactivated lightdm with:

root@tux:~# systemctl disable lightdm
root@tux:~# reboot

Works as expected: lightdm does not start any more.

Then I tried to reenable it with:

root@tux:~# systemctl enable lightdm
root@tux:~# reboot

root@tux:~# systemctl reenable lightdm
root@tux:~# reboot


But lightdm still does not start any more!
I have to start lightdm manually with:

root@tux:~# systemctl start lightdm

root@tux:~# systemctl is-enabled lightdm
static

root@tux:~# systemctl status lightdm
* lightdm.service - Light Display Manager
   Loaded: loaded (/lib/systemd/system/lightdm.service; static; vendor preset: e
   Active: active (running) since Wed 2016-06-22 11:06:16 CEST; 12s ago
     Docs: man:lightdm(1)
  Process: 1803 ExecStartPre=/bin/sh -c [ "$(basename $(cat /etc/X11/default-dis
 Main PID: 1810 (lightdm)
   CGroup: /system.slice/lightdm.service
           |-1810 /usr/sbin/lightdm
           `-1822 /usr/lib/xorg/Xorg -core :0 -seat seat0 -auth /var/run/lightdm


I found a workaround, after:

root@tux:~# ln -s /lib/systemd/system/lightdm.service 
/etc/systemd/system/display-manager.service
root@tux:~# reboot

lightdm is starting again automatically at boot time.

"systemctl enable lightdm" does not restore this link! 
This is the bug.


root@tux:~# systemctl --version
systemd 229
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP 
+GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  systemctl cannot reenable lightdm (with workaround)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1595454/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to