Add in disallow resizing

This commit is contained in:
T2theV 2025-02-20 23:35:08 -06:00 committed by GitHub
parent 6b04c4bb77
commit 73e8a02be2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,6 +13,11 @@ if [ -z ${RESOLUTION+x} ]; then
RESOLUTION="1920x1080"
fi
# Disallow Kasm resizing
if [ -z ${DO_NOT_RESIZE_KASM+x} ]; then
SETTING_RESIZE="-AcceptSetDesktopResolution false"
fi
exec s6-setuidgid abc \
/usr/local/bin/Xvnc $DISPLAY \
${HW3D} \
@ -24,8 +29,10 @@ exec s6-setuidgid abc \
-http-header Cross-Origin-Embedder-Policy=require-corp \
-http-header Cross-Origin-Opener-Policy=same-origin \
-geometry ${RESOLUTION} \
${SETTING_RESIZE} \
-sslOnly 0 \
-RectThreads 0 \
-websocketPort 6901 \
-interface 0.0.0.0 \
-Log *:stdout:10