On 17.11.2025 4:29, Max Nikulin wrote:
On 16/11/2025 02:24, Peter Milesson wrote:
There is just one single uninformative log message in the journal,
which makes it impossible for me to track down what's going on.
It still may be informative for others or specific enough for search
engines.
They are up to date, as everything applicable is installed from
Trixie backports.
"Everything" from backports sounds suspicious. What about just kernel
installed from backports and other packages from stable+security+updates?
- The terminals are configured with a graphical GUI using LightDM as
display manager, and LXDE as window manager.
[...]
- User profiles are mounted to /home/<user> on the terminals with
libpam-mount through CIFS.
pam_mount(8) has a troubleshooting section. PAM may be rather
sensitive to order of modules loaded during lightdm session.
I faced issues with locking home directories encrypted using fscrypt
since systemd user session may finish after systemd PAM session. My
impression is that systemd developers aware with this use case, but
instead of PAM modules recommend to run some daemon. There is
systemd-homed for this purpose (I have not tried it).
Hi Max,
Thanks for your input.
I have been digging further into this enigma, and there isn't a single
error reported in any logs, or in the journal, to indicate why LXDE
terminates. It starts up properly, and then it just terminates without
explanation. The behavior is the same whether I use LightDM for logon,
or log on as a user from the console, and run startx.
Everything from backports does not mean all packages, just the relevant
ones. For many years, I never had any problems with packages from Debian
backports. OTOH, I would have crippled my installations to a high
degree, if I for example had not kept Samba recent. So I will continue
to install relevant packages from backports. In this particular case it
seems the latest kernel from backports is at fault, not the other packages.
Thanks for the tip about using systemd-homed. I will try it, and see if
it helps.
Best regards,
Peter