Bug 1401310

Summary: X resources not re-read after logout
Product: [Fedora] Fedora Reporter: David Levine <levinedl>
Component: xorg-x11-xinitAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 25CC: hdegoede, levinedl, negativo17, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-15 14:23:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description David Levine 2016-12-04 15:26:10 UTC
Description of problem:
X resources disappear after logout.

Version-Release number of selected component (if applicable):
xorg-x11-xinit-1.3.4-12.fc25.x86_64
I'm not sure if this is the proper component to report this issue.

How reproducible:

Steps to Reproduce:
1. log in
2. log out
3. log in
4. run xrdb

Actual results:
$ xrdb -q

Xft.antialias:  1
Xft.hintstyle:  hintfull
Xft.rgba:       none
Xcursor.theme:
Xcursor.size:   0
Xcursor.theme_core:     1

Expected results:
I expect to see, in the output of xrdb -q, all of the resources that are in my ~/.Xresources.  I do see all of them after logging in the first time (after booting).  But they have disappeared by the second login.

Additional info:

Comment 1 David Levine 2016-12-04 15:29:10 UTC
This problem first appeared for me in Fedora 25.  I updated all packages today, and the problem is still here.

Comment 2 David Levine 2016-12-07 16:47:01 UTC
This really should be medium Severity (and medium priority), but I can't seem to edit those fields.

Comment 3 Hans de Goede 2016-12-14 12:44:12 UTC
Hi,

What desktop environment are you using and how are you logging in ? The xinitrc scripts do not care if this is your first login or not, so I think the problem lies somewhere else.

Are you perhaps using GNOME on wayland ?

Regards,

Hans

Comment 4 David Levine 2016-12-14 19:33:43 UTC
I wouldn't be surprised if the problem is elsewhere, but I didn't think of a better place to start.

I'm running xfce and the default graphical login.

Thank you!

David

Comment 5 Hans de Goede 2016-12-15 13:33:09 UTC
Hi,

(In reply to David Levine from comment #4)
> I wouldn't be surprised if the problem is elsewhere, but I didn't think of a
> better place to start.
> 
> I'm running xfce and the default graphical login.

I think this is likely a bug with the graphical login manager, if you're using the XFCE spin then you're likely using lightdm. Try doing "rpm -q lightdm" if that gives output other then "package lightdm is not installed"
then you're indeed using lightdm.

You may want to try gdm instead (to pin things down to lightdm), do:

sudo dnf install gdm
sudo systemctl disable lightdm.service
sudo systemctl enable gdm.service
reboot

And see if that fixes things, to go back to lightdm, swap the enable / disable and (optionally) do:
sudo dnf remove gdm

Regards,

Hans

Comment 6 David Levine 2016-12-15 14:23:56 UTC
Yes, I was using lightdm, and gdm does indeed fix the issue.  I will file a bug against lightdm.

Thank you!

David