Wednesday, January 13, 2010

Hot to change the runlevel in Ubuntu 9.10

1.To change the runlevel you must edit this file rc-sysinit.conf.

Edit the file as administrator like this:

sudo gedit /etc/init/rc-sysinit.conf

Find the folowing line an put the runlevel number you want.


Carefull do not let spaces between equal sign and the number.That is it.Reboot and done.

2.If you want to change runlevels just for this session do this:
sudo init 3         (runlevel  numbers 2-5)
runlevel            (this command will show you what runlevel you are running in now)

No comments:

Post a Comment