#!/bin/sh source /etc/config openbox-session & sleep 2 # turn off screensaver and mouse xset -dpms xset s off xset s noblank unclutter-xfixes -idle 0.01 -root & # url url="https://web.alarmmonitor.de/$START_CODE" mkdir ~/.vnc x11vnc -storepasswd "$VNC_PASSWORD" ~/.vnc/passwd x11vnc -xkb -forever -usepw -rfbport 5900 -bg -display :0 -auth /tmp/serverauth.* & echo "const encryptionPassword = \"$ENCRYPTION_PASSWORD\"; const password = \"$ADMIN_PASSWORD\";" > ~/chrome-inject-password/credentials.js exec chromium-browser $url --window-position=0,0 --kiosk --full-screen --noerrdialogs \ --disable-translate --no-first-run --fast --fast-start --ignore-gpu-blacklist --disable-quic \ --enable-fast-unload --enable-tcp-fast-open ---enable-native-gpu-memory-buffers \ --enable-gpu-rasterization --enable-zero-copy --disable-infobars \ --disable-features=TranslateUI --disk-cache-dir=/tmp --ignore-certificate-errors \ --test-type=webdriver --allow-running-insecure-content --disable-web-security \ --load-extension=~/chrome-inject-password