Comments (2)
#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 org.freedesktop.policykit.exec.allow_gui
to true does retain the $DISPLAY
and $XAUTHORITY
variables such that howdy-gtk can connect to the display server. On Wayland this doesn't work as it doesn't allow other users access to the wayland socket. It's possible to "hack" around it with the root user by setting WAYLAND_DISPLAY
to the full path of the socket and setting XDG_RUNTIME_DIR
to some value (or just pass both those vars). But these variables aren't passed by pkexec (I think), so it's not possible to implement this hack.
The issue here is a bit different. The compare.py
script is spawned by the pam module with an empty environment (source). It would be possible to pass $DISPLAY
and $XAUTHORITY
without issue as these are kept. This won't work on Wayland however as the $WAYLAND_DISPLAY
and $XDG_RUNTIME_DIR
are not kept by the sudoers plugin. (Yes you can configure it, but you really shouldn't)
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.
from howdy.
@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.
from howdy.
Related Issues (20)
- Ubuntu 24.04 LTS HOT 8
- Can't add a face model HOT 2
- Switch to deepface from face_recognition HOT 1
- Add links to licence and github page to the .deb package for GNOME
- Deb package howdy_3.0.0 and python3-dlib combo works on LMDE 6, with only minor missing deps etc
- Debian installer trying to pull python version that does not exist HOT 6
- Arch Linux - Even more errors - Howdy
- Fedora 40 Unknown error: 1 HOT 1
- Trying to authenticate: "NoSectionError: No section: 'core'" HOT 1
- "RuntimeError: Unsupported image type, must be 8bit gray or RGB image" on Surface Laptop 3 IR Camera HOT 8
- Howdy is broken in Linux Mint 22 - Python errors and lock screen bug HOT 11
- [numpy 1.x.x - fix not working] RuntimeError: Unsupported image type, must be 8bit gray or RGB image. HOT 5
- No module named 'dlib' while dlib is installed HOT 2
- GUI popup upon trigger to seek for attention HOT 5
- not working
- Howdy not showing up on authentication pop up...
- ImportError: /usr/lib64/python3.6/site-packages/cv2.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZTIN2cv3dnn23experimental_dnn_34_v265LayerE
- Howdy do not start after a sudo command HOT 3
- Error during installation: post-installation script fails with "externally-managed-environment" HOT 10
- Invisible text when running sudo -i
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from howdy.