Bug 750530 - polkit-gnome-1-WARNING **: Unable to determine the session we are in:
Summary: polkit-gnome-1-WARNING **: Unable to determine the session we are in:
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: polkit-gnome
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: David Zeuthen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-01 13:56 UTC by ConlinDoctrine
Modified: 2013-03-06 04:08 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-06 20:08:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Authorzation failed window. (19.96 KB, image/png)
2011-11-01 13:56 UTC, ConlinDoctrine
no flags Details

Description ConlinDoctrine 2011-11-01 13:56:53 UTC
Created attachment 531137 [details]
Authorzation failed window.

Description of problem:

Add/Remove Software doesn't prompt for authentication and install fail with message:

"Authorization failed
You have failed to provide correct authentication.
Please check any passwords or account settings.

More details
Failed to obtain authentication."

I believe the root cause has to do with polkit-gnome-authentication-agent-1 being unable to start *when a desktop environment other than the default at install* is in use.

I started out with Gnome3, but am now using Gnome Classic with Compiz. Perhaps most relevantly, if I switch back to Gnome3 packagekit prompts for authentication and installs packages as expected.

Authentication Agent is selected in the "Startup Programs" tab of the gnome-session-properties panel, but is not running.

When I attempt to start it manually via:

$ sudo /usr/libexec/polkit-gnome-authentication-agent-1, I get the message:

(polkit-gnome-authentication-agent-1:23011): polkit-gnome-1-WARNING **: Unable to determine the session we are in:
GDBus.Error:org.freedesktop.ConsoleKit.Manager.Gen eralError: Unable to lookup session information for process '23011'

When I attempt to start it manually via:

$ su
# /usr/libexec/polkit-gnome-authentication-agent-1, I get the message:

g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Terminated

Version-Release number of selected component (if applicable):
NA

How reproducible:
100%

Steps to Reproduce:
1. Install FC15
2. Change to a desktop environment other than the one installed by default
3. Try to add software via Add/Remove Software
  
Actual results:
Software install fails without prompting for authentication.

Expected results:
Add/Remove Software prompts for authentication, then installs software.

Additional info:

Comment 1 ConlinDoctrine 2011-11-01 14:17:17 UTC
Install via:

$ sudo gpk-application

completes successfully.

Comment 2 Fedora End Of Life 2012-08-06 20:08:17 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 15. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 15 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Fedora End Of Life 2012-08-06 20:08:17 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 15. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 15 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.