Le 14/02/2018 à 13:37, Irrwahn a écrit :
The following only applies to already existing ASCII systems that got
upgraded to the newest package versions as present in the repositories.
Fresh installations of Devuan ASCII 2.0.0 Beta should not be affected.
Make sure you got the correct libpolkit-backend installed!
It would appear that under certain circumstances an unsuitable flavor
of libpolkit-backend-1-0-XXXX gets pulled in upon upgrade. This can lead
to a temporary loss of desktop session related functionality, namely the
ability to user-mount removable drives or to shutdown/restart the system
using the GUI controls provided by the respective desktop environment. The
issue was ultimately caused by the recent addition of elogind to the
repositories, or rather the repackaging of policykit-1 that followed suit.
1. Make sure you have at least one of (traditional) consolekit or (new)
elogind installed. (Note: You can have both installed and active; which
one is actually used however is decided by which libpolkit-backend you
choose to install, see 4.)
I had both elogind and consolekit.
Removing consolekit forces removal of task-xfce-desktop and few
other packages including slim.
2. Make sure (at least one of) the above is activated. You may do so by
interactively running the 'pam-auth-update' command as root.
3. Ensure the following packages got installed:
4. Install one of the mutually exclusive policykit backend libs, i.e.
- EITHER -
libpolkit-backend-1-0-elogind 0.105-18+devuan2.4 and
Amazingly, I had libpolkit-backend-1.0-systemd installed! See your
- OR -
libpolkit-backend-1-0-consolekit 0.105-18+devuan2.4 and
depending on which session manager backend you intend to use, see 1.
In case you find you have a backend with -systemd in the name installed:
that one will _not_ work, and is most likely the cause why things went
sideways in the first place.
5. After making changes to the session management you should either reboot
the system or at least cycle through runlevel 1.
Note: Depending on what login manager you use in conjunction with which
desktop environment you might have to experiment a bit to find out which
of consolekit or elogind works best for you (or works[TM] at all).
Note that task-xfce-desktop requires slim and slim requires consolekit.
I already had lightdm installed, but slim was the onein function.
Tried dpkg-reconfigure lightdm, expecting to select the DM in function,
but there was no dialog. After reboot, the lightdm greeting popped up.
Xfce pannel's buttons for exit/reboot/shutdown now work properly.
Mmc devices can now be mounted from the icon on xfce desktop -
permission was denied before.
If elogind is to be Devuan's default, then, for consistency,
another DM than slim should be the default, and task-xfce-desktop should
be modified acordingly.
Dng mailing list