Use ssl_self_generator to gen a ssl cert for you server, and trust it in your client
Server:
sudo apt update
sudo apt install tigervnc* websockify
vncserver :1
websockify 9001 127.0.0.1:5901 -D --cert certfile --key keyfile
Client :
Websocket Path:
wss://ip-of-your-server:9001
Type your password and then click Connect.
bookmark the page to save the connection.
Back
首先你需要使用ssl_self_generator为你的VNC服务端生成一个证书,并在客户端设备信任它。
服务端:
sudo apt update
sudo apt install tigervnc* websockify
vncserver :1
websockify 9001 127.0.0.1:5901 -D --cert certfile --key keyfile
客户端 :
Websocket路径:
wss://服务端IP:9001
输入密码,点击链接
加入页面到书签即可保存链接
返回