Hi Chris,

Thanks for the quick help. The output of ck-list-sessions is:

m...@purple:~$ ck-list-sessions
Session2:
        unix-user = '1000'
        realname = 'Marco van Leeuwen,,,,'
        seat = 'Seat1'
        session-type = ''
        active = TRUE
        x11-display = ':0'
        x11-display-device = '/dev/tty7'
        display-device = ''
        remote-host-name = ''
        is-local = TRUE
        on-since = '2009-12-29T15:39:43.014351Z'
        login-session-id = ''

-------------------------------
I messed up one of the filenames in my earlier report.

/usr/share/PolicyKit/policy/org.freedesktop.policykit.policy

does not contain the lines I gave above.

The actual file I edited 
/usr/share/polkit-1/actions/org.freedesktop.consolekit.policy

now the 'stop' section reads:
  <action id="org.freedesktop.consolekit.system.stop">
    <description>Stop the system</description>
    <message>System policy prevents stopping the system</message>
    <defaults>
      <allow_any>yes</allow_any>
      <allow_inactive>yes</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

I also tried without the <allow_any> line, but neither seems to work.

-- 
[Karmic] Shutdown/restart from gnome menu does not work
https://bugs.launchpad.net/bugs/501294
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to