因?yàn)橄到y(tǒng)自帶的gnome有問題,所以改用xfce桌面
先UPDATE服務(wù)器
然后安裝 epel-release
再安裝 lightdm
再安裝 group xfce
修改/etc/lightdm/lightdm.conf,找到xdmcp這一欄,把disable改成true,port=177的注釋去掉。
systemctl stop gdm
systemctl disable gdm
啟動lightdm服務(wù)
systemctl enable lightdm
systemctl isolate graphical.target