fix(cistech-tunnel): add sudo and system dbus for openconnect-sso
This commit is contained in:
@@ -25,9 +25,13 @@ export GDK_BACKEND=x11
|
||||
export WEBKIT_DISABLE_DMABUF_RENDERER=1
|
||||
|
||||
# Qt/Chromium flags for running as root (no sandbox)
|
||||
export QTWEBENGINE_CHROMIUM_FLAGS="--no-sandbox --disable-gpu --use-gl=swiftshader"
|
||||
export QTWEBENGINE_CHROMIUM_FLAGS="--no-sandbox --disable-gpu"
|
||||
export QTWEBENGINE_DISABLE_SANDBOX=1
|
||||
|
||||
# Start system dbus daemon (needed for Chromium)
|
||||
mkdir -p /run/dbus
|
||||
dbus-daemon --system --fork 2>/dev/null || true
|
||||
|
||||
# Start dbus session
|
||||
[ -x /usr/bin/dbus-launch ] && eval $(dbus-launch --sh-syntax --exit-with-session)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user