Repository navigation
Troubleshooting
Note
NixOS users should see NixOS. For complete CLI flags, INI keys/ranges, and PAM workaround=
rules, consult man howdy, man howdy.ini, and man pam_howdy.
Always verify Howdy Next outside PAM before debugging PAM or lock screens:
sudo howdy test # interactive preview
sudo howdy snapshot # headless fallback (prints saved image path)Useful diagnostics and quick disable:
journalctl -b -t pam_howdy --no-pager # PAM module logs
OPENCV_LOG_LEVEL=0 sudo howdy test # test without OpenCV log noise
sudo howdy disable 1 # temporarily disable PAM auth (0 to re-enable)-
Camera does not open or changes after reboot: Avoid
/dev/video*; pick a stable path fromls -l /dev/v4l/by-id/ /dev/v4l/by-path/and probe candidates without editing config:sudo howdy test --device /dev/v4l/by-path/DEVICE -
Works in other apps but not Howdy: Check if another process holds the device with
fuser -v /dev/video*and close it. -
IR emitter does not turn on: List formats with
v4l2-ctl -d DEVICE --list-formats-extand set matchingframe_width/frame_heightif required. If the emitter is controlled separately from the camera, an external tool such aslinux-enable-ir-emitter(not part of Howdy Next) may be needed. -
Slow, rotated, dark, or glitchy frames: Tune
max_height,rotate,force_mjpeg,exposure, ordevice_fpsviasudo howdy config(seeman howdy.inifor valid values and defaults).
-
howdy testcannot open a window: Preserve display variables when elevating, or usesudo howdy snapshotas a headless fallback:sudo --preserve-env=DISPLAY,XAUTHORITY,WAYLAND_DISPLAY,XDG_RUNTIME_DIR howdy testWith
run0:run0 --setenv=DISPLAY="$DISPLAY" --setenv=XAUTHORITY="$XAUTHORITY" \ --setenv=WAYLAND_DISPLAY="$WAYLAND_DISPLAY" --setenv=XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \ howdy test
-
Face not detected or match fails: Follow the tuning order in Configuration (
clahe_*,dark_threshold,yunet_score_threshold,sface_threshold; ranges inman howdy.ini). -
Unreliable matches or false positives: Re-enroll under normal lighting and distance (
sudo howdy list,remove,add; seeman howdy) and tightensface_threshold. -
Missing or rejected models: Run
sudo howdy download-modelsfor ONNX models. If an enrolled user model is damaged, clear and re-enroll (sudo howdy clear && sudo howdy add; add-U USERfor another account).
-
Nothing happens after enabling PAM: Verify the edited service (
/etc/pam.d/system-auth,/etc/pam.d/waylock,/etc/pam.d/omarchy-lock-password, etc.) matches PAM Integration or Lock Screens, including[success=N]jump counts, and inspectjournalctl -b -t pam_howdy --no-pager. -
Unprivileged lock screen cannot read config/models: Verify the setuid helper exists with root ownership and the setuid bit:
ls -l /usr/lib/howdy/howdy-auth-helper # Arch Linux ls -l /run/wrappers/bin/howdy-auth-helper # NixOS
Never make
/etc/howdyorconfig.iniworld-readable to work around helper errors. -
Lock screen falls back to password right after updating Howdy Next: An already-running lock screen keeps its previously loaded
pam_howdy.sohandle across upgrades. Restart the lock screen or reboot (a reboot also clears legacy/run/howdyruntime copies). -
Password-first lock screen loops or stays on prompt: Do not include
auth include system-auth; use the service-specific password-first order in Lock Screens. -
Fingerprint fallback causes long delays: Set
max-tries=1onpam_fprintd.soor remove it from that service. -
workaround=or/dev/uinputissues: Checkls -l /dev/uinput, PAM logs, and the exact mode rules inman pam_howdy.
If CLI and sudo work but graphical polkit fails, inspect the service sandbox and journal:
systemctl cat polkit-agent-helper@.service
journalctl -b --no-pager | grep -Ei 'howdy|pam_howdy|polkit-agent-helper|video|uinput|denied'See Polkit 127 Compatibility for the required systemd drop-in.
Howdy Next rejects unsafe ownership, permissions, symlinks, and hardlinks on protected files. Expected Arch Linux ownership and modes:
/etc/howdy root:root 0750
/etc/howdy/config.ini root:root 0640
/etc/howdy/models root:root 0750
/etc/howdy/models/*.dat root:root 0600
-
Symlink or hardlink rejected: Inspect with
ls -l PATH/stat PATHand replace with a regular file (or re-runsudo howdy download-modelsfor ONNX models). -
Snapshot cannot be written: Check
ls -ld /var/log/howdy. -
Invalid config or manual edit rejected: Fix via
sudo howdy configusing valid values fromman howdy.ini.
-
Skipped after resume or while docked with lid closed: Set
abort_if_lid_closed = falsein[core](sudo howdy config). -
Skipped in SSH sessions: Controlled by
abort_if_sshin[core](defaulttrue). Note fromman pam_howdy:abort_if_sshonly checks caller-controlled SSH environment variables and is a convenience, not a security boundary.
After the repository migrated to GitHub, stale AUR helper caches can cause checksum mismatches on
howdy-next or makepkg exit status 17 (is not a clone of ...) on howdy-next-git. Clear the
cached build directory and reinstall:
# yay
rm -rf ~/.cache/yay/howdy-next && yay -S howdy-next
rm -rf ~/.cache/yay/howdy-next-git && yay -S howdy-next-git
# paru
rm -rf ~/.cache/paru/clone/howdy-next && paru -S howdy-next
rm -rf ~/.cache/paru/clone/howdy-next-git && paru -S howdy-next-gitUse strace only when journalctl is not enough (on Arch Linux: sudo pacman -S strace):
# General trace
sudo strace -f -s 200 -yy -o /tmp/howdy.trace howdy test
# File and permission checks
sudo strace -f -s 200 -yy -e trace=%file -o /tmp/howdy-files.trace howdy test
# Camera / V4L2 calls
sudo strace -f -s 200 -yy -o /tmp/howdy-camera.trace \
-e trace=openat,close,ioctl,poll,ppoll,read,mmap,munmap howdy test
# Search common errors
grep -E 'EACCES|EPERM|ENOENT|EBUSY|ENODEV|EINVAL|ELOOP|ENOTDIR' /tmp/howdy*.trace
# Attach to a hanging process (Ctrl+C to detach)
pgrep -af howdy
sudo strace -f -p PIDWarning: Trace files may contain usernames, paths, and authentication context. Review and redact them before sharing, and never share enrolled face models or snapshots.
Remove traces when done:
rm -f /tmp/howdy.trace /tmp/howdy-files.trace /tmp/howdy-camera.trace