From 9d354c837edd98239913dcb5ac5c8e48ad920dd7 Mon Sep 17 00:00:00 2001 From: Roy Olav Purser Date: Tue, 15 Jun 2021 15:13:50 +0200 Subject: [PATCH] add dbus system bus --- pack-chrome.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pack-chrome.sh b/pack-chrome.sh index 899fa39..e769ddf 100755 --- a/pack-chrome.sh +++ b/pack-chrome.sh @@ -7,7 +7,9 @@ mkdir -p "${chrome_dir}" if [[ "${DBUS_SESSION_BUS_ADDRESS}test" == "test" ]] then - export DBUS_SESSION_BUS_ADDRESS="unix:path=${temp_dir}/dbus.sock" + export DBUS_SYSTEM_BUS_ADDRESS="unix:path=${temp_dir}/dbus-system.sock" + export DBUS_SESSION_BUS_ADDRESS="unix:path=${temp_dir}/dbus-session.sock" + dbus-daemon --system --address="${DBUS_SYSTEM_BUS_ADDRESS}" & dbus-daemon --session --address="${DBUS_SESSION_BUS_ADDRESS}" & fi