howdy icon indicating copy to clipboard operation
howdy copied to clipboard

Howdy locks up system on login

Open Seltonu opened this issue 4 years ago • 15 comments

When installing the Plasma desktop on Pop!_OS, upon logging in the entire system freezes. The camera flashes on AFTER needing to manually type in my password, and the system needs a hard reboot to return to the login screen, where the same issue occurs again. I fully believe this to be howdy, because disconnecting the camera allows me to login without any crashing. I've reproduced this on two of my computers.

Linux distribution (if applicable): Pop!_OS 19.10

Howdy version: latest

Seltonu avatar Jan 08 '20 17:01 Seltonu

Hm, could you try this?

boltgolt avatar Jan 09 '20 09:01 boltgolt

@boltgolt I've tested the solution posted in the link you gave OP. It does not work from my end. I'm on Kubuntu 19.10.

Howdy works just about everywhere else except login screen. It seems there is no trigger to use it (Whereas my machine on Windows 10 was scanning for my face on boot, before I had to touch a single button).

Am I missing something ?

Edit : I have also tested the following : chmod o+x /lib/security/howdy/dlib-data with no success

ATragicEnding avatar Jan 19 '20 07:01 ATragicEnding

I think you have a different issue than op does, maybe #208 matches your issue more closely?

boltgolt avatar Jan 19 '20 13:01 boltgolt

Both issues seem pretty similar as both locks me out of my session. I can only login by disabling Howdy altogether. I have also tried the solutions posted in #208 but to no avail.

ATragicEnding avatar Jan 19 '20 22:01 ATragicEnding

I can provide logs, if it could help you.

ATragicEnding avatar Jan 19 '20 22:01 ATragicEnding

I'm using Kde Neon and also had troubles logging in with howdy. I started to search for possible solutions and the only two solutions that worked for me were: sudo chmod -R 755 /lib/security/howdy The cmd abose solved logging in from lockscreen, but did not solve the logging from the first Login Screen (the one that appears after every restart, after every restart had to cover the camera completely to login by password). So i found another solution to change no_confirmation to be true in howdy config sudo howdy config Type the cmd above and search for no_confirmation string, by default was false so i've set it to true, restarted the os and everything works like a charm now in kde neon with howdy login.

davi-ro avatar Mar 05 '20 10:03 davi-ro

Hm, could you try this?

Sorry for the delays in testing, I had stopped trying to use Plasma altogether after wiping my system. I've now testing on Pop!_OS 20.04 and can say the issue is similar but different now. Instead of hard freezing the system, I'm just completely unable to get passed the login screen. The suggestion you linked DOES work, with a couple things to note:

-Without the fix, the IR camera does start but it doesn't log me in. Typing my password doesn't work either. Unplugging my webcam and rebooting fixes the issue. -With the provided fix, chmod alone does not solve the issue, editing the config file is needed too. -Minor note: With the fix my IR camera still doesn't fire automatically like with Gnome, I need to hit enter on my user profile to start it.

Hopefully I can help with any other debugging if I don't wipe my system in frustration with Plasma soon!

Seltonu avatar Jun 09 '20 02:06 Seltonu

Confirming this issue on KDE Neon 20.04. If camera is available, howdy effectively blocks any login and hard reboot is required. If camera is disabled (or lid is down), password login works. SDDM used.

nekromoff avatar Dec 08 '20 21:12 nekromoff

Hi. Maybe this is related.

I have just installed howdy in Debian and, in order to make it work, I had to

  1. change file permissions in /lib/security/howdy
  2. swap the order of modules in /etc/pam.d/common-auth to make it look like
# here are the per-package modules (the "Primary" block)
auth    [success=2 default=ignore]      pam_unix.so nullok_secure try_first_pass
auth    [success=1 default=ignore]        pam_python.so /lib/security/howdy/pam.py

Doing only 1 or only 2 did not work (kde with sddm). In this way, if I just hit enter at the password prompt, the camera turns on and howdy authenticates me.

matteosemplice avatar Feb 23 '21 22:02 matteosemplice

Hi. Maybe this is related.

I have just installed howdy in Debian and, in order to make it work, I had to

1. change file permissions in /lib/security/howdy

2. swap the order of modules in /etc/pam.d/common-auth to make it look like
# here are the per-package modules (the "Primary" block)
auth    [success=2 default=ignore]      pam_unix.so nullok_secure try_first_pass
auth    [success=1 default=ignore]        pam_python.so /lib/security/howdy/pam.py

Doing only 1 or only 2 did not work (kde with sddm). In this way, if I just hit enter at the password prompt, the camera turns on and howdy authenticates me.

This worked for me in kubuntu 20.10. Thanks! But now i have to press enter every time a prompt appears instead of the automatic unlock that used to happen :/

ForgotMyPass2 avatar Apr 10 '21 09:04 ForgotMyPass2

Could try if changing only the file permissions and not swapping those lines is good enough

boltgolt avatar Apr 13 '21 15:04 boltgolt

Hi. Maybe this is related.

I have just installed howdy in Debian and, in order to make it work, I had to

1. change file permissions in /lib/security/howdy

2. swap the order of modules in /etc/pam.d/common-auth to make it look like
# here are the per-package modules (the "Primary" block)
auth    [success=2 default=ignore]      pam_unix.so nullok_secure try_first_pass
auth    [success=1 default=ignore]        pam_python.so /lib/security/howdy/pam.py

Doing only 1 or only 2 did not work (kde with sddm). In this way, if I just hit enter at the password prompt, the camera turns on and howdy authenticates me.

I did this and it fixed the login but now sudo does not even try howdy it justs asks for the password. Any ideas?

MoulderUtes avatar Aug 15 '21 03:08 MoulderUtes

Hello Everyone! I am also having a similar issue with Howdy. I am recently coming back to Linux from windows (don't like the direction MS is taking win 11) after about 10 years. I am glad to sea there are many great open source projects like this to gain feature parity. I am also still learning, so I apologize if I do not understand right away.

So, I have a Dell XPS 17 9710 with Kubuntu 21.04 and I have howdy working fine, and was able to get the IR blaster working as well. The problem I have is that when I try to log in at the login prompt (SDDM I believe) it accepts my password and then does a howdy authentication. But what happens is the screen dims, howdy does its work and after the camera turns off nothing happens. The mouse works, but I can't click anything or log in, so I end up having to Ctrl + Alt + F3 to get into another terminal, log in (which howdy does right away) and restart.

I have tried the auth fix in the post above (though mine has three entries) and the fix mentioned here in #28. The only way I can log in at the login screen is to cover the camera. Sudo and all other logins work fine.

Thank you for any help you can give!!!

zeiktuvai avatar Aug 20 '21 22:08 zeiktuvai

hello i have the same bug :) as zeiktuvai

dovepa avatar Dec 26 '21 18:12 dovepa

Hi. Maybe this is related.

I have just installed howdy in Debian and, in order to make it work, I had to

  1. change file permissions in /lib/security/howdy
  2. swap the order of modules in /etc/pam.d/common-auth to make it look like
# here are the per-package modules (the "Primary" block)
auth    [success=2 default=ignore]      pam_unix.so nullok_secure try_first_pass
auth    [success=1 default=ignore]        pam_python.so /lib/security/howdy/pam.py

Doing only 1 or only 2 did not work (kde with sddm). In this way, if I just hit enter at the password prompt, the camera turns on and howdy authenticates me.

When I did that, I cannot login anymore from shell TTY, Must to go into rescue mode for revert it. In the dark room, I must to disable camera by my Hand and login by password, so SSDM will work (ubuntu 22.04 KDE)

einsteinarbert avatar Sep 30 '23 18:09 einsteinarbert