[Pkg-xfce-devel] on how lightdm does not like it when /etc/X11/Xsession is not executable

Josip Rodin joy at debbugs.entuzijast.net
Sun Jul 19 11:55:36 UTC 2015

reopen 748944


I saw the exact same symptoms as the original submitter of #748944.
Well, I was switching from wdm, but otherwise the symptoms seem to have been
the same.

The file was:

-rw-r--r-- 1 root root 3517 Mar  8  2008 /etc/X11/Xsession

I don't recall fiddling with this myself, though it's a long time period so
it could be. Other DMs my system ran have included wdm, slim and gdm, at
some point in time between then and now.

Since lightdm seems to require for this file is be executable, but doesn't
log any useful error when it isn't, it stands to reason that it is at fault
at least for not explicitly complaining about this condition.

I didn't check the source, does lightdm actually try to exec this file or
does it run something else which in turn fails silently?
The error is reproducible so it shouldn't be hard to pinpoint the culprit.
If it's elsewhere, please feel free to pass the buck.

Perhaps the lightdm postinst could fix it, too, but since that is a conffile
of x11-common, I'm not sure.


     2. That which causes joy or happiness.

More information about the Pkg-xfce-devel mailing list