Files
script-tool/vnc/README.md
T
2026-08-04 21:59:57 +08:00

28 lines
557 B
Markdown

给 user1 开设桌面,使用 5901 端口
```
bash install_vncserver_new.sh -u user1 -p Aa123456 -P 5901
```
给 user2 开设桌面,使用桌面号 2(自动换算为 5902 端口)
```
bash install_vncserver_new.sh -u user2 -p Bb654321 -P 5902
```
给 admin 账户开设桌面,使用 5915 端口
```
bash install_vncserver_new.sh -u admin -p admin123 -P 5915
```
```
sudo apt update
sudo apt install gnome-session-flashback -y
```
```
vim /etc/gdm3/custom.conf
WaylandEnable=false
```
```
sudo systemctl restart gdm3
```
配置完重启VNC即可