Bug 462160

Summary: session is never active
Product: [Fedora] Fedora Reporter: Sean Middleditch <sean>
Component: gdmAssignee: jmccann
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: cschalle, kasal, mclasen, notting, petersen, pierre-bugzilla, rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-17 14:59:19 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: 446447    

Description Sean Middleditch 2008-09-13 05:49:27 UTC
ConsoleKit always thinks my session is not active.  As system policy requires that only the active session can perform certain useful functions (like turning off the computer), this is a major problem.

ConsoleKit-0.3.0-1.fc10.x86_64
gdm-2.23.92-3.fc10.x86_64
gnome-session-2.23.92-1.fc10.x86_64
kernel-2.6.27-0.312.rc5.git7.fc10.x86_64
kernel-2.6.27-0.323.rc6.fc10.x86_64
PolicyKit-0.9-2.fc10.x86_64
udev-127-1.fc10.x86_64

elanthis@localhost:~$ ck-list-sessions 
Session2:
	unix-user = '500'
	realname = 'Sean Middleditch'
	seat = 'Seat3'
	session-type = ''
	active = FALSE
	x11-display = ':0'
	x11-display-device = ''
	display-device = ''
	remote-host-name = ''
	is-local = TRUE
	on-since = '2008-09-13T05:30:59.469783Z'
	login-session-id = '1'

I'm logging in using GDM.  When trying to shutdown with GDM or from the Panel, I get the following message (this one specifically is from the Panel):
Sep 13 01:48:19 localhost gnome-session[2923]: WARNING: Unable to stop system: Not privileged for action: org.freedesktop.consolekit.system.stop no

Comment 1 Ray Strode [halfline] 2008-09-15 13:57:31 UTC
This should be fixed in gdm-2.23.92-4.fc10

Comment 2 Ray Strode [halfline] 2008-09-15 14:39:06 UTC
*** Bug 462287 has been marked as a duplicate of this bug. ***

Comment 3 Ray Strode [halfline] 2008-09-15 14:39:44 UTC
*** Bug 462286 has been marked as a duplicate of this bug. ***

Comment 4 Pierre Ossman 2008-09-15 15:51:37 UTC
Confirmed working with latest update.

Comment 5 Matthias Clasen 2008-09-16 17:02:21 UTC
*** Bug 453436 has been marked as a duplicate of this bug. ***

Comment 6 Jens Petersen 2008-09-17 00:44:39 UTC
Looks good to me too (tested with gdm-2.23.92-6.fc10).

Comment 7 Sean Middleditch 2008-09-17 02:43:29 UTC
indeed, fixed for me too.  thank you!

Comment 8 Matthias Clasen 2008-09-17 14:59:19 UTC
Lets close this then