Bug 681321

Summary: xauth can't open ~/.Xauthority (not allowed?!)
Product: [Fedora] Fedora Reporter: Horst H. von Brand <vonbrand>
Component: xorg-x11-xauthAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: mcepl, xgl-maint
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-03-07 15:16:50 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:

Description Horst H. von Brand 2011-03-01 18:42:24 UTC
Description of problem:
I logged into Gnome via XDM (GDM is shot right now), and I get:

$ xauth -i -v list
xauth:  /home/vonbrand/.Xauthority not writable, changes will be ignored
$ ls -lZ ~/.Xauthority
-rw-------. vonbrand vonbrand system_u:object_r:xdm_home_t:s0  /home/vonbrand/.Xauthority

SElinux is targeted + enforcing, but sems not to complain.

The "can't write" is total nonsense, as nobody is asking for changes anyway. But it should show its contents.

Version-Release number of selected component (if applicable):
xorg-x11-xdm-1.1.6-22.fc15.x86_64
xorg-x11-xauth-1.0.2-9.fc15.x86_64
selinux-policy-targeted-3.9.15-2.fc16.noarch

How reproducible:
Always

Steps to Reproduce:
1. xauth list
2.
3.
  
Actual results:
Error message, can't open ~/.Xauthority for writing

Expected results:


Additional info:
For some strange reasion, ck-list-sessions thinks I'm not local:
$ 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-03-01T18:22:17.471202Z'
	login-session-id = '1'
(Yes, I think I will have to reinstall to fix this one)

Comment 1 Matěj Cepl 2011-03-07 15:16:50 UTC
Yes, XDM cannot use ConsoleKit. Closing this bug as duplicate of bug 237621.

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