標籤:
1、在Windows用戶端端下安裝VNC Viewer (自行下載)此教程安裝的是VNC-5.2.3-Windows.exe。
2、Linux系統中下載VNC-5.2.3-Linux-x64-RPM.tar.gz並在終端
[[email protected] vnc]#tar -zxvf VNC-5.2.3-Linux-x64-RPM.tar.gz #得到VNC-Server-5.2.3-Linux-x64.rpm和VNC-Viewer-5.2.3-Linux-x64.rpm[[email protected] vnc]#rpm -ivh VNC-Viewer-5.2.3-Linux-x64.rpm[[email protected] vnc]#rpm -ivh VNC-Server-5.2.3-Linux-x64.rpm[[email protected] vnc]#vnclicense -add FBV9V-7Z3V9-MED3U-47SEU-85T3A #註冊RealVNC否則會報錯顯示no license[[email protected] vnc]#firewall-cmd --permanent --add-service vnc-server [[email protected] vnc]#systemctl restart firewalld.service #重啟防火牆服務
[[email protected] vnc]#systemctl enable vncserver-virtuald.service
[[email protected] vnc]#systemctl enable vncserver-x11-serviced.service
[[email protected] vnc]#systemctl start vncserver-virtuald.service
[[email protected] vnc]#systemctl start vncserver-x11-serviced.service
3、在Windows的VNC Viewer用戶端輸入http://ip:1以及root使用者名稱和密碼即可登入。
Centos/RHEL 7 安裝RealVNC與Windows用戶端通訊教程