aboutsummaryrefslogtreecommitdiffstats
path: root/dbus/xinit
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dbus/xinit4
1 files changed, 4 insertions, 0 deletions
diff --git a/dbus/xinit b/dbus/xinit
index 28bb1d1..e5616f8 100644
--- a/dbus/xinit
+++ b/dbus/xinit
@@ -1,4 +1,8 @@
# -*- shell-script -*-
+if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
+ eval "$(dbus-launch --sh-syntax)"
+fi
+
# Functional alernative to /etc/X11/xinit/xinitrc.d/50-systemd-user.sh, just skips first part
dbus-update-activation-environment DISPLAY XAUTHORITY