1

I'm having a serious problem. I use dual OS, so I'm posting with Windows. Somewhat about 2-3 hours before everything was working fine I have modified Ubuntu a lot and was using Mac OS X login screen. It was working fine but I was just having fun and typed this command in terminal to power off (using Ubuntu 13.10) {and using root}.

sudo shutdown -h now

Also I changed the password for su using

sudo passwd root

I kept my laptop aside and came after 2-3 hours. it booted with a splash screen of mac. then it took to a blank screen (OK this happens every time, but after 5-10 seconds login appears), but these times I'm getting a black screen with a mouse. I can move the mouse but can't log in. Only the black screen is there, but everything else is working when I press power button it shuts down like usual.

screenshot

I'm stuck, please help me!

Melebius
  • 11,750
Ukiyo
  • 405

2 Answers2

3

To fix this, follow the steps below:

1- Turn on your computer and wait for it to boot up.

2- Once it boots up, press Ctrl+Alt+F1 to enter terminal

3- Type your username, press enter, and type your password and press enter again.

4- Now type

startx

This should start your desktop. Once here, you can uninstall/reset whatever was causing the problem (in this case Mac OS LightDM theme).

5- Reboot the computer it should boot up normally!

Moose
  • 325
  • 4
  • 14
1

Try to run the following command:

sudo apt-get install lightdm --reinstall

and restart, if it works then enjoy.

If it does not work, then you can run following command:

sudo deborphan | sudo xargs apt-get -y remove lightdm --purge && sudo apt-get install lightdm
Aditya
  • 13,616