From 77f98749fe228c05d678584d4dc979d7ace8276c Mon Sep 17 00:00:00 2001 From: John Freed Date: Tue, 7 Sep 2021 15:23:10 +0200 Subject: [PATCH] Updated DBus service (markdown) --- DBus-service.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/DBus-service.md b/DBus-service.md index 1e969d3..adf869d 100644 --- a/DBus-service.md +++ b/DBus-service.md @@ -19,11 +19,18 @@ brew install dbus brew services start dbus ``` -The environment variable DBUS_LAUNCHD_SESSION_BUS_SOCKET needs to be set. If it has not been, you will see error messages similar to +The environment variable DBUS_LAUNCHD_SESSION_BUS_SOCKET needs to be set correctly. If it has not been, you will see error messages similar to those in the Troubleshooting section below. If that happens, issue this command: ```export DBUS_LAUNCHD_SESSION_BUS_SOCKET=$(launchctl getenv DBUS_LAUNCHD_SESSION_BUS_SOCKET)``` +In particular, this command needs to be issued if you manually start or restart the Dbus service: + +``` +brew services restart dbus +export DBUS_LAUNCHD_SESSION_BUS_SOCKET=$(launchctl getenv DBUS_LAUNCHD_SESSION_BUS_SOCKET) +``` + ### System bus To run on the system bus you need to take some additional steps.