Closed yuanwangz closed 8 months ago
docker ps
找出XYBot的容器的CONTAINER ID
docker exec -it (XYBot的容器的CONTAINER ID) /bin/sh
x11vnc --storepasswd
/etc/supervisord.d/x11vnc.conf
command=x11vnc -forever -shared
末尾加入-rfbauth /home/app/.vnc/passwd
最后应该是command=x11vnc -forever -shared -rfbauth /home/app/.vnc/passwd
exit
退出docker然后重启docker
通过网页能直接连接vnc,能否设置密码提升安全性?