aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/desktop-autoloader6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/desktop-autoloader b/bin/desktop-autoloader
index 0bd5713..03913b3 100755
--- a/bin/desktop-autoloader
+++ b/bin/desktop-autoloader
@@ -38,8 +38,8 @@ if ! type -p "${DESKTOP_SESSION_MANAGER}" 1>/dev/null; then
fi
# launch an invisible X-Server
-echo Xvfb "${AUTOLOAD_DISPLAY}" &
+Xvfb "${AUTOLOAD_DISPLAY}" &
# launch a session inside this Xserver
-echo DISPLAY=${AUTOLOAD_DISPLAY}
-echo dbus-run-session --exit-with-session "${DESKTOP_SESSION_MANAGER}" &
+export DISPLAY="${AUTOLOAD_DISPLAY}"
+STARTUP="${DESKTOP_SESSION_MANAGER}" dbus-run-session /etc/X11/Xsession