Skip to content

Isolated X11 direct launches require sudo even when configured not to use it #621

Closed

Description

@Calmingstorm

Severity: P2

Verified at v4.10.0, 55c15761845b00931ab2ea4aa184a7797dfd0614.

Locations

src/computer/runtime/profile.py:216-234,198-200; src/computer/runtime/backend.py:123-125

Failure scenario / concrete benefit

Root/minimalinstallation withruntime_sudo=false andnosudo. Unconditionalpreflightrequiredsudo refuses supported directsystemd-run beforelaunch.

Verification

Independently compared launchargvandrequiredlist; reviewer actualbackend/inertavailabilityfixture refusedonlymissingunusedsudo.

Correction and tests

Requiredependencyonlywhenlaunchneedsit; regressdirect/privilegedvariants.

Duplicate screening

Checked original open/closed inventory and fresh GitHub title/body searches. No matching root; related #404 specifically compared. No live desktop or historical native experiments performed.

Activity

  1. Calmingstorm commented on Sep 30, 2026

    @Calmingstorm
    OwnerAuthor

    Validated as fixed on campaign/v4.10.0-review (PR #629) at a978f193: the fix was reviewed against the final code, and its regression tests pass on the branch and in CI. It is not merged to master yet. Closing per the maintainer's instruction; reopen if a later change regresses it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions