Bug 1401310 - X resources not re-read after logout
Summary: X resources not re-read after logout
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-xinit
Version: 25
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-04 15:26 UTC by David Levine
Modified: 2016-12-15 14:23 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-15 14:23:56 UTC
Type: Bug


Attachments (Terms of Use)

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


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