You are not logged in.
with the "new" systemd setup suspend, hibernate, reboot, and poweroff promts the user if more than one session is active.
==== AUTHENTICATING FOR org.freedesktop.login1.suspend ===
Authentication is required for suspending the system.
Authenticating as: Sigurt Bladt Dinesen,,, (bladt)
Password:If I kill X, or call "systemctl restart slim", the next time I try one of the power commands I get prompted for my password.
As I understand it, it either means that I'm not in a "systemd-logind session" or that several users are.
What is wrong, and what can I do?
Last edited by Bladtman242 (2013-01-12 20:45:03)
Offline
Please use the search function of the forums.
Offline
Either you didn't actually read my question, or I suck at searching.
"authenticate" no luck
"polkit" no luck
"restart x" no luck
"freedesktop" no luck
If you know about a thread that I can't find, a link sure would be useful.
Offline
Well, I sure as hell am not going to search for you. But there is a bug with slim and it doesn't fully log you out from your session. So it appears to the system as though a second user is still kind of logged in. This has been discussed a few times on these forums.
Offline
I can't find those threads searching for variations of slim, slim restart x, slim polkit.
I tried setting slim options:
topsessionstart_cmd /usr/bin/sessreg -a -l $DISPLAY %USER
topsessionstop_cmd /usr/bin/sessreg -d -l $DISPLAY %USERBut it didn't help.
Perhaps some systemd command should be used?
The wiki page for slim says that slim, per default, used the systemd systems for sessions now, so I find it weird that it doesn't work.
Offline