LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Ubuntu to boot multi-user, but not x (https://www.linuxquestions.org/questions/ubuntu-63/ubuntu-to-boot-multi-user-but-not-x-554673/)

sohmc 05-17-2007 01:23 PM

Ubuntu to boot multi-user, but not x
 
Hey all

There is a setting in most linux distros (eg. fedora) to make the computer boot in command line and not load x. It's found in /etc/inittab

However, I cannot find such a function for ubuntu. Outside of uninstalling X, is there a way to do the same for ubuntu?

Thanks!

vtel57 05-17-2007 02:34 PM

I'm running Ubuntu 6.06...

You can edit inittab in that version to start you at Run Level 3, instead of the default graphic run level. The entry you're looking for is:

Quote:

# The default runlevel.
id:2:initdefault:
Change "2" to "3". This will boot Ubuntu into RL 3 with no X running. You'll have to "startx" to get into the graphic environment.

I think this should work for you.

sohmc 05-17-2007 03:05 PM

Thanks. It looks like Ubuntu changed from inittab to upstart (at least according to this article).

I changed the default setting, but no dice.

Any other thoughts?

vtel57 05-17-2007 03:10 PM

Interesting! You learn something new every day with Linux. ;)

From you posted link:

Quote:

All the things that you used to have in the /etc/inittab is ported to upstart’s /etc/event.d/.
What's in that directory on your system?


All times are GMT -5. The time now is 06:33 PM.