Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am running Ubuntu Server 11.04 in VirtualBox as a development server. After install, because I'm new to Ubuntu, I added the Unity desktop to help me finish configuring everything. Now, I would like the machine to default boot into the console, as it normally does for Ubuntu Server. But I would also like a GRUB entry option to boot into the GUI if I so desire. How can I accomplish this? Thank you.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You want a GRUB entry to boot into the CLI, and also a GRUB entry to boot the same partition, but start X?

Far simpler: remove your display manager (by default, I believe gdm3) or disable it. This will cause Ubuntu to boot into the CLI. Then if you need the GUI just type "startx &" at any console.

share|improve this answer

Your Answer

 
discard

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.