Skip to content

desktop: GTK apps in a desktop session reach the host at-spi bus #269

Closed

Description

@ElbertePlinio

Found while fixing #252 (PR #256).

In packages/desktop-linux/test/integration.test.ts "keeps a GTK exec client on Xvfb", zenity contacts the real user's accessibility bus at /run/user/1000/at-spi/bus_0. It also starts glycin loaders under bwrap with XDG_RUNTIME_DIR=/run/user/1000. So a GTK4 app in a desktop session may not be fully isolated from the host session. The test runs zenity without containment, so it is not yet clear whether real sessions behave the same way.

  • Check what environment a desktop session gives GTK apps for the accessibility bus and XDG_RUNTIME_DIR
  • Isolate them, or document why the host bus is acceptable

Activity

  1. added
    bug
    on Oct 6, 2026
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions