I'm dual booting win7 and Ubuntu(12.04 LTS) but when I'm shutting down/restarting Ubuntu to switch OS I only get to the log-out screen. I can turn the computer off with the power button but I would like to be able to do it the normal way.
I had the same problem with machines authenticating via Kerberos.
You should see a log entry in
is controlling the behavior of this. There are 4 entrys
And the values for each entry
They mean shutting down and rebooting the system and shutdown/reboot when others user are logged in too (to check type
By default a local logged in user can reboot/shutdown the system, but when there are other sessions, for example an open SSH session and you try to reboot the system, you will be logged out instead. Then you have to set in entries
will be overwritten when policykit is updated. You can add local configuration somewhere under /etc/polkit-1/localauthority.
I added a file /etc/polkit-1/localauthority/50-local/50-com.[my name].pkla with the following contents:
This makes it possible for everyone to restart or shutdown even though other users are logged in.
See also the manpages:
You can use command line to shut down pc in normal way.