matrix-org / pantalaimon

E2EE aware proxy daemon for matrix clients.
Apache License 2.0
294 stars 42 forks source link

panctl GDBus error #91

Open brunakov opened 3 years ago

brunakov commented 3 years ago

Having installed pantalaimon with pip, running panctl from the command line gives me : Error, g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.pantalaimon1 was not provided by any .service files (2). I am running pantalaimon as a systemd service and I don't see any errors being reported.

Desktop :

poljar commented 3 years ago

This sounds like the dbus/UI stuff for pantalaimon isn't installed which is optional and usually isn't installed on a headless machine.

brunakov commented 3 years ago

is there a fix for that ?

poljar commented 3 years ago

The readme states that this should install the UI part:

pip install pantalaimon[ui]
brunakov commented 3 years ago

I think I have already tried that with no luck. Will check again and let you know

brunakov commented 3 years ago

The readme states that this should install the UI part:

pip install pantalaimon[ui]

just tried this but unfortunately panctl gives me the same error : Error, g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.pantalaimon1 was not provided by any .service files (2)

brunakov commented 3 years ago

The above error is when I run pantalaimon through systemd. If run with pantalaimon --log-level debug from terminal , panctl works correctly!

Woefdram commented 3 years ago

Same here, running Debian 11, Bullseye.

mntns commented 3 years ago

I can reproduce the error under NixOS 20.09 with pantalaimon 0.10.2 when starting it as a systemd user service.

Edit: The issue seems to be resolved by adding Requires=dbus.socket to the systemd user unit definition.

mackiexx commented 2 years ago

Requires=dbus.socket

i added Requires=dbus.socket but it doesn't resolve mine.