Xubuntu / lightdm-gtk-greeter

A GTK greeter for LightDM
GNU General Public License v3.0
140 stars 30 forks source link

With 2fa, greeter ignores session type selection on first auth page #123

Open ericjmcalvin opened 1 year ago

ericjmcalvin commented 1 year ago

We are using LightDM with 2FA where the user will get prompted for static password first, then (via pam_radius_auth) for a OTP (one time password). If the user chooses a session type (window manager) on the first page when they entered their static password, on the second page where they enter the OTP, the session type reverts back to the default (whether that is the system default or what they have in their dmrc).

Of course if they already had a ~/.dmrc or /var/cache/lightdm/dmrc/$USERNAME.dmrc then that will be the default displayed. But the issue is between the first prompt and second prompt, the setting the user selected is not persistent.

Is this an issue with lightDM or the greeter?