您的位置 首页 centos

centos7无法安装图形界面

问题:

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无法安装图形界面

文章地址:https://www.zhihuclub.com/11167.shtml

关于作者: 智云科技

热门文章

网站地图