[LIVE] Policykit tweaks, reboot multiple users, etc. - please add to XBMC Live
#1
I need some adjustments to the policykit to get my system to work correctly. This have been in flux for the last few ubuntu version making this area a bit tricky. Very strange strategy but here we are.

NB: I run a gui in the background, these tweaks are not necessary for a pure device setup(?).

1) XBMC reboot does not work when multiple sessions active.
(ssh is ok for some reason but not NX and I assume not VNC)

fix:
Quote:sudo nano /usr/share/polkit-1/actions/org.freedesktop.consolekit.policy

<allow_active>auth_admin</allow_active> ==> <allow_active>yes</allow_active>
for stop-muliple-users & restart-multipel-users
2) Cannot unmount /mount / remove safely disks from GUI.

fix :
Quote:sudo nano /usr/share/polkit-1/actions/org.freedesktop.udisks.policy

org.freedesktop.udisks.filesystem-mount
<allow_inactive>yes</allow_inactive>?
<allow_active>yes</allow_active>


org.freedesktop.udisks.filesystem-unmount-others
<allow_active>yes</allow_active>

<action id="org.freedesktop.udisks.drive-'detach">
<allow_inactive>yes</allow_inactive>?
<allow_active>yes</allow_active>

Not sure why I am not prompted for password, a missing gnome package?
3)?? anything else needed?
Reply
#2
OK, aftersome tesing I think I have the necessary setup now.

Why dont I get a prompt for sudo password/unlock instead of "not autorized", do I miss a gnome package for this?

Quote:sudo nano /usr/share/polkit-1/actions/org.freedesktop.udisks.policy



org.freedesktop.udisks.filesystem-mount
<allow_inactive>yes</allow_inactive>?
<allow_active>yes</allow_active>


org.freedesktop.udisks.filesystem-unmount-others
<allow_active>yes</allow_active>

<action id="org.freedesktop.udisks.drive-'detach">
<allow_inactive>yes</allow_inactive>?
<allow_active>yes</allow_active>

No idea why some allow_inactice is needed...but it is.
Reply

Logout Mark Read Team Forum Stats Members Help
[LIVE] Policykit tweaks, reboot multiple users, etc. - please add to XBMC Live0