Don't automatically launch dbus as part of the default user sessions.

requested by deraadt@ no objection ajacoutot@
This commit is contained in:
matthieu 2015-10-17 08:25:11 +00:00
parent 459538fd05
commit 33d107bfaf
2 changed files with 2 additions and 10 deletions

View File

@ -1,6 +1,6 @@
XCOMM!SHELL_CMD XCOMM!SHELL_CMD
XCOMM XCOMM
XCOMM $OpenBSD: Xsession.cpp,v 1.13 2014/02/25 22:16:24 matthieu Exp $ XCOMM $OpenBSD: Xsession.cpp,v 1.14 2015/10/17 08:25:11 matthieu Exp $
XCOMM redirect errors to a file in user's home directory if we can XCOMM redirect errors to a file in user's home directory if we can
@ -105,9 +105,6 @@ else
exec `eval $XDESKTOP` exec `eval $XDESKTOP`
} }
#endif #endif
if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi
BINDIR/xterm & BINDIR/xterm &
BINDIR/fvwm BINDIR/fvwm
fi fi

View File

@ -1,5 +1,5 @@
XCOMM!SHELL_CMD XCOMM!SHELL_CMD
XCOMM $OpenBSD: xinitrc.cpp,v 1.12 2014/02/26 14:21:28 matthieu Exp $ XCOMM $OpenBSD: xinitrc.cpp,v 1.13 2015/10/17 08:25:11 matthieu Exp $
userresources=$HOME/.Xresources userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap usermodmap=$HOME/.Xmodmap
@ -56,11 +56,6 @@ then
fi fi
fi fi
XCOMM if dbus is installed, start its daemon
if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi
XCOMM start some nice programs XCOMM start some nice programs
XCLOCK -geometry 50x50-1+1 & XCLOCK -geometry 50x50-1+1 &