Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

Okay my main question here, is how do I disable the auto-matic unity launch at boot, or "boot into Ctrl-Alt-F1-6 screen"

I find myself booting into that fairly quickly and then a few seconds later it launches unity login screen where from there I can login to an account and switch DE's, which then I switch back to the CLI because I only booted the machine to run a few commands anyways... I also know how to launch/get back to unity from the CLI if I boot straight into it.

Another somewhat relevant question would be which command would I use to launch openbox DE and skip the graphical login altogether?

And BTW, I'm using the current stable release of 12.04 precise pangolin...

share|improve this question
up vote 6 down vote accepted

If you absolutely don't want the graphical login screen, edit /etc/defaults/grub, Changing GRUB_CMDLINE_LINUX_DEFAULT and GRUB_CMDLINE_LINUX to "text". Then run update-grub.

This question has more information on how to remove the graphical splash screen too:

How do I boot into true text mode?

Basically it stops the display manager (lightdm) from loading on system startup.

Also, you can still launch it any time you want manually by doing

sudo service lightdm start
share|improve this answer
Okay thank you, though I had little bit a problem because I'm using Grub2Mac which is a little harder to use, but none-the-less it worked...Now do you know how to launch openbox or any DE for that matter? Because the simple command "openbox" always gives me "Failed to open from DISPLAY enviroment variable" but thank you none-the-less – TenorB May 4 '12 at 15:51
I don't know Openbox, if it includes a display manager you need to configure that to start instead of lightdm. If not, I think it may add a session to the system, so if you start lightdm you can choose an openbox session. Not really sure though; sorry. – roadmr May 4 '12 at 16:06
Ok this helps though...You're awesome! – TenorB May 4 '12 at 19:43
From the console, you can run startx, which is the proper way to launch an X session without using a display manager such as lightdm or gdm. Then, in your X startup file, include the command openbox &. I don't remember the name of the startup file, but reading man startx should tell you. – Scott Severance May 6 '12 at 0:45
Ok thanks this worked when I found the startup file! Although I'm usually using lightdm instead of startx...Oh well...But thank you! – TenorB May 8 '12 at 15:39

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.