Skip to content

[Feature Request] greeter sync: make pkexec optional when run0 exist #2994

@puiyq

Description

@puiyq

Submission checklist

  • I have searched existing issues and confirmed this is not a duplicate.
  • I am using the latest available version of Noctalia.

Bug description

The greeter syncer requires pkexec with the setuid bit enabled. However, I have disabled the pkexec wrapper on my system because I use run0 as my privilege escalator. run0 utilizes polkit for authentication without relying on setuid.

Steps to reproduce

  1. Set up the Noctalia greeter.
  2. Disable the pkexec wrapper (e.g., set security.wrappers.pkexec.enable = false on NixOS).
  3. Attempt to sync the greeter from Noctalia settings.

Expected behavior

The greeter syncs successfully. (Verified that it works as expected when the pkexec setuid wrapper is enabled on my system).

Actual behavior

The sync process fails.

Image

Logs / error output


Noctalia version

7421f80

Compositor

Niri

Distribution

NixOS

Environment information

Installation method: Nix Flake

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions