Disabling X.
As a Security practice I wanted to disable X from loading.
So i modified following line from /etc/inittab. id:3:initdefault: I was then able to start my machine in terminal mode(runlevel 3). I wasn't satisfied at this stage as i was able to get the graphical console by merely typing Code:
#init 5 Code:
/etc/X11/prefdm To my surprise i was able to get the terminal back even if i hit #init 5 but then i realize i keep on getting following error lines. Code:
INIT: cannot execute "/etc/X11/prefdm" Code:
x:5:respawn:/etc/X11/prefdm -nodaemon Since the file prefdm was renamed and respawned the OS was keep on trying to execute it considering it is terminated. Now i have made the above line commented and removed execute bit of the file . System is now behaving as i wish it would. Will it make any difference? I m not using any application that explicitly use graphical user interface and i can work in runlevel 3. |
No. The only difference it will make is the one that you wanted.
|
All times are GMT -5. The time now is 01:29 AM. |