Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Ubuntu 12 and my power went out so when I restarted the computer, it immediately booted up to super user/ console mode.

I did some google search on forums and such on similar issues, but I'm not sure what this problem is even called.

I can type in my user name and password but even when I type in startx or exit, I can't get to the deskptop. Any suggestions would be helpful on how to escape this, and prevent this from happening in the future every time I don't shut down properly.

Thanks in advance.

share|improve this question
What happens exactly when you run startx? – MiJyn Apr 19 '13 at 18:17
Are you sure it is booting up into a root terminal? It sounds like it is prompting you to login since you say "I can type in my user name..." – Kazark Apr 19 '13 at 18:59
Thank you all for such prompt responses. When I type in startx, I boot into the desktop but the sidebar and menus are not present. I can only open apps with a shortcut on the deskptop, such as the terminal and mozilla. I can't even shut down or go to system settings.. etc. Hope this information helps with further advice. – crazian Apr 19 '13 at 19:26

Do you get any errors when you try startx ?

If you can open a ssh window, install KDE as a temp desktop solution, and switch to it and then reinstall the x-environment again... Once back on command line, kill the KDE process and switch to x-environment, and restart the login screen with a reboot. All should work fine again. :) List your process's with ps -e

Who knows how a power outage could cause such a strange issue.

share|improve this answer

For anyone who experienced the same issue, I just inserted the installer cd and restarted the computer. Somehow that worked, and booted me to the desktop with all the icons, sidebar and menus without having to type any commands. I'm still unsure what this means though, any comments would be helpful for others to understand.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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