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'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.VesktopAfter relaunching Vesktop, you should have a working arRPC server.