Skip to content

AppImage fails to launch because it can't run things as root #1819

@seebs

Description

@seebs

Describe the bug

If I try to run the plover 5.2.0 AppImage on my Ubuntu 22.04 system, I get:

==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
Authentication is needed to run `/usr/bin/bash' as the super user
Authenticating as: seebs,,, (seebs)
Password: 
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

This incident has been reported.

This appears to be related to #1783, but is subtly different in that it just fully prevents loading. I've tried the suggested workaround of adding the group manually, etc, but I still get this.

It might be related to: polkit-org/polkit#18

To Reproduce

Run the AppImage on an affected system. Not sure what systems those would be exactly.

Expected behavior

Plover runs.

Operating system

  • OS: Ubuntu 22.04
  • Plover Version: 5.2.0

Hardware

N/A

plover 4 ran fine on this machine, a while back, but I don't have it installed right now to check.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions