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.
env DEFAULT_RUNLEVEL=2
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