Changing Default Runlevel in Ubuntu

I am not really enjoying the speed of Ubuntu on VM. So I have to get rid of it – the GUI. I wanted to change the run level to 3, i.e. boot into text mode, no GUI. But there is no /etc/inittab present in Ubuntu, weird. Anyways, google is the answer to each question (which can possibly answered). Found a link mentioning about a file called /etc/event.d/rc-default, but in my system, that file was missing. Finally came across a file called /etc/init/rc-sysinit.conf which has an environment variable called DEFAULT_RUNLEVEL which is set to 2 default. It can be changed to 3 and text mode is setup. Lets reboot now.

But I will surely miss the PyGTK apps in windows :(. Need to  learn web apps now, I think that is THE way to go!! 

Happy modding :)

Edit:

The change in the mentioned file does not work. Finally I had to modify the grub and add the word "text" (which is the argument passed to kernel) in the kernel line to boot it into text mode. Tested OK!

Advertisements

3 thoughts on “Changing Default Runlevel in Ubuntu

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s