Hi everyone, so almost everything works fine on my paldo but there is one problem, the case is that paldo passed through a transaction to the world of policykit and yet it's not well implemented, the default installation forgets to add the user to simple polkit authorizations and so the default user can't even set a system connection configuration for networkmanager through GUI
But it can be easily fixed through sudo polkit-auth --user $YOUR_USER --grant $ACTION_ID
But I've got a bigger problem, On my paldo 1.18+ I can suspend and hibernate with no problems at all through hal
* sudo pm-suspend
* sudo pm-hibernate
Now I've got gnome-do (docky) on my paldo and it works amazingly good as a dock, later I'll post the specs I've created and I do advise people to get it installed, it makes gui works in another dimension, back to the problem: So instead of doing ALT+F2 sudo pm-suspend to suspend -i tried META+space Suspend on docky and it didn't work and gave me an error on gnome-power-manager so I went to the terminal and tried to use the gnome-power-manager to suspend:
Code | [In neuem Fenster öffnen] |
|
[diogo@hp-laptop:~]$ gnome-power-cmd.sh suspend
Suspending
Error org.freedesktop.DBus.GLib.UnmappedError.GTypePrivateGTypeFlags.Code0: not authorized
Failed
[diogo@hp-laptop:~]$
|
So I found out that I couldn't suspend because of polkit authorization
the code behind /usr/bin/gnome-power-cmd.sh provides the information where it tries to suspend, hibernate with the polkit action_id org.freedesktop.PowerManagement.$ACTION
The problem is " THERE ISN'T THIS ACTION_ID IN HERE "
This way I couldn't allow me through : sudo polkit-auth --user diogo --grant org.freedesktop.PowerManagement.suspend
So how to fix it? I tried to create a /usr/shace/PolicyKit/policy/org.freedesktop.PowerManagement.policy but it kept failing for no reason
The weird is that gnome should use the same action_id to do shutdown and reboot, but these are working after I allowed me to use the action_id org.freedesktop.consolekit.system.stop and org.freedesktop.consolekit.system.restart
..............................
OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez