CentOS 7下安装X Window
1、网上其他人都这么说:
yum check-update
yum groupinstall "X Window System"
。。。
但是运行yum groupinstall "X Window System"时出现
There is no installed groups file.
Maybe run: yum groups mark convert
。。。
遇到这个问题,需要先运行一下
yum groups mark convert
再运行
yum groupinstall "X Window System"
即可。
2、继续
yum install gnome-classic-session gnome-terminal nautilus-open-terminal control-center liberation-mono-fonts
unlink /etc/systemd/system/default.target
ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
reboot