Comment 10 for bug 232364

Revision history for this message
In , Sndirsch (sndirsch) wrote :

So you want to remove this completely from /etc/X11/xinit/xinitrc.common?

#
# Launch dbus if no session is activ or if the session is not reachable
#
if dbuslaunch="$(type -p dbus-launch)" && dbussend="$(type -p dbus-send)" ; then
    dbustest () {
        $dbussend --session --type=method_call \
                  --dest='org.freedesktop.DBus' \
                  /org/freedesktop/DBus \
                  org.freedesktop.DBus.NameHasOwner \
                  string:'org.freedesktop.DBus' > /dev/null 2>&1
    }
    if test -z "$DBUS_SESSION_BUS_ADDRESS" || ! dbustest ; then
        WINDOWMANAGER="$dbuslaunch --sh-syntax --exit-with-session \
                       $WINDOWMANAGER"
    fi
fi
unset dbuslaunch dbussend dbustest

IIRC it has been introduced by intention. So why now remove it again?