抄作业:https://renzhn.github.io/posts/vps-remote-de/


只开启noVNC(通过36901端口) – 可以浏览器访问
password='LP1NV!@#$'
docker run -d --name=tiny-novnc --restart=always \
-p 36901:6901 \
-e RESOLUTION=1600x1200 \
-e VNC_PASSWORD=${password}
soff/tiny-remote-desktop

宝塔开启SSL + 反向代理


反向代理配置中要加上
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;

访问验证

一些说明
说明:这个镜像使用的是非常小巧的Fluxbox桌面环境,进入桌面后右键点击桌面空白处即可弹出菜单。
镜像详细说明:https://hub.docker.com/r/soff/tiny-remote-desktop