start dbus if it isn't

This commit is contained in:
Gwenhael Le Moine 2012-08-13 07:21:27 +02:00
parent 5fbdb62a83
commit fc71028697

View file

@ -12,6 +12,10 @@ sysmodmap=/etc/X11/xinit/.Xmodmap
[ -f $userresources ] && /usr/bin/xrdb -merge $userresources
[ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
eval $(dbus-launch --sh-syntax --exit-with-session)
fi
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
CK_LAUNCH_SESSION= ck-launch-session
else