fix(cistech-tunnel): add --no-sandbox for chromium running as root
This commit is contained in:
@@ -3,6 +3,10 @@
|
|||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Qt/Chromium flags for running as root
|
||||||
|
export QTWEBENGINE_CHROMIUM_FLAGS="--no-sandbox --disable-gpu"
|
||||||
|
export QTWEBENGINE_DISABLE_SANDBOX=1
|
||||||
|
|
||||||
# Setup TigerVNC password file from env var (passed by runtipi)
|
# Setup TigerVNC password file from env var (passed by runtipi)
|
||||||
if [ -n "${VNC_PASSWORD:-}" ]; then
|
if [ -n "${VNC_PASSWORD:-}" ]; then
|
||||||
mkdir -p /root/.vnc
|
mkdir -p /root/.vnc
|
||||||
|
|||||||
Reference in New Issue
Block a user