$OpenBSD: README-main,v 1.2 2015/10/17 08:49:18 ajacoutot Exp $

+-----------------------------------------------------------------------
| Running dbus-1.10.22p0v0 on OpenBSD
+-----------------------------------------------------------------------

To start a session bus instance of dbus-daemon (needed by applications
installing /usr/local/share/dbus-1/services/*.service files), add the
following lines to .xinitrc or .xsession before starting the window manager
(see dbus-launch(1) for more info) -- note that some session/login managers,
e.g. gnome-session(1) already handle this automatically.

if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
	eval `dbus-launch --sh-syntax --exit-with-session`
fi
