Looks like the username including a dot causes an error for creating the session.
See in attached log:
Feb 09 12:03:01 cloud gdm-password]: pam_systemd(gdm-password:session): Failed to get user record: Invalid argument
Feb 09 12:03:01 cloud gdm-password]: gkr-pam: unable to locate daemon control file
Steps to Reproduce:
1.Create a user with a dot in it, e.g. "tony.stark"
2.Set a password for the user "tony.stark"
3.Login via gdm
The screen blanks and then the login screen is shown again.
The desktop is of the user is shown.
Created attachment 613050 [details]
Log journal for logging in process
Is there an upstream bug report?
Just created one: https://gitlab.gnome.org/GNOME/gdm/issues/559
It looks to be a pam_systemd issue
What systemd version are you running?
I can reproduce the pam_systemd issue with sys-apps/systemd-245_rc1-r1.
Feb 22 13:22:05 naomi sshd: pam_unix(sshd:session): session opened for user tony.stark(uid=10001) by (uid=0)
Feb 22 13:22:05 naomi sshd: pam_systemd(sshd:session): Failed to get user record: Invalid argument
I'm using sys-apps/systemd-245_rc1-r1 as well.
I'm working on a patch.
Should be resolved in systemd-245_rc2.