ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## 1.安装x11vnc ``` sudo apt-get install x11vnc -y ``` ## 2.设置密码 ``` sudo x11vnc -storepasswd /etc/x11vnc.pass ``` ## 3.修改配置文件 ``` sudo vim /lib/systemd/system/x11vnc.service ``` 内容如下: ``` [Unit] Description=Start x11vnc at startup After=multi-user.target [Service] Type=simple ExecStart=/usr/bin/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /etc/x11vnc.pass -rfbport 5900 -shared [Install] WantedBy=multi-user.target ``` ## 4.修改权限 ``` sudo chmod 755 /lib/systemd/system/x11vnc.service ``` ## 5.设置开机自启动 ``` sudo systemctl enable x11vnc.service sudo systemctl daemon-reload ``` ## 6.启动服务 ``` sudo systemctl start x11vnc ```