Gentoo Archives: gentoo-user

From: dhk <dhkuhl@×××××××××.net>
To: gentoo-user@l.g.o
Cc: Damian <damian.only@×××××.com>
Subject: Re: [gentoo-user] Re: Trying to shutdown/reboot computer from gnome
Date: Wed, 23 Jun 2010 11:05:32
Message-Id: 4C21E110.1000502@optonline.net
In Reply to: [gentoo-user] Re: Trying to shutdown/reboot computer from gnome by Damian
1 On 04/23/2010 06:13 AM, Damian wrote:
2 > Damian <damian.only@×××××.com> writes:
3 >
4 >> Currently I cannot turn off the computer, nor reboot using gnome 2.28.2.
5 >> Googling around it seems that it is a polkit related problem. I've tried
6 >> to do what is mentioned here:
7 >> http://www.linuxquestions.org/questions/linux-mint-84/authentication-to-restart-and-turn-off-789357/
8 >>
9 >> But polkit-auth --show-obtainable shows nothing.
10 >>
11 >> I'm running gnome via startx, and the .xinitrc file looks like this:
12 >> export XDG_MENU_PREFIX=gnome-
13 >> exec ck-launch-session gnome-session
14 >>
15 >> Could anybody manage to get this working?
16 > Ok, the problem seemed to be gone after the addition of the gnome, polkit,
17 > policykit, and consolekit use flags. I don't know which flag got it
18 > working.
19 >
20 >
21 >
22
23 I have the same problem. The shutdown option disappeared as an option
24 from the menu about the same time as this email and a gnome release. It
25 just took a few months to get around to it. I have gnome built with
26 policykit (see below), but still no shutdown option. I have to log in
27 as root to shutdown properly.
28
29 # emerge -pv gnome
30
31 These are the packages that would be merged, in order:
32
33 Calculating dependencies... done!
34 [ebuild R ] gnome-base/gnome-2.28.2 USE="cdr cups policykit
35 -accessibility -dvdr -ldap -mono" 0 kB
36
37 Total: 1 package (1 reinstall), Size of downloads: 0 kB
38
39 Also why doesn't alacarte have shutdown and some other stuff for adding
40 and removing in the main menu?
41
42 Shutting down from the gnome desktop would make things easier. How can
43 I get that option back?
44
45 Thanks,
46
47 --dhk