This is an old revision of the document!
prisoner desktop にブラウザで接続する。
pkgにて、以下を導入。
WebSockify のダウンロードと設定する。
# cd /usr/local/libexec/novnc/utils # chmod 744 launch.sh # ./launch.sh <中略> Filed to start WebSockets proxy #
#!/usr/bin/env python3.6 (python を python3.6 に修正)
novnc 向け設定を行う。
#!/bin/sh
#
# PROVIDE: novnc
. /etc/rc.subr
name="novnc"
rcvar=novnc_enable
command="/usr/local/libexec/novnc/utils/launch.sh"
command_args=${novnc_options}
load_rc_config $name
run_rc_command "$1"
inetd_enable="YES" novnc_enable="YES" novnc_option="--vnc 192.168.100.2:5901"
WebSockify ディレクトリを組み込む。