Bug 1405080 - X resources not re-read after logout
Summary: X resources not re-read after logout
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lightdm
Version: 25
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-15 14:30 UTC by David Levine
Modified: 2017-01-09 00:58 UTC (History)
4 users (show)

Fixed In Version: lightdm-1.18.3-1.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-09 00:58:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1599478 0 None None None 2017-01-03 21:52:34 UTC

Description David Levine 2016-12-15 14:30:15 UTC
Description of problem:
X resources disappear after logout.

Version-Release number of selected component (if applicable):
lightdm-1.18.2-1.fc25.x86_64

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:
This problem first appeared for me in Fedora 25.  I updated all packages on 4 December, and the problem remains.

Comment 1 Rex Dieter 2016-12-15 15:00:18 UTC
Pretty sure this is not lightdm's job/responsibility, what DE are you using?

Comment 2 David Levine 2016-12-15 15:22:18 UTC
I'm using xfce.

Replacing lightdm with gdm resolves the problem.  Though I don't doubt you, at this point that's all I have to go on.

Thanks.

Comment 3 Rex Dieter 2016-12-15 15:34:59 UTC
after you logout from your first (working) session, what does this say (as root or some other console user):

loginctl list-sessions

Does it still list your previous session as active?

If so, does this help?

loginctl kill-session <id>

(then try logging in again)

Comment 4 David Levine 2016-12-15 16:12:27 UTC
Yes, it still lists my previous session as active.

Killing the session does not help.  I verified that the kill was successful, as shown by loginctl list-sessions.

Comment 5 Ronald Wahl 2017-01-02 22:05:20 UTC
For me this issue was fixed with lightdm 1.18.3.

Comment 6 Ronald Wahl 2017-01-02 22:48:55 UTC
To extend my last comment a bit:

The specific issue here is probably this one:
  https://bugs.launchpad.net/lightdm/+bug/1599478

Further more lightdm 1.18.3 also fixes other issues reported here and two fixes are already queued for 1.18.4.

Latest release is 1.21.3

So I'd like to see an updated lightdm package. Thanks! :-)

Comment 7 David Levine 2017-01-03 00:19:32 UTC
Yes, an updated lightdm would be great!  Thanks!

Comment 8 Fedora Update System 2017-01-03 22:28:15 UTC
lightdm-1.18.3-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3f93b51235

Comment 9 David Levine 2017-01-04 01:26:41 UTC
I tried to install lightdm-1.18.3-1.fc25 but:

    error: Failed dependencies:
        lightdm-gobject(x86-64) = 1.18.3-1.fc25 is needed by lightdm-1.18.3-1.fc25.x86_64
        lightdm-greeter = 1.2 is needed by lightdm-1.18.3-1.fc25.x86_64

I forced the install of just lightdm-1.18.3, but then the system hung before displaying the login screen.

Comment 10 Rex Dieter 2017-01-04 03:13:18 UTC
You need to install both:
lightdm-1.18.3-1.fc25
and (at least):
lightdm-gobject-1.18.3-1.fc25

at the same time

or

just wait until the package gets pushed to updates (or updates-testing).

Comment 11 Rex Dieter 2017-01-04 03:30:58 UTC
Re: comment #6

FYI, fedora (25+) is currently tracking the 1.18 LTS branch (and f24 is tracking 1.10 LTS branch).  1.21 is the unstable/development branch (not suitable for stable distro releases).

Comment 12 Fedora Update System 2017-01-04 23:28:59 UTC
lightdm-1.18.3-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3f93b51235

Comment 13 David Levine 2017-01-05 02:48:43 UTC
lightdm-1.18.3-1.fc25 fixes the bug for me.  I left positive feedback.

Thank you, Rex.

Comment 14 Fedora Update System 2017-01-09 00:58:25 UTC
lightdm-1.18.3-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.


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