• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinoLinux ApplicationsShut down doesn’t work after available updat ...
Previous Next

Shut down doesn’t work after available updates using Synaptic package manager

Posted by: admin , July 29, 2014

Q: After updating all the available updates using Synaptic package manager shut down no longer works?

The steps I did are following:

1. Open Synaptic Package manager
2. Press reload button
3. Mark all updates
4. Apply and install etc
5. Try to shut down or reboot using power icon in task bar.

A:

The original image of lubuntu has some issues regarding the shutdown using non-root user.  The image of pcDuino fixed this issue. However, it got overwritten when you did update through synaptic package manger.

We can modify /usr/share/polkit-1/actions/org.freedesktop.consolekit.policy to address this issue.

Change auth_admin_keep to be yes
— ./orig/org.freedesktop.consolekit.policy 2013-03-20 01:55:53.000000000 +0000
+++ /usr/share/polkit-1/actions/org.freedesktop.consolekit.policy       2013-02-02 13:52:20.000000000 +0000
@@ -23,7 +23,7 @@
<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>   // original
+      <allow_active>yes</allow_active>               // modified
     </defaults>
</action>

@@ -41,7 +41,7 @@
<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>

 

 

Tags: Linux Applications

Share!
Tweet

admin

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors