首页 > 技术文章 > 打造基于CentOS7的xfce最简工作环境

pu369 2016-11-01 18:18 原文

参考这里:http://blog.csdn.net/smstong/article/details/44802989没成功。

又参考这里http://jensd.be/125/linux/rhel/install-mate-or-xfce-on-centos-7 成功了。

1、我是在win7下,虚拟机中,CentOS7 最小安装
2、执行 yum update 更新系统
3、执行 # yum install epel-release 安装额外包yum源(extra package for Enterprise Linux)
4、执行yum groupinstall "X Window system",安装X Window system
5、yum groupinstall "MATE Desktop"
6、yum groupinstall xfce 安装Xfce桌面环境
7、systemctl isolate graphical.target
终于见到桌面了,下次重启可能还要执行第7步。

之后可以Start the GUI on boot:
sudo systemctl set-default graphical.target
rm '/etc/systemd/system/default.target'
ln -s '/usr/lib/systemd/system/graphical.target' '/etc/systemd/system/default.target'
还可以Change the default display manager

推荐阅读