Skip to content

Flatpak fails to launch on Artix Linux with dinit: No systemd user session available #722

@Xpos587

Description

@Xpos587

Describe the bug
OpenAndroidInstaller fails to launch via Flatpak on Artix Linux with dinit init system, throwing "Failed to run in transient scope: No systemd user session available, cgroups not available" error.

To Reproduce
Steps to reproduce the behavior:

  1. Install OpenAndroidInstaller via Flatpak on Artix Linux with dinit init system
  2. Run flatpak run -v org.openandroidinstaller.OpenAndroidInstaller
  3. Application fails to start with systemd session error
  4. See error logs showing transient scope creation failure

Expected behavior
OpenAndroidInstaller should launch normally and display the main interface, as it would on systemd-based distributions.

Log file

F: Failed to run in transient scope: No systemd user session available, cgroups not available
F: Running 'bwrap --args 40 -- xdg-dbus-proxy --args=37'
F: Running 'bwrap --args 37 -- openandroidinstaller'

Desktop (please complete the following information):

  • OS: Artix Linux (dinit init system, not systemd)
  • Version: Latest Flatpak version from official repositories
  • Init System: dinit with elogind for session management
  • Display Server: Wayland

Additional context
This appears to be a fundamental incompatibility between Flatpak's systemd dependency and non-systemd distributions. Despite having elogind properly configured and running, Flatpak still attempts to create systemd transient scopes. The user session is properly initialized (XDG_RUNTIME_DIR and XDG_SESSION_ID are set), and cgroups are available, but Flatpak cannot proceed without systemd user session support.

Request:
Please investigate Flatpak compatibility with elogind-based systems for better support of systemd-free distributions like Artix Linux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions