Am Mittwoch, 4. Juli 2018 schrieb Nick Koretsky:
Ok, this looks normal. At this point if you want to
track down the bug, i
suggest following:
Force reinstall tdm-trinity (unless you clean apt-cache the package is
in /var/cache/apt/archives, just dpkg -i the last version.
Okay, I tested that. Here are the results:
Summary:
Installing either slim or tdm-trinity overwrites the default display manager
to /usr/bin/slim not depending on the way I changed default dm, manually or
with dpkg-reconfigure.
Note: dpkg-reconfigure slim says:
Please be sure to run "dpkg --configure tdm-trinity".
But also after doing so, the faulty behavior persists. See below.
So, I should create a bug report in trinity bugzilla, I think.
Kind regards,
Stefan
Test results:
Reinstalling tdm-trinity:
$ cat /etc/X11/default-display-manager
/opt/trinity/bin/tdm
$ sudo dpkg -i tdm-trinity_4%3a14.0.5~pre42-0debian9.0.0+6_amd64.deb
(Reading database ... 156996 files and directories currently installed.)
Preparing to unpack tdm-trinity_4%3a14.0.5~pre42-0debian9.0.0+6_amd64.deb ...
Unpacking tdm-trinity (4:14.0.5~pre42-0debian9.0.0+6) over
(4:14.0.5~pre42-0debian9.0.0+6) ...
Setting up tdm-trinity (4:14.0.5~pre42-0debian9.0.0+6) ...
Processing triggers for man-db (2.7.6.1-2) ...
$ cat /etc/X11/default-display-manager
/usr/bin/slim
Result: The default display manager got changed to slim again.
$ sudo dpkg -i slim_1.3.6-5.1+devuan2_amd64.deb
(Reading database ... 156996 files and directories currently installed.)
Preparing to unpack slim_1.3.6-5.1+devuan2_amd64.deb ...
Unpacking slim (1.3.6-5.1+devuan2) over (1.3.6-5.1+devuan2) ...
Setting up slim (1.3.6-5.1+devuan2) ...
update-alternatives: using /usr/share/slim/themes/default to
provide /usr/share/slim/themes/desktop-slim-theme (desktop-slim-theme) in auto
mode
[ ok ] Reloading system message bus config...done.
Processing triggers for man-db (2.7.6.1-2) ...
$ cat /etc/X11/default-display-manager
/usr/bin/slim
Result: default display manager is slim as before
Reinstalling tdm-trinity -- /etc/X11/default-display-manager not changed:
$ sudo dpkg -i tdm-trinity_4%3a14.0.5~pre42-0debian9.0.0+6_amd64.deb
[...] (same as above)
$ cat /etc/X11/default-display-manager
/usr/bin/slim
(Manually) changed /etc/X11/default-display-manager back to tdm-trinity
$ cat /etc/X11/default-display-manager
/opt/trinity/bin/tdm
and reinstalled slim:
$ sudo dpkg -i slim_1.3.6-5.1+devuan2_amd64.deb
[...] (same as above)
$ cat /etc/X11/default-display-manager
/usr/bin/slim
Result: installing slim changed default display manager to slim !
$ sudo dpkg-reconfigure tdm-trinity
$ cat /etc/X11/default-display-manager
/opt/trinity/bin/tdm
$ sudo dpkg -i tdm-trinity_4%3a14.0.5~pre42-0debian9.0.0+6_amd64.deb
[...] (same as above)
$ cat /etc/X11/default-display-manager
/usr/bin/slim
$ sudo dpkg-reconfigure slim
Please be sure to run "dpkg --configure tdm-trinity".
[ ok ] Reloading system message bus config...done.
$ cat /etc/X11/default-display-manager
/opt/trinity/bin/tdm
$ sudo dpkg -i tdm-trinity_4%3a14.0.5~pre42-0debian9.0.0+6_amd64.deb
[...] (same as above)
$ cat /etc/X11/default-display-manager
/usr/bin/slim
$ sudo dpkg-reconfigure slim
Please be sure to run "dpkg --configure tdm-trinity".
[ ok ] Reloading system message bus config...done.
$ sudo dpkg-reconfigure tdm-trinity
$ cat /etc/X11/default-display-manager
/opt/trinity/bin/tdm
$ sudo dpkg -i tdm-trinity_4%3a14.0.5~pre42-0debian9.0.0+6_amd64.deb
[...] (same as above)
$ cat /etc/X11/default-display-manager
/usr/bin/slim
$ sudo dpkg-reconfigure slim
Please be sure to run "dpkg --configure tdm-trinity".
[ ok ] Reloading system message bus config...done.
$ cat /etc/X11/default-display-manager
/opt/trinity/bin/tdm
$ sudo dpkg -i slim_1.3.6-5.1+devuan2_amd64.deb
[...] (same as above)
$ cat /etc/X11/default-display-manager
/usr/bin/slim