remove novnc

do not support use realvnc for novnc
This commit is contained in:
aiminick 2019-02-21 06:19:34 +08:00 committed by GitHub
parent d1c6ae8821
commit c9a92c0709
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 23 deletions

View File

@ -63,31 +63,10 @@ systemctl enable vncserver-x11-serviced.service ; systemctl start vncserver-x11-
----
## NOVNC
支持使用浏览器作为客户端访问VNC
### 安装并配置
```shell
apt update; apt install novnc python-websockify -y ;\
ln -sf /usr/share/novnc/vnc_auto.html /usr/share/novnc/index.html
```
### 启动服务
```shell
websockify -D --web=/usr/share/novnc/ --cert=/var/lib/shellinabox/certificate.pem 6080 localhost:5900
```
### 开机启动
将上面的命令放入 "/boot/rc-local" 即可
----
## XRDP SERVER
如果要安装XRDP 执行下面命令除非你知道XRDP是做什么的否则不需要 !!
```shell
apt install xrdp -y ; systemctl enable xrdp.service
```