Update display.sh

This commit is contained in:
Kroese 2024-02-02 17:58:29 +01:00 committed by GitHub
parent 5e0cd9cdfb
commit c43a3f76ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,10 +8,13 @@ set -Eeuo pipefail
case "${DISPLAY,,}" in case "${DISPLAY,,}" in
vnc) vnc)
DISPLAY_OPTS="-display vnc=:0 -device $VGA" DISPLAY_OPTS="-display vnc=:0 -device virto-gpu"
;; ;;
web) web)
DISPLAY_OPTS="-display vnc=:0,websocket=5700 -device $VGA" DISPLAY_OPTS="-display vnc=:0,websocket=5700 -device virto-gpu"
;;
boot)
DISPLAY_OPTS="-display vnc=:0,websocket=5700 -device ramfb"
;; ;;
none) none)
DISPLAY_OPTS="-display none" DISPLAY_OPTS="-display none"