Open woshikid opened 1 year ago
安装noVNC
sudo apt install python3 git git clone https://github.com/novnc/noVNC.git
手动安装
curl -O -L https://github.com/novnc/noVNC/archive/refs/tags/v1.4.0.tar.gz tar zxvf v1.4.0.tar.gz && mv noVNC-1.4.0 noVNC curl -O -L https://github.com/novnc/websockify/archive/refs/tags/v0.11.0.tar.gz tar zxvf v0.11.0.tar.gz && mv websockify-0.11.0 noVNC/utils/websockify
启用SSL
openssl req -new -x509 -days 365 -nodes -out noVNC/utils/self.pem -keyout noVNC/utils/self.pem
运行noVNC
noVNC/utils/novnc_proxy --vnc localhost:5901 [--listen 0.0.0.0:6080]
访问noVNC http://localhost:6080/vnc.html https://localhost:6080/vnc.html
安装noVNC
手动安装
启用SSL
运行noVNC
访问noVNC http://localhost:6080/vnc.html https://localhost:6080/vnc.html