Code Monkey home page Code Monkey logo

Comments (9)

boltgolt avatar boltgolt commented on June 24, 2024 1

Try running sudo howdy config and changing the device id value (probably a number between 0 and 4) until you get the right camera. There are more sophisticated ways to determine which one is the IR camera, but trust me, this is a lot quicker.

As for the lock screen issue: If i recall correctly there is a permission issue sometimes. Could you try the steps in this comment?

from howdy.

boltgolt avatar boltgolt commented on June 24, 2024

It should be enabled in PAM automatically, what does your common-auth file look like? (sudo cat /etc/pam.d/common-auth)

When Howdy encounters an error, it tends to fail silently because that's recommended for PAM. modules. You could check /var/log/auth.log for any errors?

from howdy.

Rhiyo avatar Rhiyo commented on June 24, 2024

Here` is my common-auth file:

#
# /etc/pam.d/common-auth - authentication settings common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of the authentication modules that define
# the central authentication scheme for use on the system
# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the
# traditional Unix authentication mechanisms.
#
# As of pam 1.0.1-6, this file is managed by pam-auth-update by default.
# To take advantage of this, it is recommended that you configure any
# local modules either before or after the default block, and use
# pam-auth-update to manage selection of other modules.  See
# pam-auth-update(8) for details.

# here are the per-package modules (the "Primary" block)
auth	[success=1 default=ignore]	pam_unix.so nullok_secure
# here's the fallback if no module succeeds
auth	requisite			pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
auth	required			pam_permit.so
# and here are more per-package modules (the "Additional" block)
auth	optional	pam_ecryptfs.so unwrap
auth	optional			pam_cap.so 
# end of pam-auth-update config

Here is my auth.log file.

It appears all references to howdy are when I was testing commands and not actually in authentication usage (I think, as the log lines are from a few days ago.)

Thanks for the reply!

from howdy.

boltgolt avatar boltgolt commented on June 24, 2024

It seems that Howdy didn't get inserted into common-auth during install, which is really weird. Do you recall being asked if the proposed changes to this file should be applied (during the apt install howdy command)?

Either way, try adding

auth	sufficient			pam_python.so /lib/security/howdy/pam.py

on the empty line between "# pam-auth-update(8) for details." and "# here are the per-package modules (the "Primary" block)". You can use nano (sudo nano /etc/pam.d/common-auth) for this if you didn't know already.

from howdy.

Rhiyo avatar Rhiyo commented on June 24, 2024

Thanks, that worked! I don't remember having that option during install but I may have made a mistake. Now I have a different issue though, somehow it's using my normal camera instead of my IR camera. It originally was using my IR camera (I chose it correctly during set up and was able to see it working when using the test command.)

from howdy.

boltgolt avatar boltgolt commented on June 24, 2024

Are both the test command (sudo howdy test) as well as normal authenticating through Howdy (by using sudo for instance) using the wrong camera now?

from howdy.

Rhiyo avatar Rhiyo commented on June 24, 2024

Yup, both are using the normal webcam camera. I'm using a Ryzen HP x360 Envy (13.3inch).

Also, it's currently not working on the lock screen. I have to go back to the user selection screen for it to start trying face recognition, Is that the intention? Sorry to bombard you with questions.

from howdy.

Rhiyo avatar Rhiyo commented on June 24, 2024

Everything appears to working fine now! Thankyou so much for all your help and this lovely tool!

from howdy.

boltgolt avatar boltgolt commented on June 24, 2024

You're welcome!

from howdy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.