You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/arthur/fedora-scm/Howdy/howdy/howdy-gtk/src/init.py", line 8, in <module>
import window
File "/home/arthur/fedora-scm/Howdy/howdy/howdy-gtk/src/window.py", line 126, in <module>
onboarding.OnboardingWindow()
File "/home/arthur/fedora-scm/Howdy/howdy/howdy-gtk/src/onboarding.py", line 21, in __init__
gtk.Window.__init__(self)
File "/usr/lib/python3.12/site-packages/gi/overrides/Gtk.py", line 508, in __init__
raise RuntimeError(
RuntimeError: Gtk couldn't be initialized. Use Gtk.init_check() if you want to handle this case.
This exception is thrown after elevate.elevate(). Starting howdy-gtk with sudo works fine.
It seems it has something to do with the environment. After setting DISPLAY and XAUTHORITY in init.py, everything works as expected.
I've searched for similar issues already, and my issue has not been reported yet.
Linux distribution (if applicable): Fedora
Howdy version (sudo howdy version): 3.0.0 BETA (344eb34)
The text was updated successfully, but these errors were encountered:
howdy-gtk won't start if not run as root:
This exception is thrown after
elevate.elevate()
. Starting howdy-gtk with sudo works fine.It seems it has something to do with the environment. After setting
DISPLAY
andXAUTHORITY
in init.py, everything works as expected.I've searched for similar issues already, and my issue has not been reported yet.
Linux distribution (if applicable): Fedora
Howdy version (
sudo howdy version
): 3.0.0 BETA (344eb34)The text was updated successfully, but these errors were encountered: