summaryrefslogtreecommitdiff
path: root/src/dbus-lib/dbusdaemon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus-lib/dbusdaemon.cpp')
-rw-r--r--src/dbus-lib/dbusdaemon.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/dbus-lib/dbusdaemon.cpp b/src/dbus-lib/dbusdaemon.cpp
index 7c01a28b..6639f1c3 100644
--- a/src/dbus-lib/dbusdaemon.cpp
+++ b/src/dbus-lib/dbusdaemon.cpp
@@ -35,7 +35,12 @@ DBusDaemonProcess::DBusDaemonProcess(QObject *parent)
arguments << address;
#elif defined(Q_OS_WIN)
- arguments << qSL(" --address=tcp:host=localhost");
+ arguments << qSL("--address=tcp:host=localhost");
+#elif defined(Q_OS_LINUX)
+ // some dbus implementations create an abstract socket by default, while others create
+ // a file based one. we need a file based one however, because that socket might get
+ // mapped into a container.
+ arguments << qSL("--address=unix:dir=/tmp");
#endif
setProgram(program);
setArguments(arguments);