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,11 +8,14 @@ set -Eeuo pipefail
case "${DISPLAY,,}" in
vnc)
DISPLAY_OPTS="-display vnc=:0 -device $VGA"
DISPLAY_OPTS="-display vnc=:0 -device virto-gpu"
;;
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)
DISPLAY_OPTS="-display none"
;;