1》配置yum源
https://blog.youkuaiyun.com/weixin_42167759/article/details/81143066
因资源有限,接下来自己控制自己terminal1为控制端, terminal2为服务端
2》terminal1【控制端】安装vncviewer
[root@localhost yum.repos.d]# yum install tigervnc
3》terminal2【被控制端】安装vncserver
[root@localhost yum.repos.d]# yum install tigervnc-server
4》产看是否安装成功
[root@localhost yum.repos.d]# vnc 【按teb键 补齐】
vncconfig vncpasswd vncserver vncviewer
5》terminal2【被控制端】启动server
[root@localhost yum.repos.d]# vncserver
You will require a password to access your desktops.
Password: 【输密码】
Verify: 【输密码】
Would you like to enter a view-only password (y/n)? y
Password: 【输密码】
Verify: 【输密码】
New 'localhost.localdomain:1 (root)' desktop is localhost.localdomain:1
Creating default startup script /root/.vnc/xstartup
Creating