Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 just restarted my Ubuntu OS and now, for some reason, my Ubunut 12.04 boots in command line...without the GUI?

I use Wubi and haven't really done anything out of the ordinary. I've managed to get the GUI running by using startx via the command line that appears when Ubuntu boots, but how can I revert back to the GUI boot?

Even after using startx a lot of the GUI is bar, applications panel...etc

share|improve this question
Use unity or lightdm(for login screen) instead of starting the X window system – HackToHell Apr 6 '13 at 5:48
Did you check, your system architecture compatible for Ubuntu 12.04? – David Apr 6 '13 at 5:49
If X is failing to start for some reason, you should find more information in /var/log/Xorg.0.log – etagenklo Apr 7 '13 at 13:06
up vote 1 down vote accepted

You may try sudo lightdm, startx, sudo startx, or sudo gdm in that order of preference(Use the first that works). You may then try to set it up as the last entry in the system-wide crontab(See

share|improve this answer
What does crontab have to do with anything? This should be set in a script in /etc/rc5.d/ or whatev er the Ubuntu equivalent is. Cron should not be used to launch a login manager. – terdon Apr 6 '13 at 13:48

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.