Skip to content
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

GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed #69

Open
2 tasks done
Tarentaise opened this issue Feb 21, 2022 · 2 comments
Open
2 tasks done

GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed #69

Tarentaise opened this issue Feb 21, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@Tarentaise
Copy link

  • I've searched the issue tracker and is pretty sure that there's no duplicate issue already filed
  • I've built the latest development snapshot using the instructions in README and verified that the issue can still be reproduced (for bug reports)

Issue Reproduce Instructions

  1. Launch WoeUSB by running woeusbgui
  2. authenticate with root password
  3. receive the error

Expected Behavior

woeusbgui not to give the error

Current Behavior

WoeUSB errors with message:

polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: 
No session for cookie
==== AUTHENTICATION FAILED ====
Error executing command as another user: Not authorized

Info of My Environment

WoeUSB Version

WoeUSB-ng-0.2.10

WoeUSB Source

Built from source code, commit 69a430d7498cf3b2af4f0b86ebb2d108cbc5989a

Information about the Operating System

Gentoo Base System release 2.7

Information about the Source Media

Didn't get to use any, irrelevant.

Information about the Target Device

irrelevant.

@WaxyMocha WaxyMocha added the bug Something isn't working label Feb 27, 2022
@WaxyMocha
Copy link
Member

So, more issues with policykit. Next thing I'll start working on after creating unit tests, will be decoupling gui from core, as doing it this way was a huge mistake. This should fix issues like this, as it comes from trying to run gui as root.

@ThisNekoGuy
Copy link

For me on Arch Linux with KDE Plasma, I don't even get an authentication request Lol
It just throws an error window about not being able to mount to a location

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants