PDA

View Full Version : [other] /etc/inittab Not found !


asel_
September 23rd, 2008, 06:10 AM
Hi , the file /etc/inittab not found ! in ubuntu server , I want to use this file to enable/desable Xwindows , please help ! I installed xwindow and gnome GUI and it now run every time I start ubuntu ,I want to disable xwindow !

mike1821
September 23rd, 2008, 06:52 AM
From what I know Debian based systems like Ubuntu are not using an inittab file.

Instead of that you can decide about the start up scripts using the update-rc.d command.

In order to start/stop the "Gnome GUI" you can remove the gdm script from the starting list.

Try,

man update-rc.d

kevdog
September 23rd, 2008, 07:14 AM
The last version of Ubuntu to contain an inittab file was Feisty.

asel_
September 23rd, 2008, 07:37 AM
The last version of Ubuntu to contain an inittab file was Feisty.
So I want any thing to do it (i.e like Fedora Core)

asel_
September 23rd, 2008, 07:37 AM
From what I know Debian based systems like Ubuntu are not using an inittab file.

Instead of that you can decide about the start up scripts using the update-rc.d command.

In order to start/stop the "Gnome GUI" you can remove the gdm script from the starting list.

Try,

man update-rc.d
Sorry ,But I find it too difficult :(

asel_
September 23rd, 2008, 08:17 AM
Ok , My Question is : How to enable text mode ? Thnx

mike1821
September 23rd, 2008, 08:36 AM
Then I suppose the simplest way to do that is to go

System/Administration/Services

and uncheck the gdm service (Graphical login manager)

I believe this will do the job