aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-15 23:59:05 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-15 23:59:05 +0200
commit83f2633edc7c0bdf7c5b1deaad8ba44e1208d285 (patch)
tree5fa904bca2d3dfdfd86c748eecfc160a7294ab3e
parent3105de7d6b4451ea18aa9784b275712aeb0cfe9d (diff)
downloaddesktop-autoloader-83f2633edc7c0bdf7c5b1deaad8ba44e1208d285.zip
desktop-autoloader-83f2633edc7c0bdf7c5b1deaad8ba44e1208d285.tar.gz
desktop-autoloader-83f2633edc7c0bdf7c5b1deaad8ba44e1208d285.tar.bz2
Log to syslog when started and when done.
-rwxr-xr-xbin/desktop-autoloader4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/desktop-autoloader b/bin/desktop-autoloader
index 7a1e056..f39b9be 100755
--- a/bin/desktop-autoloader
+++ b/bin/desktop-autoloader
@@ -68,6 +68,8 @@ if ! type -p "${DESKTOP_SESSION_MANAGER}" 1>/dev/null; then
exit 1
fi
+logger -t desktop-autoloader "Launching desktop session in background now."
+
# launch an invisible X-Server
Xvfb ${AUTOLOAD_DISPLAY} -screen 0 1024x768x16 -cc 4 -nolisten tcp &
XVFB_PID=$?
@@ -88,3 +90,5 @@ STARTUP="${DESKTOP_SESSION_MANAGER}" dbus-run-session /etc/X11/Xsession
kill $X11VNC_PID
kill $XVFB_PID
+
+logger -t desktop-autoloader "Desktop session has finished now. System is ready for accelerated user logins now."