0

I removed lightdm and all its config files in the different directories (don't ask).

How do I restore it?

elementary boots into text mode right now.

2

It depends on what all you deleted. The reinstall command from the command line is

sudo apt-get install --reinstall packagename

lightdm package is "lightdm" loki also uses "pantheon-greeter". Try reinstalling those two.

| improve this answer | |
  • I tried doing that, and dpkg-reconfigure, but nothing good happens. – nkkollaw Nov 8 '16 at 8:13
  • Did you try reinstalling "light-locker" too? – Michael Roberts Nov 8 '16 at 15:51
  • I did't try light-locker, I'm getting lots of errors right now. – nkkollaw Nov 8 '16 at 22:01
  • What kind of errors? – Asu Nov 11 '16 at 19:51
1

I did exactly the same thing and panicked after elementray os booted into a command line, after trying a lot of solutions this worked out for me: login as administrator by typing your username and then your password and then type the following commands:

sudo apt purge elementary-desktop
sudo apt install elementary-desktop
sudo reboot
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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