-
-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BrokenPipeError after enabling the "hotkey" RubberStamp #916
Comments
#879 only fixes the case when you're trying to run howdy-gtk yourself on X11. For security reasons, pkexec only runs the program in a minimal environment. Setting The issue here is a bit different. The In the ideal case someone figures out how to run the howdy-gtk popup properly under the current user when invoked by PAM. My current laptop does not have IR camera's so I'm not really interested in working on this (and no time as usual). I do want to keep maintaining my copr repos, so feel free to mention me if changes are needed. I really hope this project will someday reach a point where I can include it in Fedora. |
@principis Thanks so much for the detailed response! I think I'm going to keep this issue open in hopes of someone fixing it in the future. Meanwhile I think I'll continue to use howdy without the rubberstamp. |
I installed Howdy Beta from the Fedora COPR: https://copr.fedorainfracloud.org/coprs/principis/howdy-beta/
Configured for sudo and it works well by default.
Then I wanted to add a
hotkey
RubberStamp. However, after enabling it through the config file, authentication succeeds but I don't get a prompt to press a hotkey. On the terminal, I get the following error:Digging a bit deeper, I noticed that this was happening because the
howdy_gtk --start-auth-ui
fails to launch (I found out after settinggtk_stdout
totrue
). Then I get the following extra output:Looking further, I discovered that this is related to issue #878 . If I use the workaround specified by @principis in that issue (setting the DISPLAY and XAUTHORITY environment variables), I see the prompt and the RubberStamp works as expected. However, this is not a long term solution for me since the XAUTHORITY variable changes from one session to another. (I'm running KDE Plasma)
@principis mentioned in #878 and #879 that a more permanent solution is to modify the polkit policy. My install of Howdy-gtk via the COPR came with this fix (@principis maintains that repo), so it doesn't seem to be working for me.
Please let me know if you need any extra information!
Linux distribution (if applicable): Fedora 40
Howdy version (
sudo howdy version
): Howdy 3.0.0 BETAThe text was updated successfully, but these errors were encountered: