-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Running as root breaks, working fine as normal user #31
Comments
Reinstalled with the latest commit, I'm now getting "Could not find QtWebEngineProcess" when running as root. |
How did you install web-greeter? void-packages should work. |
I installed it by cloning the github repo and running |
Well, I mean, which packages did you install? The following should do it: sudo xbps-install python3-PyQt5 python3-PyQt5-webengine python3-ruamel.yaml python3-gobject python3-xlib python3-inotify python3-PyQt5-devel-tools qt5-webengine |
Looks like I was missing ruamel and inotify system-wide, but after installing them it still can't find QtWebEngineProcess |
Hmm, that's weird. Did you install these packages with PIP? If you did, you could try to uninstall them and just rely on void packages. The QtWebEngineProcess should be inside |
After reinstalling the packages, I'm getting a new error: |
See the Import errors section of the README. Perhaps, you could try reinstalling |
Reinstalled, same issue. |
Well, there's no much I could do about it. Reinstalling is the only solution to this kind of problem: remove related PIP packages inside However, after doing a little research, seems like the problem comes from the python3 Qt libraries, with the next possibilities:
So, you could try to recompile your Python libraries (though I don't know how to do it), or reinstall all Python Qt related libraries. |
Environment
Bug description
Running web-greeter --debug as normal user works fine, but there is an error saying "QWidget: Must construct a QApplication before a QWidget" when running with escalated privileges. This causes LightDM to infinitely loop.
Steps to reproduce
Run "web-greeter --no-sandbox" or "web-greeter --debug" as root.
Expected behavior
web-greeter would work while running as root.
Screenshots
The text was updated successfully, but these errors were encountered: