#580838 slim: on purge, keeps itself as default display manager

Package:
slim
Source:
slim
Description:
desktop-independent graphical login manager for X11
Submitter:
Ian Zimmerman
Date:
2026-01-22 15:23:05 UTC
Severity:
normal
Tags:
#580838#5
Date:
2010-05-09 06:11:56 UTC
From:
To:
*** Please type your report below this line ***

 [1]matica:~$ dpkg --status slim
Package: slim
Status: unknown ok not-installed
Priority: optional
Section: x11
 [2]matica:~$ cat /etc/X11/default-display-manager
/usr/bin/slim
 [3]matica:~$ cat /etc/X11/default-display-manager.dpkg-tmp
/usr/bin/xdm
 [4]matica:~$

#580838#10
Date:
2026-01-22 15:22:42 UTC
From:
To:
Control: tags -1 confirmed
on purge, when slim is the last one installed of the display manager
group [slim gdm sddm lightdm xdm wdm ..]
/etc/X11/default-display-manager file is left there with /usr/bin/slim
as content and also
/etc/systemd/system/display-manager.service is left dangling
(see also #776173)

and when there are other display manager installed in the system
/etc/X11/default-display-manager content is updated but
/etc/systemd/system/display-manager.service target is still
/lib/systemd/system/slim.service