ubuntu18.04強制關機後進不了桌面low-graphics mode

出現:session

the system is running in low-graphics mode

緣由:ide

卸載搜狗拼音誤刪了文件,而後強制關機(應該桌面設置出現了問題)

解決:unix

rm -rf /var/lib/lightdm/.cache/*
rm -rf /var/cache/lightdm/*
rm -rf /tmp/.X11-unix
mv /var/lib/lightdm/.Xauthority /var/lib/lightdm/.Xauthority_bk
mv /var/lib/lightdm/.dbus/session-bus/ /var/lib/lightdm/.dbus/session-bus_bk/

dpkg-reconfigure lightdm
# 選擇gdm3,而後啓動gdm3
service gdm start
相關文章
相關標籤/搜索