Re: [gentoo-user] Re: Trying to shutdown/reboot computer from gnome

2010-06-23 Thread dhk
On 04/23/2010 06:13 AM, Damian wrote:
 Damian damian.o...@gmail.com writes:
 
 Currently I cannot turn off the computer, nor reboot using gnome 2.28.2.
 Googling around it seems that it is a polkit related problem. I've tried
 to do what is mentioned here:
 
 http://www.linuxquestions.org/questions/linux-mint-84/authentication-to-restart-and-turn-off-789357/

 But polkit-auth --show-obtainable shows nothing.

 I'm running gnome via startx, and the .xinitrc file looks like this:
 export XDG_MENU_PREFIX=gnome-
 exec ck-launch-session gnome-session

 Could anybody manage to get this working?
 Ok, the problem seemed to be gone after the addition of the gnome, polkit,
 policykit, and consolekit use flags. I don't know which flag got it
 working.
 
 
 

I have the same problem.  The shutdown option disappeared as an option
from the menu about the same time as this email and a gnome release.  It
just took a few months to get around to it.  I have gnome built with
policykit (see below), but still no shutdown option.  I have to log in
as root to shutdown properly.

# emerge -pv gnome

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] gnome-base/gnome-2.28.2  USE=cdr cups policykit
-accessibility -dvdr -ldap -mono 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Also why doesn't alacarte have shutdown and some other stuff for adding
and removing in the main menu?

Shutting down from the gnome desktop would make things easier.  How can
I get that option back?

Thanks,

--dhk





[gentoo-user] Re: Trying to shutdown/reboot computer from gnome

2010-04-23 Thread Damian
Damian damian.o...@gmail.com writes:

 Currently I cannot turn off the computer, nor reboot using gnome 2.28.2.
 Googling around it seems that it is a polkit related problem. I've tried
 to do what is mentioned here:
 
 http://www.linuxquestions.org/questions/linux-mint-84/authentication-to-restart-and-turn-off-789357/

 But polkit-auth --show-obtainable shows nothing.

 I'm running gnome via startx, and the .xinitrc file looks like this:
 export XDG_MENU_PREFIX=gnome-
 exec ck-launch-session gnome-session

 Could anybody manage to get this working?
Ok, the problem seemed to be gone after the addition of the gnome, polkit,
policykit, and consolekit use flags. I don't know which flag got it
working.