安装成功后出现蓝屏问题处理:
查看CentOS的版本:
[root@CentOS7 ~]# cat /etc/redhat-release
安装VNC需要的配置:
查看安装单:yum grouplist
然后安装X Window System、GNOME Desktop、Graphical Administration Tools
yum groupinstall "X Window System" --skip-broken(不行再加)
yum groupinstall "GNOME Desktop" "Graphical Administration Tools" --skip-broken(不行再加)
yum groupinstall "GNOME Desktop" "Graphical Administration Tools" --setopt=group_package_types=mandatory,default,optional(不行再加)
yum groups mark convert
systemctl start vncserver@:1.service
systemctl enable vncserver@:1.service
reboot
运行VNC时出现:failed to connect:操作成功完成。(0)
调整分辨率:
sudo vncserver -geometry 1600x900 :1
或者试一下开端口(5901的1代表VNC的端口,也即地址的最后一位,有时候会改成0,1等)
iptables -I INPUT -p tcp --dport 5901 -j ACCEPT
报错file /boot/efi/EFI/centos from install of fwupdate-efi-12-6.el7.centos.x86_64 conflicts with file from package grub2-common-1:2.02-0.64.el7.centos.noarch
yum update grub2-common