openbsd-ports/x11/dbus/pkg/MESSAGE
ajacoutot dd5e40f963 Enhance message with suggestions from dcoppa@.
This should help people having issues with gvfs applications out of the
full blown DE.
2010-08-21 19:06:00 +00:00

18 lines
689 B
Plaintext

To start systemwide message dbus daemon whenever the machine boots,
add the following lines to /etc/rc.local:
if [ -x ${PREFIX}/bin/dbus-daemon ]; then
install -d -o _dbus -g _dbus /var/run/dbus
echo -n ' dbus'; ${PREFIX}/bin/dbus-daemon --system
fi
To start a session bus instance of dbus-daemon (needed by at least gvfs
aware applications and ${PREFIX}/share/dbus-1/services/*.service),
add the following lines in .xinitrc or .xession before starting the
window manager (see dbus-launch(1) for more info):
(note that some graphical managers, e.g. gdm(1) already do this for you)
if [ -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
eval `dbus-launch --auto-syntax --exit-with-session`
fi