boltgolt / howdy

🛡️ Windows Hello™ style facial authentication for Linux
MIT License
5.83k stars 298 forks source link

Howdy fails with unknown error 1 on lock screen via PAM facial recognition #704

Open PaxJaromeMalues opened 2 years ago

PaxJaromeMalues commented 2 years ago

auth.log:

Sep 15 10:54:05 [HOWDY]: Attempting facial authentication for user xxx
Sep 15 10:54:05 [HOWDY]: Failure, unknown error1

Fix via wiki solution aka no notification: true did not work. Software was added via PPA. Works near flawless for anything else authwise. Running on a Lenovo v14 G2-IJL.

Interesting find while compilation: script expected a /dev/input leading file for autodetecting the webcam. Somehow it was linked as /dev/input/event8, the correct path which worked was /dev/video0. There is also a /dev/video1 but I have no idea what that one might be used for.

Works on TTY: YES Works on PAM Windows: YES Works with logged out user: NO Works with lock screen: NO (also checked for delay) Works with Cockpit PAM: I am very impressed!


I've searched for similar issues already, and my issue has not been reported yet.

Linux distribution (if applicable): Linux 5.15.0-47-generic #51-Ubuntu SMP x86_64 GNU/Linux Ubuntu 22.04.1

Howdy version (sudo howdy version): 2.6.1

PaxJaromeMalues commented 2 years ago

Might be connected to #698 checking... nope, even with a long wait, mouse movement or changing the login-user camera did not activate.