Windows remote Centos7 graphical interface

1. install tigervnc on centos7 server

1. Update yum source

yum update

2. Install tigervnc

yum -y install tigervnc*

3. Start vnc

vncserver

(1) A password is required after executing the command

 (2) Enter the password again

Note: the password must be remembered for the convenience of remote connection in the future

 (3) Fill in no in the following step

 

 Two, windows installation VNC-Viewer-7.5.0-Windows.exe

1. Installation package address:

Link: https://pan.baidu.com/s/10l3BDv4yJmd87WQwRUtnPA?pwd=wdz1 
Extraction code: wdz1

2. Double-click the installation package

 3. Keep clicking Next to the following interface

 4. Click install

 5. The installation is complete, click Finsh, double-click to start the application, no need to log in, just close it

 6. Test connection:

Enter IP: 5901 in the red box, and then press Enter to remote Centos7 graphical interface

 Note: 5901 is the port of vnc in centos7, everyone should pay attention to opening the port or closing the firewall

Open ports:

firewall-cmd --permanent --add-port=5901/tcp
firewall-cmd --reload

Turn off the firewall:

systemctl stop firewalld

systemctl stop iptables

Guess you like

Origin blog.csdn.net/wd520521/article/details/130929829