I'm new to Linux and installed the newest elementary OS. Then I installed some packages and I was told to restart my computer. But when I booted it up again, it stuck at the logo. Then I pressed Windows+Tab, I guess, and this screen appeared. What am I supposed to do? Please help me guys.

Here is the picture: https://ibb.co/jsDe3F

  • What does systemctl status lightdm.service say? – lemonslice May 24 '17 at 6:37
  • How can I type this in on the black screen? – Yastamyar May 24 '17 at 15:26

Check if you can boot into recovery mode (selecteable in grub menu). This will launch the system in text-only mode. Try to login. Once loged in, reinstall the lightdm packages with:

sudo apt-get purge lightdm (this will remove it)

sudo apt-get autoremove (this will autoremove leftovers)

sudo apt-get install lightdm (this will install it again)

Reboot, cross your fingers and hope you will se your default login screen again.

I have the same problem with my Elementary, but I cannot login to recovery mode and have to find another way to reinstall the lightdm.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.