From 2acc6518f5c4f2a1f6605a789c655b961203d952 Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 16 Jan 2024 19:27:23 +0100 Subject: [PATCH] fix: Launch websockify --- src/entry.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/entry.sh b/src/entry.sh index 52817b4..5f89891 100644 --- a/src/entry.sh +++ b/src/entry.sh @@ -7,9 +7,6 @@ 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 @@ -23,8 +20,12 @@ cd /run trap - ERR +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 + 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 +swtpm socket -t -d --tpmstate dir=/tmp/emulated_tpm --ctrl \ + type=unixio,path=/tmp/emulated_tpm/swtpm-sock --log level=1 --tpm2 info "Booting Windows using $VERS..."