You are not logged in.
I apologize if this has been addressed in one of the many threads about hal/policykit but I could not find anything that helped.
When I start Authorizations in the menu, under Explicit Authorizations I can click on grant and select my user. When I click on Grant to apply the changes, nothing happens when I click - it pops in and out with no effect.
This is my policykit.conf
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd">
<!-- See the manual page PolicyKit.conf(5) for file format -->
<config version="0.1">
<match user="root">
<return result="yes"/>
</match>
<define_admin_auth group="wheel"/>
</config>
My user is in groups policykit, wheel, and hal (among others, I thought those are the relevant ones).
Last edited by proxima_centauri (2009-05-08 22:31:35)
Thinkpad T61p - 15.4' WSXGA TFT - 2.5Ghz Intel Core2 Duo T9300 - 2X2GB Kingston RAM - 160GB 7200RPM - NVIDIA Quadro FX 570m - Intel 4965AGN
Offline
I am having the exact same issue! Hope this gets fixed soon I will try and do a little more research later.
Offline
Good to know I'm not the only one.
Thinkpad T61p - 15.4' WSXGA TFT - 2.5Ghz Intel Core2 Duo T9300 - 2X2GB Kingston RAM - 160GB 7200RPM - NVIDIA Quadro FX 570m - Intel 4965AGN
Offline
Yes changing settings from the Authorizations GUI doesn't seem to work, you have to edit the settings manually from the PolicyKit files.
Offline
This is my first post here..because I ever found solutions in this forum!!
I had the same problem on a new arch installation.
Another pc with arch installed has not that problem.
So I found that the grant for the identifier org.freedesktop.policykit.modify-defaults was missing.
I found the command polkit-auth to set everything by shell.
I copied the same configuration of the "old" installation and by root:
polkit-auth --user luca --grant org.freedesktop.policykit.modify-defaults --constraint local --constraint active --constraint exe:/usr/bin/polkit-gnome-authorization
solved the problem, I think...and I hope!
P.S.
Sorry for my English.. I'm Italian.
Last edited by nuciluc (2009-05-06 09:31:06)
Offline
I copied your command (substituting my username where you had luca) and unfortunately it did not solve my problem .
The Grant button still pops in and out with no effect.
Thinkpad T61p - 15.4' WSXGA TFT - 2.5Ghz Intel Core2 Duo T9300 - 2X2GB Kingston RAM - 160GB 7200RPM - NVIDIA Quadro FX 570m - Intel 4965AGN
Offline
If you go on org.freedesktop.policykit.modify-defaults, do you view an explicity authorizations with your name?
Anyway, you said Grant Button.
So you had to type this command as root:
polkit-auth --user luca --grant org.freedesktop.policykit.grant --constraint local --constraint active --constraint exe:/usr/bin/polkit-gnome-authorization
Hope it helps.
Offline
There's a bug in polkit-gnome-authorization that results in the Authenticate dialog not appearing when Grant... is clicked (see http://bugs.archlinux.org/task/14610). One workaround is to edit Policykit.conf and temporarily give your user the right to do everything, e.g.:
<config version="0.1">
<match user="root">
<return result="yes"/>
</match>
<define_admin_auth group="wheel"/>
<match user="<your_user>">
<return result="yes"/>
</match>
</config>
Offline
Yes, this fixed the issue azleifel
I thought I had seen and tryed a similar solution before, but I guess not.
Thank you.
Thinkpad T61p - 15.4' WSXGA TFT - 2.5Ghz Intel Core2 Duo T9300 - 2X2GB Kingston RAM - 160GB 7200RPM - NVIDIA Quadro FX 570m - Intel 4965AGN
Offline