You are not logged in.

#1 2012-09-26 11:08:45

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 470

[FIXED BY UPDATE] shutdown and reboot not in the menu

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

#2 2012-09-26 22:24:20

bart_b
Member
Registered: 2012-06-16
Posts: 20

Re: [FIXED BY UPDATE] shutdown and reboot not in the menu

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 1

Offline

#3 2012-09-26 22:37:57

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [FIXED BY UPDATE] shutdown and reboot not in the menu

shulamy wrote:

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

#4 2012-09-27 10:10:01

faidoc
Package Maintainer (PM)
From: Spain
Registered: 2009-02-18
Posts: 32
Website

Re: [FIXED BY UPDATE] shutdown and reboot not in the menu

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

#5 2012-09-27 10:24:36

faidoc
Package Maintainer (PM)
From: Spain
Registered: 2009-02-18
Posts: 32
Website

Re: [FIXED BY UPDATE] shutdown and reboot not in the menu

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

#6 2012-09-28 22:47:59

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 470

Re: [FIXED BY UPDATE] shutdown and reboot not in the menu

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

#7 2012-09-28 22:51:42

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [FIXED BY UPDATE] shutdown and reboot not in the menu

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

#8 2012-10-19 21:14:44

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 470

Re: [FIXED BY UPDATE] shutdown and reboot not in the menu

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

Board footer

Powered by FluxBB