Re: [gpm] AC Power button power management preferences
- From: Patrick Doyle <wpdster gmail com>
- To: Richard Hughes <hughsient gmail com>
- Cc: gnome-power-manager-list gnome org
- Subject: Re: [gpm] AC Power button power management preferences
- Date: Fri, 25 Jun 2010 11:43:21 -0400
On Fri, Jun 25, 2010 at 10:01 AM, Richard Hughes <hughsient gmail com> wrote:
> On 25 June 2010 14:45, Patrick Doyle <wpdster gmail com> wrote:
>> Can anybody tell me why the options listed for "When the power button
>> is pressed" in gnome-power-preferences don't include "shut down".
>
> The only reason for it not appearing is because it's been disallowed
> in ConsoleKit. gnome-power-manager checks with consolekit if the
> current user is able to perform this type of operation, and if
> forbidden, it's hidden from the UI.
>
> The output of ck-list-sessions might be useful in this case.
>
> Richard.
>
Hi Richard,
Thank you for the response. Pasted below is the output from
ck-list-sessions. Session19 is my VNC session; Session1 is the
console login session. I'm not sure what this tells you (and it
certainly doesn't tell me much at all and "man ck-list-sessions"
doesn't help). I am 99.9% certain that the "Shutdown" option doesn't
show up when I'm logged in at the console, but I can double check that
(somewhat awkwardly), if you think that is what is needed.
--wpd
$ ck-list-sessions
Session19:
unix-user = '1000'
realname = 'Patrick Doyle'
seat = 'Seat19'
session-type = ''
active = FALSE
x11-display = ''
x11-display-device = ''
display-device = '/dev/ssh'
remote-host-name = 'perelandra.mit.edu'
is-local = FALSE
on-since = '2010-06-25T14:20:33.198174Z'
login-session-id = ''
Session1:
unix-user = '116'
realname = 'Gnome Display Manager'
seat = 'Seat1'
session-type = 'LoginWindow'
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2010-06-23T18:33:28.570526Z'
login-session-id = ''
idle-since-hint = '2010-06-23T18:38:23.763466Z'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]