Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Boot To Command Line, I want to boot to the command line.
nhesson
post Feb 18 2004, 04:25 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 5-February 04
Member No.: 2,304



Hello All,

I have just installed Debian Linux, and by default the systems boot into X
server. I want to boot into the command line only. How do I do that?
I have edited the 'inittab' file, and the 'initdefault' line from 2 to 3.
That does not work, the system still boot to the desktop login.
What am I doing wrong?



Thansks
Nick

System Info:
Debian 3.0 R2
Kernal 2.4.20
XFree86 4.1.1

unsure.gif
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
hughesjr
post Feb 18 2004, 02:19 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



For debian, run level 2 is default ... switch /etc/inittab back to 2 ...

then go to /etc/rc2.d and do the command:

ls

You will see a file named S99xdm (or S99gdm, or S99kdm) depending onthe display manager you picked ... just issue the command:

rm S99xdm

(or S99gdm, or S99kdm)
-----------------
On my debain install, runlevels 2,3,4,5 all look exactly the same ... so you could set the default runlevel to 3 if you want (and do the rm S99xdm) there (/etc/rc3.d)and leave the S99xdm alone in rc5.d, then use 3 as the default run level and 5 as a GUI runlevel ... make sure your rcx.d (substitute 2,3,4,5 for x) are the same and you can then set it up however you want...


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th October 2017 - 11:57 PM