NoVNC 安装
pip install websockifywget https://github.com/novnc/noVNC/archive/v1.1.0.tar.gztar -xvf noVNC-1.1.0.tar.gz mv noVNC-1.1.0 /usr/share/novncmkdir -p /etc/novnc/token/ echo 'test: 172.20.0.245:5900' > /etc/novnc/token/testecho '[Unit] Description=NoVNC Server After=syslog.target network.target [Service] Type=simple User=root ExecStart=/usr/local/bin/websockify --web /usr/share/novnc/ --target-config=/etc/novnc/token/ --log-file=/var/log/novnc.log 6080 Restart=on-failure [Install] WantedBy=multi-user.target ' > /etc/systemd/system/novnc.service systemctl daemon-reloadsystemctl enable novnc.service systemctl restart novnc.service
最后更新于