noVNC安装和使用
但是只能代理本地,不能代理其他地址,不知道原因,后面继续。
安装tigervnc-server
# dnf安装tigervnc-server
dnf install tigervnc-server
cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:1.service
vim /etc/systemd/system/vncserver@\:1.service
# 关闭selinux
getenforce
setenforce 0
getenforce
vim /etc/selinux/config
# 关闭防火墙
systemctl status firewalld
systemctl stop firewalld
systemctl disable firewalld
# 配置vncpasswd和启动vncserver :1
vncpasswd
vncserver :1
安装noVNC
git clone https://github.com/novnc/noVNC.git
cd noVNC/utils/
如果使用https,则
#openssl req -new -x509 -days 3650 -nodes -out self.pem -keyout self.pem
vnc-view可以连接的其他vnc,但是通过noNVC无法代理
192.168.5.12无法通过noVNC代理
192.168.203.147均无法通过noVNC代理