You are not logged in.
like https://bbs.archlinux.org/viewtopic.php?id=147388
but in gnome fallback mode.
and i have systemd-sysvcompat.
ezik
Last edited by shulamy (2012-10-19 21:15:51)
Offline
So create your own shutdown scripts by calling a qdbus command from a bash script like:
#!/bin/bash
# reboots
qdbus org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout 0 1 1
#or for halt
#!/bin/bash
qdbus org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout 0 2 1Offline
but in gnome fallback mode.
That other topic refers to KDE, not Gnome. What else have you tried?
(Or is "gnome fallback mode" a KDE thing?)
Last edited by 2ManyDogs (2012-09-26 22:42:59)
Offline
I think I have this same problem with Cinnamon.
I changed to a full systemd and when I was trying to shutdown or reboot, I had to put my password. Then, I installed the testing polkit package. Now I can do "shutdown" or "reboot" from the terminal without been asking for a password... but in the Cinnamon Menu, when trying to shutdown, it only appears Suspend and Hibernate.
I have installed systemd-sysvcompat and the poweroff and reboot comands links to systemctl
Offline
Ok, I think I solved my problem.
I came back to polkit 0.105 and in /etc/systemd/logind.conf I changed to "yes" -> KillUserProcesses=yes
Now I have shutdown and reboot in my cinnamon menu. No password is asked but when another user is actually logged in
Last edited by faidoc (2012-09-27 10:25:18)
Offline
bart_b: and how do i create a button for it on the shutdown menu?
2ManyDogs: that's why i opened a new thread with reference.
faidoc: i tried what you did and it didn't work.
the whole file was commented so i uncommented your line and changed to "yes".
i also uncommented the "HandlePowerKey=poweroff" line and logged out but it didn't work as well.
i can shutdown from terminal
and i have "This system will be automatically shut down in 60 seconds" message, that works.
ezik
Offline
This sounds like a consolekit problem. Beyond that I have no idea, as I am not a gnome user. I do know that they are moving toward fully systemd logind support, which will render consolekit obsolete at that point. So maybe this is a transitional issue?
Offline
as i thought it was a gnome thing
and it is fixed in today's update.
ezik
Last edited by shulamy (2012-10-19 21:16:20)
Offline