Failed to connect to socket /run/dbus/system_bus_socket

Trying to run the flatpak for Synology Note Station, but I get the following error:

[2:24:0809/182924.434846:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory

The program looks like it starts, but when I login I just get the following error:

Login failed. Please check your network connection and try again later.

I’m confident that the login credentials are correct, since I use the same credentials with the Synology Drive Client (also a flatpak). Any suggestions?

Seems like that package assumes /run/dbus/system_bus_socket is an existing socket. Does it exist? I have it on my desktop NixOS.

Hi @mightyiam, there is a file at /run/dbus/system_bus_socket and the owner and group are both root. Could it be a permissions issue?

I think the app/flatpak package isn’t allowing access to the DBus socket. This is for Signal, but see: Failed to connect to socket /run/dbus/system_bus_socket · Issue #280 · flathub/org.signal.Signal · GitHub

1 Like

I submitted an issue on github if the flatpak needs to be updated to access dbus on wayland/hyprland.

Interesting discussion on Reddit on the same topic, which also mentions the Signal flatpak DBus socket issue. Still not really sure if this is a configuration issue or a flatpak bug.

You can always try to patch the flatpak package yourself and add in support for the dbus socket, then package it and attempt to run it. The Signal GH issue links to a PR for a fix. Maybe try something similar?

1 Like