I found the issue.
It was a problem with system stop restart policies

I solved  it changing following actions to
<allow_active>yes</allow_active> (original was
<allow_active>auth_admin_keep</allow_active>) in file
/usr/share/polkit-1/actions/org.freedesktop.consolekit.policy

  <action id="org.freedesktop.consolekit.system.stop-multiple-users">
    <description>Stop the system when multiple users are logged in</description>
    <message>System policy prevents stopping the system when other users are 
logged in</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <!--<allow_active>auth_admin_keep</allow_active>-->
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.consolekit.system.restart-multiple-users">
    <description>Restart the system when multiple users are logged 
in</description>
    <message>System policy prevents restarting the system when other users are 
logged in</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <!--<allow_active>auth_admin_keep</allow_active>-->
      <allow_active>yes</allow_active> 
    </defaults>
  </action>

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/1059263

Title:
  Cannot reboot or shutdown system

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1059263/+subscriptions

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

Reply via email to