Skip to content

Instantly share code, notes, and snippets.

@goldensquirrel11
Last active October 27, 2025 11:55
Show Gist options
  • Select an option

  • Save goldensquirrel11/65ccc3854b4c0d0b92b3c32a01e0867c to your computer and use it in GitHub Desktop.

Select an option

Save goldensquirrel11/65ccc3854b4c0d0b92b3c32a01e0867c to your computer and use it in GitHub Desktop.
Fix for Vesktop "Failed to connect to arRPC" (Flatpak)

Issue Description

The issue I've found involves flatpak sandboxing preventing the creation of the discord-ipc-0 ipc service which in turn prevents other applications from communicating with Vesktop's built-in arRPC service.

If you're unsure whether you have this issue, check the directory stored in your $XDG_RUNTIME_DIR environment variable for the discord-ipc-0 service file using the command below:

ls -lah $XDG_RUNTIME_DIR | grep 'discord-ipc-0'

Solution

Note: Eventhough this seems to fix the issue of applications connecting to the arRPC server, Vesktop still seems to show the "Failed to connect to arRPC, is it running?" banner

Make sure to first quit Vesktop, then run the following command:

flatpak override --user --filesystem=$XDG_RUNTIME_DIR dev.vencord.Vesktop

After relaunching Vesktop, you should have a working arRPC server.

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