PDA

View Full Version : [ubuntu] Default Runlevel


Gauvenator
May 22nd, 2008, 06:20 PM
How can I change the default runlevel to 3?

Gauvenator
May 22nd, 2008, 06:33 PM
I realize that in other distros you can edit the /etc/inittab, but it doesn't seem to exist in hardy.

pointone
May 22nd, 2008, 06:33 PM
Edit "/etc/event.d/rc-default".

Gauvenator
May 22nd, 2008, 06:43 PM
ubuntu seems to have a different runlevel system. I want what usually is runlevel 3 (multiuser, network, command line). How can I get this?

chrisccoulson
May 22nd, 2008, 07:12 PM
In Ubuntu, run-levels 2, 3, 4 and 5 are all the same (multi-user, with GUI)

fsmithred
May 22nd, 2008, 09:01 PM
ubuntu seems to have a different runlevel system. I want what usually is runlevel 3 (multiuser, network, command line). How can I get this?

I feel your pain. (old suse and redhat user here)

Leave runlevel 2 as the default, but without gui:

sudo update-rc.d -f gdm remove
sudo update-rc.d gdm start 3 4 5 . stop 0 1 2 6 .
(Don't forget the dots.)

Gauvenator
May 22nd, 2008, 09:09 PM
I feel your pain. (old suse and redhat user here)

Leave runlevel 2 as the default, but without gui:

sudo update-rc.d -f gdm remove
sudo update-rc.d gdm start 3 4 5 . stop 0 1 2 6 .
(Don't forget the dots.)

Thank you so much!! That worked perfectly.