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,431
  • 9
  • 52
  • 78
Ukiyo
  • 405
  • 3
  • 5
  • 14

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
  • 327
  • 4
  • 14
  • but i dont know my user name altough i know my acc name .is my user name that one which come sin terminal ****@pcname : – Ukiyo Mar 26 '14 at 13:50
  • Try logging into root. Un:root. PW:(what you set it as). Then type 'CD /home' then type 'ls'. What does that output? – Moose Mar 26 '14 at 13:51
  • im using this login https://github.com/Wattos/LightDM-Webkit-MacOSX-Theme – Ukiyo Mar 26 '14 at 13:52
  • Sorry.. Your username is what you said in the first comment – Moose Mar 26 '14 at 13:53
  • ok let me try rebooting my pc so will take some time to post btw what to type here Un:root. PW:(what you set it as !!!here!!) – Ukiyo Mar 26 '14 at 13:54
  • You can either log in as root (un:root, pw:(what you set it as when you type sudo passwd root)), or as your normal user. (un:acount name, pw:your normal password. – Moose Mar 26 '14 at 13:58
  • Ok I logged in with my acc and did cd and ls it is showing names of files on desktop like normal terminal – Ukiyo Mar 26 '14 at 14:00
  • No same login black didnt work – Ukiyo Mar 26 '14 at 14:05
  • Unity panel service no processes found ; compiz core - fatal : couldn't open display; stopping plugin core unloading plugin core – Ukiyo Mar 26 '14 at 14:08
  • First of all, you might want to back up important data, just in case... But then you can type sudo 'apt-get purge lightdm,' then when that completes, type 'sudo apt-get install lightdm' This should re-install the login. – Moose Mar 26 '14 at 14:10
  • Note: this is copied from: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1066410 – Moose Mar 26 '14 at 14:10
  • i did sudo startx and desktop opened and i changed settings – Ukiyo Mar 26 '14 at 14:23
  • Try rebooting, does it still work? – Moose Mar 26 '14 at 14:26
  • it worked! actually what i did was i changed my greeter in lightdm.conf after using sudo starx. and restarted now it is default login screen. – Ukiyo Mar 26 '14 at 14:30
  • btw thx for your help friend – Ukiyo Mar 26 '14 at 14:39
  • DeveloperNewb or @AshwinSekhari: please one of you edit this answer so that it contains the correct solution; think about making this useful for others; as well as you are advised to delete the personal comments here to clean the Q/A up. Thanks! – Rmano Mar 26 '14 at 16:23
  • removed my useless comments – Ukiyo Mar 27 '14 at 03:56
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,416
Sagar Panchal
  • 758
  • 4
  • 20