更新 b6_ubuntu部署novnc.md

This commit is contained in:
chicrobot committed 2026-09-09 01:29:00 +08:00
1 parent bd267a9c2f
commit ade7fa770b
1 file changed
+8 -8
+8 -8
View File
@@ -1,20 +1,20 @@
1. 安装 x11vnc 与 noVNC
'''
```
sudo apt update
sudo apt install x11vnc novnc python3-websockify -y
'''
```
2. 配置并启动 x11vnc
设置一个 VNC 访问密码
'''
```
x11vnc -storepasswd
'''
```
启动 x11vnc 服务,共享当前的主显示器:0并允许客户端断开后服务继续运行
'''
```
x11vnc -usepw -forever -display :0
'''
```
3. 启动 noVNC 网页代理
'''
```
websockify --web /usr/share/novnc 6080 localhost:5900
'''
```