X-Git-Url: http://www.opopop.net/cgi-bin/gitweb.cgi?p=reminder;a=blobdiff_plain;f=Debian_Bookworm_with_Mate_and_the_shepherd_init_system%2FREADME.elogind;h=0000000000000000000000000000000000000000;hp=c65190d7e85513fb4638775369cd617ca433c953;hb=9d4a0c57790e26347b5ee7085a9a4966711775eb;hpb=0f720d75db75e848e5090facbc1221fdeb04f456 diff --git a/Debian_Bookworm_with_Mate_and_the_shepherd_init_system/README.elogind b/Debian_Bookworm_with_Mate_and_the_shepherd_init_system/README.elogind deleted file mode 100644 index c65190d..0000000 --- a/Debian_Bookworm_with_Mate_and_the_shepherd_init_system/README.elogind +++ /dev/null @@ -1,37 +0,0 @@ -Shepherd and Mate: restore suspend/poweroff/reboot, automounting drives -======================================================================= - -lightdm and Mate will offer that automatically or with a click on a -menu. But today they will ask directly systemd for these functions, -and that won't work with shepherd. - -Package elogind is intended to help you in that case, but it has a -conflict with systemd (which has the competing executable -systemd-logind). In the case of running shepherd-debian with -systemd-sysv as the failsafe init system, this is not a real conflict, -so I offer also a modified elogind package (with dependencies -libpam-elogind and libelogind0) which you can install. It uses -alternatives to not clobber original systemd files, and elogind-daemon -is dbus activated. - -In the case of Mate, you still have a polkit issue -(polkit-mate-authentication-agent-1 can't be launched, so no -authentication window). This can be solved by editing these files: - -/usr/share/polkit-1/actions/org.freedesktop.login1.policy - -/usr/share/polkit-1/actions/org.freedesktop.UDisks2.policy - -and setting the appropriate "allow_any" and "allow_inactive" to -"yes". See files login1.patch and udisk2.patch for a minimal set of -mofifications. - -For halt/reboot, you have also to add the following script in -/lib/elogind/system-shutdown: - -#! /bin/sh -if [ "$1" = "reboot" ]; then - /sbin/reboot -elif [ "$1" = "poweroff" ]; then - /sbin/halt -fi