Skip to content

App fails to connect to Discord Flatpak due to IPC path differences #9

@MarkGG8181

Description

@MarkGG8181

The app tries to connect to Discord via the standard IPC socket at /run/user/1000/discord-ipc-0. That works for native installs, but not Flatpak since Flatpaks are sandboxed - /run/user/1000/app/com.discordapp.Discord/discord-ipc-0.

Because of this the app spams this to its log file:

+ [2026-01-07 23:25:58] ERR : Connection to discord failed. Check if your Discord app is open.
+ [2026-01-07 23:26:51] ERR : Failed connection to /run/user/1000/discord-ipc-0. The operation has timed out.
+ [2026-01-07 23:26:51] WARN: Tried to close a already closed pipe.
+ [2026-01-07 23:26:51] ERR : Failed connection to /run/user/1000/snap.discord/discord-ipc-0. The operation has timed out.
+ [2026-01-07 23:26:51] WARN: Tried to close a already closed pipe.

Steps to Reproduce:

  1. Install Discord via Flatpak;
  2. Run the app;
  3. See repeated IPC connection errors in the logs.

Environment:
Zorin OS 18 x86_64 - Linux 6.14.0-37-generic
Discord stable 483115 (e74917b) Host 0.0.119 x64 Build Override: N/A Linux 64-bit (6.14.0-37-generic)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions