A_problem:
I can’t start lightdm after i do fo this
1 | sudo pacman -Rns deepin plasma |
that i can’t start my windows_manager’s manager!
Reason
Because something reliable be uninstalled, like deepin-dm, kde-dm, gnome-dm, plasma-dm etc.
display-manager be uninstall !
Other reason:/etc/systemd/system/display-manager already exist an cannot be rewrite.
such as sudo systemctl enable lightdm.
return: File /etc/systemc/system/display-manager.service already exists and is a symlink to /usr/lib/systemd/system/sddm.service
Sole
1 | sudo rm /etc/systemc/system/display-manager.service |
1 | sudo systemctl enable lightdm |
1 | sudo ls -1 /usr/share/xgreeters/ |
if it not exist, please install a lightdm-greeter first.
1 | sudo pacman -S lightdm-deepin-greeter |
Last step:
1 | sudo nvim /etc/lightdm/lightdm.conf |
change to :
greeter-session = lightdm-deepin-greeter
Done!