From cabf74a0ba25b1f8aae21509e4682b7a375bdd0a Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 15 Jan 2024 04:27:57 +0100 Subject: [PATCH] fix: Web GUI before install (#16) --- src/entry.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/entry.sh b/src/entry.sh index 7a9560a..52817b4 100644 --- a/src/entry.sh +++ b/src/entry.sh @@ -7,6 +7,9 @@ echo "❯ For support visit https://github.com/dockur/windows" export DISPLAY=web export BOOT_MODE=windows +ln -sfn /usr/share/novnc/vnc_lite.html /usr/share/novnc/index.html +websockify -D --web /usr/share/novnc/ 8006 localhost:5900 2>/dev/null + cd /run . reset.sh # Initialize system @@ -20,10 +23,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