FS#25085 - [polkit-gnome] Unable to unlock some privileged applications using PolicyKit.

Attached to Project: Arch Linux
Opened by Green (The_Green_Arrow) - Saturday, 09 July 2011, 16:05 GMT
Last edited by Ionut Biru (wonder) - Saturday, 09 July 2011, 20:39 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
In gpk-application, I can't get the authentication graphical box in order to unlock some actions that required admin privileges. All I have is this error message : "Failed to obtain authentication"
Another symptom is, for example, the unlock button (in User Accounts gnome control center) that is ineffective.
Might it be related to some gtk3 missing components related to policykit ?


Additional info:
* Gnome in fallback mode.
* polkit & polkit-gnome 0.101-2
* gnome-packagekit 3.0.3-1
This task depends upon

Closed by  Ionut Biru (wonder)
Saturday, 09 July 2011, 20:39 GMT
Reason for closing:  Not a bug
Comment by Ionut Biru (wonder) - Saturday, 09 July 2011, 16:55 GMT
can you at least provide the login method? gdm, ~/.xinitrc anything?
Comment by Green (The_Green_Arrow) - Saturday, 09 July 2011, 19:17 GMT
Sorry,
Session is starded using GDM.
Don't know it is relevant but gnome-fallback has also been modified to use compiz as a windowmanager and notification-daemon has been removed from the RequiredProviders array in /usr/share/gnome-session/sessions/gnome-fallback.session :

RequiredComponents=gnome-panel;gnome-settings-daemon;
RequiredProviders=windowmanager;
DefaultProvider-windowmanager=compiz
DefaultProvider-notifications=notification-daemon

Comment by Ionut Biru (wonder) - Saturday, 09 July 2011, 19:26 GMT
do a ps ax | grep polkit-gnome-authentication-agent-1

is it running?

if not, then is not starting because of the starting condition from /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop or because you disabled it from gnome-session-properties.

AutostartCondition=GNOME3 if-session gnome-fallback
Comment by Green (The_Green_Arrow) - Saturday, 09 July 2011, 20:20 GMT
Well, the first command returns nothing, so I guess it's not running...
I did not disable anything related to polkit in gnome-session-properties.
I've opened /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop and there is this line at the end :
AutostartCondition=GNOME3 if-session gnome-fallback

Should I comment it ?
Comment by Ionut Biru (wonder) - Saturday, 09 July 2011, 20:23 GMT
yes
Comment by Green (The_Green_Arrow) - Saturday, 09 July 2011, 20:25 GMT
Sorry !
I've just realized I had to rename my gnome-fallback.session file to gnome.session to force gnome to use gnome-fallback (because once I couldn't connect to normal session, and that was the only way to login).
So I guess the autostart condition if-session is based on the name of the session file.
Comment by Ionut Biru (wonder) - Saturday, 09 July 2011, 20:27 GMT
the idea is that with standard packages provided in our repos for gnome, that autostart condition works fine with fallback mode.

Comment by Green (The_Green_Arrow) - Saturday, 09 July 2011, 20:30 GMT
I've just changed back to gnome-fallback name (and force fallback mode in gnome control center) and everything is working fine now.... ;)
Thanks for your help ;)

Loading...