aboutsummaryrefslogtreecommitdiffstats
path: root/packages/xserver-kdrive-common/xserver-kdrive-common/Xsession
blob: a438e1305035c8aa448c0eaff7a884a6cf95991e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

HOME_VOLATILE=/home/$USER/ramdisk
export HOME_VOLATILE

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
fi

. /etc/profile

if [ -f $HOME/.profile ]; then
 . $HOME/.profile
fi

SYSSESSIONDIR=/etc/X11/Xsession.d

run-parts $SYSSESSIONDIR

exit 0