CentOS-7安装桌面环境
CentOS-7安装桌面环境
CentOS-7安装Server with GUI,设置为开机从桌面环境启动
yum -y group install 'Server with GUI'
systemctl set-default graphical.target && reboot
systemctl get-default
重启服务服务器从图形桌面启动,默认安装的是gnome deskstop
检查当前使用的桌面环境
ps -A | egrep -i "gnome|kde|mate|cinnamon|lx|xfce|jwm"
笔者的电脑显示如下
29 ? 00:00:00 kdevtmpfs
2064 ? 00:00:00 gnome-session-b
2105 ? 00:00:01 gnome-shell
2608 pts/0 00:00:00 gnome-session-b
2809 pts/0 00:00:00 gnome-keyring-d
2820 pts/0 00:02:38 gnome-shell
2874 ? 00:00:00 gnome-shell-cal
3188 pts/0 00:00:02 gnome-software
3858 pts/0 00:00:16 gnome-system-mo
4248 pts/0 00:00:01 gnome-control-c
</