centos7安装图形界面提示错误:connection x server lost
原因:缺少一些启动项。
解决方案:
yum updata
附:
安装方法:
yum -y update yum -y groupinstall "x window system"yum groupinstall "gnome desktop" "graphical administration tools"ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target #设置图形界面为默认启动界面
错误二:there are no enabled repos.
原因:是没有指定yum的repos源文件
解决方案:
1、安装阿里源
wget -o /etc/yum.repos.d/centos-base.repo http://mirrors.aliyun.com/repo/centos-7.repo
2、安装网易源
wget -o /etc/yum.repos.d/centos-base.repo http://mirrors.163.com/.help/centos7-base-163.repo
相关教程推荐:centos教程
以上就是centos7无法安装图形界面的详细内容。
