CentOS8安装VNCServer
系统信息
[root@centos8 ~]# cat /etc/redhat-release
CentOS Linux release 8.1.1911 (Core)
[root@centos8 ~]#
注意要安装桌面环境,如果没有安装桌面环境,登进去是黑屏。
处理:
1.安装桌面环境(yum groupinstall "Server with GUI"
)
2.重启VNCServer(systemctl restart vncserver@:1.service
)
安装VNCServer
[root@centos8 ~]# yum install tigervnc-server
CentOS-8 - AppStream 5.6 kB/s | 4.3 kB 00:00
CentOS-8 - Base 4.5 kB/s | 3.9 kB 00:00
CentOS-8 - Extras 1.8 kB/s | 1.5 kB 00:00
Dependencies resolved.
============================================================================================