I have setup howdy following arch wiki Howdy - ArchWiki
it works fine for unlock from lock screen, but it fails for gdm login.
Based on a hint I found here:
Unable to login on Kubuntu 19.04 (KDE 5.15 SDDM) · Issue #208 · boltgolt/howdy · GitHub
I guess it’s because my home dir is encrypted and need explicit password login to allow home decryption.
Nevertheless, I still like howdy to unlock from lock screen, I do this quite more often than login, so I wish to disable it at gdm login but keep it for unlock…
I’m not sure it’s feasible, but if yes, I guess there’s something to do in pam settings files…but not sure which one ?
currently, based on arch wiki page I mentioned, I added a line in /etc/pam.d/system-local-login
is there a suitable pam file or setting to limit howdy only to lockscreen unlock ?
Isnt that the one for general login?
And gdm is
Also note this section in the wiki
Adding howdy/pam.py as sufficient to any configuration file in /etc/pam.d/ will only prompt for face authentication. This prevents the use of a password if you cannot Ctrl+c face authentication (due to the lack of a shell). In order to use either a password or a face in a graphical interface, add the following line to the top of any files required:
auth sufficient pam_unix.so try_first_pass likeauth nullok
auth sufficient pam_python.so /lib/security/howdy/pam.py
This will prompt for a password; pressing Enter on a blank field will proceed to face authentication.
So maybe a combination of what youve done and using a line like that in the gdm pam file might work out.
Hi, thanks for feedback!
well, currently, both howdy / password works.
This is how I was able to login : @login, howdy pass the login screen, but then I’m stuck in a grey screen because it cannot access to home.
So I hide my camera, wait for howdy to fail and then use password
Your proposal may be a workaround:
at login, I can use password
at unlock I can press enter and let howdy do the job.
it would be great if there’s a way to skip the “press enter” step.
Maybe it’s not possible (yet)
darn. Thought I was close
Then again Gnome is a mystery to me.