I had a problem with Lightdm, each time I put my pc to sleep and wake up, it showed up no user, but asked for password and none worked.
And I don't know if it's dumb, but I also ran
locate lightdm | xargs sudo rm -r -f to remove all lightdm files
I uninstalled and reinstalled
lightdm with lightdm-gtk-greeter and settings, but now when I boot up, it says just 2 things:
[ OK ] Started Light Display Manager. [ OK ] Started ACPI event daemon. Starting ACPI event daemon...
and it flashes screen like 5 times and it stops. Nothing happens. I have to alt+f1 and manually login +
startx to see anything.
How to fix this stuff?
Error writing X authority: Failed to open X authority /var/lib/lightdm/.Xauthority: No such file or directory
chown lightdm.lightdm /var/lib/lightdm/
mkdir -p /var/lib/lightdm; chown -R lightdm:lightdm /var/lib/lightdm ; chmod 0750 /var/lib/lightdmwith root permission if needed.