Bug 679392

Summary: system-config-users complains no X is running (?!)
Product: [Fedora] Fedora Reporter: Horst H. von Brand <vonbrand>
Component: system-config-usersAssignee: Nils Philippsen <nphilipp>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: nphilipp
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: 2011-02-26 01:16:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Horst H. von Brand 2011-02-22 13:25:44 UTC
Description of problem:
Running system-config-users from a Terminal under XFCE first asks for the root password, after accepting that it goes:

$ system-config-users 
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keysystem-config-users requires a currently running X server.

Version-Release number of selected component (if applicable):
system-config-users-1.2.107-2.fc15.noarch

How reproducible:
Tried twice to run it via XFCE Menu -> Administration -> Users and Groups to no avail, tried from a Terminal to check.

Steps to Reproduce:
1. system-config-users
2. Give root password when asked
3.
  
Actual results:
Goes down

Expected results:
Configure users and groups

Additional info:
It looks like my account has issues with permissions here (i.e., I can't use NetworkManager to configure network interfaces, wodim complains it can't access /dev/cdrw), that's why I tried to look into this here.

Comment 1 Horst H. von Brand 2011-02-26 01:16:49 UTC
The underlying problem seems to be that ConsoleKit thinks that I'm not connected locally:

$ ck-list-sessions 
Session1:
	unix-user = '501'
	realname = 'Horst H. von Brand'
	seat = 'Seat2'
	session-type = ''
	active = FALSE
	x11-display = ':0'
	x11-display-device = '/dev/tty7'
	display-device = ''
	remote-host-name = ''
	is-local = FALSE
	on-since = '2011-02-26T01:09:14.777587Z'
	login-session-id = '1'

This is being discussed at #679393

*** This bug has been marked as a duplicate of bug 679393 ***