I changed my DE to i3wm those days.
And when I type htop find lightdm, I am not sure what is that and what is it used for.
So I uninstall it.
Then I can not start, and got errors on the startup.
I try to reinstall it again. But FAILED when systemctl operation.
After an hour, I got the list info, and make it.
To start lightdm, u must ensure that u could start your DE with startx instead of sudo startx.
And here I got startx error to.
Then I remove the .xinitrc and rewrite it again with only exec.
Then it works, I reinstall the lightdm and systemctl enable it sucessfully.
I changed my DE to i3wm those days. And when I type htop find lightdm, I am not sure what is that and what is it used for. So I uninstall it. Then I can not start, and got errors on the startup. I try to reinstall it again. But FAILED when systemctl operation. After an hour, I got the list info, and make it.
To start lightdm, u must ensure that u could start your DE with startx instead of sudo startx. And here I got startx error to. Then I remove the .xinitrc and rewrite it again with only exec. Then it works, I reinstall the lightdm and systemctl enable it sucessfully.