From 1cbcc8f71e6297744397245d9ad6278002a37f65 Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 15 Jan 2024 04:20:41 +0100 Subject: [PATCH] fix: Web GUI before install --- src/entry.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/entry.sh b/src/entry.sh index 7a9560a..b12de7e 100644 --- a/src/entry.sh +++ b/src/entry.sh @@ -7,6 +7,8 @@ echo "❯ For support visit https://github.com/dockur/windows" export DISPLAY=web export BOOT_MODE=windows +websockify -D --web /usr/share/novnc/ 8006 localhost:5900 2>/dev/null + cd /run . reset.sh # Initialize system @@ -20,10 +22,6 @@ cd /run trap - ERR -if [[ "${DISPLAY,,}" == "web" ]]; then - websockify -D --web /usr/share/novnc/ 8006 localhost:5900 2>/dev/null -fi - mkdir -p /tmp/emulated_tpm swtpm socket -t -d --tpmstate dir=/tmp/emulated_tpm --ctrl type=unixio,path=/tmp/emulated_tpm/swtpm-sock --log level=1 --tpm2