After relogin lightdm don't read .Xresource

Bug #1605165 reported by Vladimir
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Light Display Manager
New
Undecided
Unassigned

Bug Description

Hello,

I'm using Archlinux x86_64 and lightdm, lighdm-gtk-greeter packages (archlinux specific way to package lightdm), ver. 1.18.2. Archlinux uses its own 'Xsession' file as session-wrapper but it don't drastically different from 'debian/lightdm-session' in sources, especially in the way how to deal with X resources.

Now the problem: if I log in into WM (I used awesome) and run xrdb I see my resources, if I log out and log in again then the next xrdb run don't show my X resources.

More details:

0. to see what is going on I made changes to /etc/lightdm/Xsession (session-wrapper) to output additional information to the file 'xsession-wrapper.log';

1. start with clean lightdm run, for example, after reboot or just restart lightdm service (archlinux uses systemd)

2. log into;

3. run xrdb
  xrdb -query > tmp/xrdb-query-3.log

4. log out;

5. log into again without restarting lightdm;

6. run xrdb again
  xrdb -query > tmp/xrdb-query-6.log

7. look into 'xsession-wrappper.log'

As one may see from attached files, after first login my X resources are read but after the next login they are somehow neglected.

Revision history for this message
Vladimir (lomov-vl) wrote :
Revision history for this message
Vladimir (lomov-vl) wrote :

The output from xrdb after the first login.

Revision history for this message
Vladimir (lomov-vl) wrote :

The output from xrdb after the second login.

Revision history for this message
Vladimir (lomov-vl) wrote :

Also checked in Lubuntu 16.04, the same behavior.

Revision history for this message
Anaximander Thales (chris-cuberootent) wrote :

I can add that I am having this exact issue as well. The difference between Vladimir and my setup is I'm on openbox instead of awesome.

I have lightdm 1.18.2-2, and lightdm-gtk-greeter 2.0.1-3.

I'm happy to edit the xsession to grab similar information that vladimir grabbed, but I'm not sure what I need to add in. If someone will let me know, I'll make the changes and upload the files.

Revision history for this message
Vladimir (lomov-vl) wrote :

Hello Anaximander Thales,

you didn't tell what distribution you are using, but if I correctly understand these numbers,
1.18.2-2 and 2.0.1-3, then you are using the same distribution as I, i.e. Archlinux.

Please see this FS report:
https://bugs.archlinux.org/task/49953

As for changing Xsession, you need this only to check what is going on. You will find what to change in mentioned FS report.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.