Hi again,

On  Di 24 Jan 2023 15:19:15 CET, Petter Reinholdtsen wrote:

[Nico Winkelsträter]
When a user tries to log in at a romaing workstation for the very first time
the login prompt disappears, stays on the empty default-background for a few
seconds and the returns to lightdm with a brief black-screen.

On the second try everything works as expected.

This is by design.  There was (and probably still is) no way to change
$HOME from the PAM subsystem when the login already was in progress.  To
work around this limitiation the user is logged logged out on the first
try, after the home directory is created and /etc/passwd is updated with
the new home location, to ensure the new home directory is used during
future logins.  The home directory is changed from
/skole/tjener/home0/testes/ to /home/testes/ in your case.


please also note, that we recently changed stuff in libpam-python.so and also fixed a pam_session related bug in unit tests. I still need to test the Python3 port of libpam-python.so containing this fix (it's in Debian testing already) to see if above issue reported by Nico is possibly resolved.

Mike
--

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

Attachment: pgp4ASBGSzYrV.pgp
Description: Digitale PGP-Signatur

Reply via email to