Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 677171

Summary: Don't start polkit-gnome-authentication-agent-1 in LXDE
Product: [Fedora] Fedora Reporter: Christoph Wickert <christoph.wickert>
Component: polkit-gnomeAssignee: David Zeuthen <davidz>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: davidz, mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gnome-session-2.91.90-3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-16 23:56:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 505781    

Description Christoph Wickert 2011-02-13 20:47:06 UTC
Description of problem:
/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop only contains
"NotShowIn=KDE;" and lacks "LXDE". This leads to bug reports as in bug 657006

Version-Release number of selected component (if applicable):
polkit-gnome-0.97-8.fc15

How reproducible:
always

Steps to Reproduce:
1. Install LXDE on a default Fedora installation
2. Log into LXDE
  
Actual results:
Error message from polkit-gnome-authentication-agent-1: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent
already exists for the given subject

Expected results:
polkit-gnome-authentication-agent-1 should not be started in LXDE by default.

Comment 1 Christoph Wickert 2011-04-16 23:56:44 UTC
This was fixed by moving the /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop into the gnome-session package and making it OnlyShowIn=GNOME. For more info refer to http://lists.fedoraproject.org/pipermail/devel-announce/2011-February/000758.html

I don't really like this solution but it fixes the problem for LXDE.