Andreas Messer wrote on 16.01.2018 22:24:
> since we have to test elogind now with various setups, KatolaZ asked me to
> write a short guide what needs to be tested. So here we go:
[snipped procedure]
I gave it a quick spin on my ascii VM with lightdm and XFCE:
1. Simply installing elogind caused no regressions, as expected.
2. With consolekit/policykit and elogind fully enabled:
- lightdm+XFCE graphical login:
* login, logout, poweroff, reboot, USB drive mount:
working (same as without elogind, or disabled elogind)
- ssh console login:
* screen sessions killed on logout
(regression, works with elogind disabled!)
* ssh-agent killed on logout
(regression, not killed with elogind disabled!)
* urban@vboxascii:~$ loginctl reboot
AUTHENTICATING FOR org.freedesktop.login1.reboot
Authentication is required for rebooting the system.
Authenticating as: ,,, (urban)
Password:
AUTHENTICATION COMPLETE
Failed to reboot system via elogind: Message recipient disconnected
from message bus without replying
urban@vboxascii:~$
Broadcast message from root@vboxascii (console) (Tue Jan 16 23:25:17
2018):
The system is going down for reboot NOW!
Connection to 192.168.2.167 closed by remote host.
* root@vboxascii:~# loginctl reboot
Failed to reboot system via elogind: Message recipient disconnected
from message bus without replying
root@vboxascii:~#
Broadcast message from root@vboxascii (console) (Tue Jan 16 23:52:22
2018):
The system is going down for reboot NOW!
Connection to 192.168.2.167 closed by remote host.
3. No consolekit/policykit, only elogind installed and activated
(not sure if that even makes any sense, but what the heck):
-lightdm+XFCE graphical login:
* login, logout: working
* GUI poweroff, reboot, USB mount: NOT working!
- ssh console login:
* screen sessions and ssh-agent killed on logout
* urban@vboxascii:~$ loginctl reboot
Failed to reboot system via elogind: The name org.freedesktop.PolicyKit1
was not provided by any .service files
TL;DR:
The only immediately noticeable regression caused by enabling elogind
in this setup was detached background processes (screen, ssh-agent)
being killed upon session termination; user mount, poweroff, and reboot
worked as expected.
HTH, best regards
Urban
--
Sapere aude!
_______________________________________________
Dng mailing list
[email protected]
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng