On Saturday 14 July 2018 14:38:56 Stefan Krusche wrote:
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
From these details, I assume that you are running Devuan. I was just about to
write something about similar problems that I have had over the past week or
ten days. When I run apt-get dist-upgrade (running Devuan), it installs slim
and xfce (neither of which I want), as well as libreoffice packages (which I
also don't want, as I prefer OpenOffice). When I tried to get rid of these
items and reinstall only OpenOffice and tdm-trinity as my default dm, I ended
up with a system that booted, then halted at a login prompt; I tried to
login, but neither user nor root logins worked, and I couldn't boot into
failsafe or anything else that worked.
On the whole, Devuan runs much faster than Debian, and also my system doesn't
hang. I started having these and other problems, and returned for the moment
to Debian Jessie, which runs okay, but hangs a lot, and when I try to reboot
seems to get permanently stuck on some stuff called rpcbind and watchdog.
(Also I note that systemd is always doing something, don't know what.)
I am contemplating some kind of FrankenDebian hack (or rather, FrankenDevuan).
I seem to recall that somebody mentioned that sysvinit could be installed,
and systemd purged, on a Debian system. The do upgrades from the Debian
repositories, but keep sysvinit and avoid the systemd problems.
Any ideas, guys?
Bill