Updated DBus service (markdown)

John Freed 2021-09-16 10:44:44 +02:00
parent 013fa8aeaf
commit 0ad5262eb5

@ -41,9 +41,15 @@ export DBUS_LAUNCHD_SESSION_BUS_SOCKET=$(launchctl getenv DBUS_LAUNCHD_SESSION_B
Note that this will work only from a normal Macintosh desktop session.
To use the system bus:
```
export DBUS_SYSTEM_BUS_ADDRESS=unix:path=/usr/local/var/run/dbus/system_bus_socket
```
This works either from a desktop session or an SSH session.
#### MacOS and SSH
As mentioned, the command lines above work only from a normal Macintosh desktop session, because `launchctl` is not available via SSH.
As mentioned, the session bus command lines above work only from a normal Macintosh desktop session, because `launchctl` is not available via SSH.
To work around this problem, there are two cases: