mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 19:35:49 +00:00
fix: Launch websockify
This commit is contained in:
parent
eae75cdb45
commit
2acc6518f5
1 changed files with 5 additions and 4 deletions
|
|
@ -7,9 +7,6 @@ echo "❯ For support visit https://github.com/dockur/windows"
|
||||||
export DISPLAY=web
|
export DISPLAY=web
|
||||||
export BOOT_MODE=windows
|
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
|
cd /run
|
||||||
|
|
||||||
. reset.sh # Initialize system
|
. reset.sh # Initialize system
|
||||||
|
|
@ -23,8 +20,12 @@ cd /run
|
||||||
|
|
||||||
trap - ERR
|
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
|
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..."
|
info "Booting Windows using $VERS..."
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue