参考文章:https://blog.csdn.net/msdnchina/article/details/89974845
# dnf groupinstall workstation
# systemctl set-default graphical.target
# systemctl isolate graphical.target
或者
# systemctl reboot --->>>重启OS
额外注:systemctl isolate graphical.target的作用是在运行时change runlevels