-
Notifications
You must be signed in to change notification settings - Fork 19
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
Polkit/wayland support #177
Comments
There is https://github.com/Neverous/efibooteditor/blob/master/misc/org.x.efibooteditor.policy for this, though at least in my tests it requires running explicitly with |
It gives me platform plugin errors
|
resolves the QT_QPA_PLATFORM in current session not under pkexec. I think thats why it complains about xcb. Apparently you can bypass that with Not sure what the right/global solution for that would be. Ideally there would be a way to pass that QT_QPA_PLATFORM automatically with pkexec but there doesn't seem to be a way 🤔 I guess the "proper" solution within the application itself would be to divide it into client-server with just the server (with no GUI) with elevated permissions and client (GUI) talking with it, but that's a fair bit of work (and not sure what to do with that on Windows) 🤔 |
I still had no success with the commands you suggested
|
🤔 Have you tried the full thing they mentioned: I don't have wayland unfortunately, but with X11 for the above command to work I also had to add DISPLAY: |
Another option I see gparted seems to be using is Or maybe something from Arch Wiki would work? |
xhost works as a workaround for now ty |
|
Is there an existing issue for this?
Description
I've been failing to use this on sway because efibooteditor needs access to privileged files:
I think the intended way on wayland is to ask a polkit service for access ?
I cannot just run it with sudo because then it can't find a display to render on.
Like ask the admin for their password when they want to elevate privilege
Additional information
Arch linux: 6.7.9
EFI Boot Editor: 1.4.0-aur.1
Sway: 1.9
Polkit: the one from gnome
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
The text was updated successfully, but these errors were encountered: