howdy icon indicating copy to clipboard operation
howdy copied to clipboard

Cannot install on fedora 41

Open Nolancc opened this issue 10 months ago • 14 comments

when I install on fedora 41 I get this error

[sudo] password for nolanc:
Updating and loading repositories:
 Fedora 41 openh264 (From Cisco) - x86_64       100% |   2.8 KiB/s | 989.0   B |  00m00s
 google-chrome                                  100% |   6.1 KiB/s |   1.3 KiB |  00m00s
 Copr repo for howdy owned by principis         100% | 706.0   B/s |   1.5 KiB |  00m02s
 Fedora 41 - x86_64                             100% | 142.9 KiB/s |  32.2 KiB |  00m00s
 RPM Fusion for Fedora 41 - Nonfree - Steam     100% |   8.6 KiB/s |   6.2 KiB |  00m01s
 Visual Studio Code                             100% |   7.0 KiB/s |   1.5 KiB |  00m00s
 RPM Fusion for Fedora 41 - Nonfree - NVIDIA Dr 100% |  49.2 KiB/s |   6.5 KiB |  00m00s
 Copr repo for PyCharm owned by phracek         100% |  15.2 KiB/s |   2.1 KiB |  00m00s
 Fedora 41 - x86_64 - Updates                   100% |  27.0 KiB/s |   8.9 KiB |  00m00s
 google-chrome                                  100% |   7.2 KiB/s |   3.2 KiB |  00m00s
 Fedora 41 - x86_64 - Updates                   100% | 952.8 KiB/s |   2.4 MiB |  00m03s
Repositories loaded.
Failed to resolve the transaction:
Problem: package howdy-2.6.1-10.fc41.x86_64 from copr:copr.fedorainfracloud.org:principis:howdy requires pam_python, but none of the providers can be installed
  - conflicting requests
  - nothing provides libpython2.7.so.1.0()(64bit) needed by pam_python-1.0.8-4.fc41.x86_64 from copr:copr.fedorainfracloud.org:principis:howdy
You can try to add to command line:
  --skip-broken to skip uninstallable packages

Nolancc avatar Feb 03 '25 04:02 Nolancc

Hi, going after official README.md

"Note: Fedora 41 removed support for Python2, but at this point in time Howdy still depends on it. If the install fails, you can fix this by installing the beta Repository and removing the release version:

sudo dnf copr remove principis/howdy sudo dnf copr enable principis/howdy-beta sudo dnf --refresh install howdy

See the link to the COPR repository for detailed configuration steps."

It should resolve your issue

jakubpraszkowski avatar Feb 06 '25 20:02 jakubpraszkowski

Fedora 41 issue here as well Did not have problem to install with howdy-beta, however guide from copr (https://copr.fedorainfracloud.org/coprs/principis/howdy/ is outdated There is nothing installed on /lib64/security/howdy/dlib-data I am not the only one, see last comment on copr

edit : to be clearer, "howdy test" works fine, however nothing happens when on lock screen or typing sudo so it's probably a permission issue, I just can't find what the workaround is

latiche avatar Feb 08 '25 10:02 latiche

howdy should be updated to python3

Nolancc avatar Feb 08 '25 17:02 Nolancc

python2 has not been updated since 2020 and if a very large distro does not support it it means that its too old

Nolancc avatar Feb 08 '25 17:02 Nolancc

Fedora 41 issue here as well Did not have problem to install with howdy-beta, however guide from copr (https://copr.fedorainfracloud.org/coprs/principis/howdy/ is outdated There is nothing installed on /lib64/security/howdy/dlib-data I am not the only one, see last comment on copr

edit : to be clearer, "howdy test" works fine, however nothing happens when on lock screen or typing sudo so it's probably a permission issue, I just can't find what the workaround is

same for me nothing helps

does anyone know where to put this file howdy.te mentioned in docs https://copr.fedorainfracloud.org/coprs/principis/howdy/#:~:text=howdy/dlib%2Ddata-,SELinux%20issues,-If%20login%20gets

soumajitgh avatar Feb 23 '25 02:02 soumajitgh

I am also facing the same issue any fixes ?

CliveKBinu avatar Feb 26 '25 03:02 CliveKBinu

Fedora 41 issue here as well Did not have problem to install with howdy-beta, however guide from copr (https://copr.fedorainfracloud.org/coprs/principis/howdy/ is outdated There is nothing installed on /lib64/security/howdy/dlib-data I am not the only one, see last comment on copr

edit : to be clearer, "howdy test" works fine, however nothing happens when on lock screen or typing sudo so it's probably a permission issue, I just can't find what the workaround is

I appeared to have fixed this issue by replacing pam_python.so /lib64/security/howdy/pam.py with pam_howdy.so everywhere it needed to be changed.

So for example, in /etc/pam.d/sudo it goes from auth sufficient pam_python.so /lib64/security/howdy/pam.py to auth sufficient pam_howdy.so

Wavefire5201 avatar Mar 28 '25 18:03 Wavefire5201

@Wavefire5201 it works !!! . Thanks

CliveKBinu avatar Mar 28 '25 19:03 CliveKBinu

I appeared to have fixed this issue by replacing pam_python.so /lib64/security/howdy/pam.py with pam_howdy.so everywhere it needed to be changed.

So for example, in /etc/pam.d/sudo it goes from auth sufficient pam_python.so /lib64/security/howdy/pam.py to auth sufficient pam_howdy.so

@Wavefire5201 I did this and it works for sudo, but somehow even though I set it in my gdm-password it won't start on login

pottmeier avatar Apr 02 '25 00:04 pottmeier

I appeared to have fixed this issue by replacing pam_python.so /lib64/security/howdy/pam.py with pam_howdy.so everywhere it needed to be changed. So for example, in /etc/pam.d/sudo it goes from auth sufficient pam_python.so /lib64/security/howdy/pam.py to auth sufficient pam_howdy.so

@Wavefire5201 I did this and it works for sudo, but somehow even though I set it in my gdm-password it won't start on login

Did you try this from the documentation?

Permission issues: Your lockscreen might not be running Howdy as root, which prevents Howdy from running. Setting the execution bit so every user can run access dlib-data should solve this:

chmod o+x /lib64/security/howdy/dlib-data

Wavefire5201 avatar Apr 02 '25 00:04 Wavefire5201

@Wavefire5201 Well yes I tried, but it seems the howdy dir doesn't exist and there for this is my response from bash

chmod: cannot access '/lib64/security/howdy/dlib-data': No such file or directory

pottmeier avatar Apr 02 '25 19:04 pottmeier

@pottmeier This path looks to have changed as well - instead use /usr/share/howdy/dlib-data

I picked it up from https://github.com/boltgolt/howdy/issues/1004. But the SEModule from there didn't work, instead I took the one from here, and my login now works as expected https://copr.fedorainfracloud.org/coprs/principis/howdy/

artiomchi avatar Apr 12 '25 21:04 artiomchi

@artiomchi Now it works!! Probably because now I could install the SELinux part. I still get prompted with the gnome-keyring password when I boot for the first time, but after that entering from lock screen works like a charm. Thank you a lot!

pottmeier avatar Apr 13 '25 20:04 pottmeier

https://github.com/freedy237/howdy-fedora-install

freedy237 avatar May 19 '25 03:05 freedy237