麒麟服务器系统中自带的是 tigervnc-server 可以直接用 yum 安装
- 安装tigervnc-server
[root@localhost 桌面]# systemctl stop firewalld.service (关闭防火墙)
[root@localhost 桌面]# yum -y install tigervnc-server (安装服务tigervnc-server)
[root@localhost 桌面]# yum -y install tigervnc-server (安装服务tigervnc-server)

- 启动VNC服务和设置密码
[root@localhost 桌面]# vncserver
You will require a password to access your desktops.
Password:(这里设置密码)
Verify:(这里确认密码)
Would you like to enter a view-only password (y/n)? n(询问你是否要再输入一个只有观看权限而被禁止操作远程桌面的密码。一般我们都不需要这样的一个只能看屏幕的权限,所以此处输入n)
New 'localhost.localdomain:1 (user)' desktop is localh