1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

xserver-kdrive-common: always start a session bus when X starts, as X is the session

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4179 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Ross Burton
2008-04-07 14:14:48 +00:00
parent f29e0adb56
commit ea0ec5af1a
2 changed files with 4 additions and 7 deletions
@@ -7,12 +7,9 @@ HOME=/home/$USER
export HOME
if [ -f /usr/bin/dbus-launch ]; then
## test for an existing bus daemon, just to be safe
if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
## if not found, launch a new one
eval `dbus-launch --auto-syntax --exit-with-session`
echo "D-BUS per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS"
fi
# As this is the X session script, always start a new DBus session.
eval `dbus-launch --sh-syntax --exit-with-session`
echo "D-BUS per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS"
fi
. /etc/profile
@@ -2,7 +2,7 @@ DESCRIPTION = "Common X11 scripts"
LICENSE = "GPL"
SECTION = "x11"
RDEPENDS_${PN} = "xmodmap libxrandr xdpyinfo xtscal xinit formfactor"
PR = "r24"
PR = "r25"
SRC_URI = "file://etc"
S = ${WORKDIR}