LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-19-2004, 07:40 PM   #1
Feldon
LQ Newbie
 
Registered: Sep 2004
Location: Canada
Distribution: Debian 2.6.8.1
Posts: 26

Rep: Reputation: 15
Startup in Command Line


At the moment, Linux is booting straight into the Gnome Desktop Manager, allowing me to select a Windows Manager (such as Gnome, KDE, etc).

I would prefer Linux to boot me to the command line, where I can type in startx or some such thing if I wish to load the x server. How do I accomplish this?

I have installed the Debian-Woody Linux distribution.
I have successfully compiled the 2.6.8.1 kernel.
My /etc/inittab file has the id line set to 'id:3...'

My reason for wanting to boot to the command line is that the installation program for my NVIDIA drivers requires x server to be closed. I cannot simply type Ctrl+Alt+F1 and use the command line from there. Specifically, I am trying to run the command 'sh NVIDIA-Linux-x86-1.0-6111-pkg1.run'.

Changing the /etc/inittab file to 'id:1...' will boot me to command line, which is nice, but then the installation program for the NVIDIA drivers still complains saying that I can't be in run mode 1.

Any help would be appreciated.
 
Old 09-19-2004, 07:54 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Okay, your setup probably doesn't have a console only run-level.

Pick either 2 or 3 to be the one you want as the console only run-level, I'll use 3 in this example.

go into /etc/rc3.d and delete the S99gdm and S99xdm files. also if its there S99kdm.

make sure the /etc/inittab file has id:3:initdefault: ( which you said it already has ) and reboot. When you want gdm back use id:2:initdefault:

You can also kill X from the console. pkill gdm, Also gdm probably has a console login option.
 
Old 09-19-2004, 08:39 PM   #3
Feldon
LQ Newbie
 
Registered: Sep 2004
Location: Canada
Distribution: Debian 2.6.8.1
Posts: 26

Original Poster
Rep: Reputation: 15
Thx, that worked.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 08:19 PM
gnome-terminal command line startup fredgarvin Red Hat 2 09-16-2004 11:39 PM
Command to output file content line by line aznluvsmc Programming 2 09-12-2004 08:45 PM
51 characters only in the 1st Line of command line eggCover Linux - General 2 07-29-2004 02:28 PM
How do you change INIT startup to level 3 (graphical) from command line? Fear58 Linux - Newbie 2 06-25-2004 09:15 PM


All times are GMT -5. The time now is 01:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration