centos7安装x11vnc
时间: 2023-09-18 11:07:27 浏览: 175
要在CentOS 7上安装x11vnc,可以按照以下步骤进行操作:
1. 打开终端并使用以下命令安装xfce4桌面环境:
```
yum groupinstall "X Window System" "Xfce"
```
2. 安装x11vnc软件包,可以使用以下命令:
```
yum install x11vnc
```
3. 在安装x11vnc之前,我们可以使用x11vnc命令来创建一个存储密码的文件。使用以下命令设置密码并将其存储在/etc/x11vnc.pass文件中:
```
x11vnc -storepasswd 123456 /etc/x11vnc.pass
```
4. 启动x11vnc服务,你可以使用以下命令:
```
x11vnc -rfbauth /etc/x11vnc.pass -display :0 -forever -shared
```
通过按照以上步骤,你可以成功在CentOS 7上安装和配置x11vnc。请注意,确保你已经安装了X Window System和xfce4桌面环境。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [命令行版 Centos 7 虚拟机安装 xfce4 桌面 + x11vnc + novnc](https://blog.csdn.net/qq_20919883/article/details/127692673)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [Centos 7 安装VNC步骤(亲试成功)](https://download.csdn.net/download/e_wsq/9622815)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [centos7 x11vnc配置](https://blog.csdn.net/u010749410/article/details/122696356)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文