+-----------------------------------------------------------------------
| Running dbus 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 your Xsession script before starting the window manager
(see dbus-launch(1) for more info) -- note that some session/login managers,
like gnome-session(1) already handle this automatically.

e.g. console login: ~/.xinitrc
if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
	eval `dbus-launch --sh-syntax --exit-with-session`
fi

e.g. graphical display manager: ~/.xsession
if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
	eval `dbus-launch --sh-syntax --exit-with-x11`
fi
