Install noVNC from GitHub

This commit is contained in:
Héctor Molinero Fernández
2019-09-15 20:55:14 +02:00
parent 473a8b4932
commit 81a66b5ee2
3 changed files with 17 additions and 4 deletions

View File

@ -2,6 +2,6 @@
set -eu
cd ~/
cd /opt/novnc/utils/websockify/
exec 2>&1
exec /usr/share/novnc/utils/launch.sh --listen 6080 --vnc localhost:5900
exec /usr/bin/python3 -m websockify --web /opt/novnc/ 6080 localhost:5900

View File

@ -13,6 +13,6 @@ QEMU_ARGS="${QEMU_ARGS-} -usb -device usb-tablet"
QEMU_ARGS="${QEMU_ARGS-} -k ${QEMU_KEYBOARD:?}"
if [ "${QEMU_KVM:?}" = true ]; then QEMU_ARGS="${QEMU_ARGS-} -enable-kvm"; fi
cd ~/
cd /var/lib/qemu/
exec 2>&1
exec "${QEMU:?}" ${QEMU_ARGS:?}