Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

get rid of graphical log on

Status
Not open for further replies.

riches85

Programmer
Joined
Nov 13, 2002
Messages
59
Location
US
I was wondering where i would go to change my default log on screen to text based instead of graphical. I never meant it to be graphical in teh first place and I am having a hell of a time changing it. Any help would be greatly appreciated. Thanks
 
If you are running Mandrake (and probably most other Redhat'ish distros), edit your /etc/inittab. Find this line:
Code:
id:5:initdefault:
Change it to this:
Code:
id:3:initdefault:
Next time you reboot, you'll see the changes. You could also run from the command-line, as root:
Code:
telinit 3

If running Debian, remove the symlinks to the display manager. I think they have a tool called 'update-rc.d' where you'd do something like:
Code:
update-rc.d kdm remove
--
JR
 
You need to change your default runlevel from 5 to 3. The easiest way to do that is to edit /etc/inittab.

Near the top of that file, you will see a line that reads:

id:5:initdefault:

Change it to read:

id:3:initdefault:

When next you reboot your machine, it will come up with the text-based login. Want the best answers? Ask the best questions: TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top