Comment 2 for bug 368594

Revision history for this message
Russell Phillips (ignissport) wrote :

PolicyKit is definitely installed.

In MythTV, the "Exit & Shutdown" button calls the script '/usr/share/mythtv/myth-halt.sh'. It contains the following line:

dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Shutdown

Now it seems obvious - this ONLY happens when I'm also logged in through SSH (which explains the whole 'multiple user' thing)

However, it doesn't prompt to auth as admin (the user running as GUI is a sudoer). When I tell MythTV to shutdown, it exits back to the desktop. When I select shutdown from the xfce menu, it displays the following message:

Unable to perform shutdown
org.freedesktop.hal.power-management.shutdown-multiple-sessions auth_admin <-- (action, result)