Author: Frank Date: To: Mark Hindley CC: 540 Subject: [devuan-dev] bug#540: elogind unmounts /run/user/$UID tmpfs
filesystem after logging in again
Adding "pam.setenv("XDG_SESSION_CLASS", "greeter");" to app.cpp (line
560) did not work for me, the environment variable is set, but the class
(according to cmd "loginctl session-status") is still "user". But,
adding "export XDG_SESSION_CLASS=greeter" to "/etc/init.d/slim" DID
work, class became "greeter". Even better. Nice and clean.
Mark Hindley schreef op 2021-01-20 18:11: > On Wed, Jan 20, 2021 at 04:31:25PM +0100, Frank wrote:
>> Hi Mark,
>> I played around with the slim PAM configuration and found a possible
>> solution: change the elogind class from "user" to "greeter". Slim does
>> fork a helper process so changing it makes sense to me. When a new
>> is created, previous sessions close in the background, even if the
>> logout/login cycle is rapid. Looks promising?
> Interesting. I am wondering (from a very quick read of the docs) if we
> achieve the same by setting XDG_SESSION_CLASS within slim.
This message was posted to the following mailing lists: