LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-02-2004, 10:08 AM   #1
Takezo
LQ Newbie
 
Registered: Nov 2004
Distribution: SUSE 10.1
Posts: 25

Rep: Reputation: 15
How do you exit X and boot into VGA Console?


I want to install Nvidia video driver, yet it requires that I exit X and boot into a VGA console. According to nvidia's intallation readme, this is usualy done in inittab, by setting the default run level. However they do not specify what level that is.

my curent default runlevel is

id:2:initdefault:

in the the file is commented out examples such as

Runlevel 0 is Halt
Runlevel 1 is Single User
Runlevel 2-5 is multi-user
Runlevel 6 is reboot


I that all the run levels availible, if so which one would I use?

If not, then what level is it?
 
Old 11-02-2004, 10:23 AM   #2
nhs
Member
 
Registered: Aug 2003
Location: Edinburgh, Scotland
Distribution: Gentoo
Posts: 246

Rep: Reputation: 30
Normally (in Mandrake, RedHat, and I think SuSE) runlevel 3 is a console boot and runlevel 5 is a graphical boot. In mandrake though if you want to stop X then switching to a virtual console (CTRL+ALT+F1, CTRL+ALT+F7 to get back) and running "/etc/rc.d/init.d/dm stop" does the trick. Your distribution might use a different script but you shouldn't have to reboot to install a graphics driver.
 
Old 11-03-2004, 07:05 PM   #3
talkingwires
Member
 
Registered: Jan 2004
Location: Boone, NC
Distribution: Debian SID
Posts: 49

Rep: Reputation: 15
The easiest way is to hit CTRL+ATL+Backspace. That'll stop the X server and dump you into the terminal. You can start it after you have everything set up by typing "startx".
 
Old 11-04-2004, 12:42 AM   #4
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
ctrl+alt+f2

ps aux | grep dm

kill pid

use the pid of the display manager you have. Either xdm, gdm, or kdm
 
Old 11-04-2004, 02:59 PM   #5
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Rep: Reputation: 30
well the run levels are right, different distros use different runlevels as default.

when you start your pc up does it go straight to a gui logon in like KDM (for KDE) or GDM (for Gnome)? or does it take you to a login screen when you type your user name and password and get a command prompt and then type startx to get into a gui?

if the former do this:
1. press ctrl+alt+f2
2. login as root
3. type "killall kdm (or gdm)" without the quotes. this will stop x from running and bring you to the command line
4. press ctrl+alt+f2 again
5. install the nvidia driver, making changes to your xf86config-4 file in /etc/X11
6. when that is done, type kdm or gdm to get your login manager running again and you can login.
if it worked right (the nvidia driver) you should see the nice nvidia logo splash screen before your login manager starts up

if the latter do this:
1. logout of kde or gnome. this should drop you to a command line and x will be shut down
2. type su and give the root password
3. install the nvidia driver, making changes to your xf86config-4 file in /etc/X11
4. type exit to get out of su mode
5. type startx
if it worked right (the nvidia driver) you should see the nice nvidia logo splash screen before your gui loads up
 
Old 11-17-2004, 01:47 PM   #6
reverendm
Member
 
Registered: Jun 2003
Location: Charlotte NC
Distribution: Win2k pro, Damn Small Linux, Mandrake Move, Mandrake 10.1ce, xandros
Posts: 52

Rep: Reputation: 15
wrong thread. delete this please

Last edited by reverendm; 11-17-2004 at 02:02 PM.
 
Old 11-17-2004, 08:26 PM   #7
NanoFxJ
Member
 
Registered: Nov 2004
Location: Hacienda Heights, CA
Distribution: Debian
Posts: 60

Rep: Reputation: 15
Quote:
Originally posted by jsmarshall85
well the run levels are right, different distros use different runlevels as default.

when you start your pc up does it go straight to a gui logon in like KDM (for KDE) or GDM (for Gnome)? or does it take you to a login screen when you type your user name and password and get a command prompt and then type startx to get into a gui?

if the former do this:
1. press ctrl+alt+f2
2. login as root
3. type "killall kdm (or gdm)" without the quotes. this will stop x from running and bring you to the command line
4. press ctrl+alt+f2 again
5. install the nvidia driver, making changes to your xf86config-4 file in /etc/X11
6. when that is done, type kdm or gdm to get your login manager running again and you can login.
if it worked right (the nvidia driver) you should see the nice nvidia logo splash screen before your login manager starts up

if the latter do this:
1. logout of kde or gnome. this should drop you to a command line and x will be shut down
2. type su and give the root password
3. install the nvidia driver, making changes to your xf86config-4 file in /etc/X11
4. type exit to get out of su mode
5. type startx
if it worked right (the nvidia driver) you should see the nice nvidia logo splash screen before your gui loads up
Hi, I am using Fedora Core3 and I want to install nVidia drivers too, but when I press ctrl+alt+f2, and type in "killall gdm", because I am using GNome, it says no process killed. is it suppose to be liket that?
 
Old 11-17-2004, 11:35 PM   #8
JaakRandmets
LQ Newbie
 
Registered: Sep 2004
Location: estonia
Distribution: debian
Posts: 21

Rep: Reputation: 15
Quote:
Originally posted by NanoFxJ
Hi, I am using Fedora Core3 and I want to install nVidia drivers too, but when I press ctrl+alt+f2, and type in "killall gdm", because I am using GNome, it says no process killed. is it suppose to be liket that?
maybe you are using xdm instead of gdm?
 
Old 11-18-2004, 07:55 AM   #9
NanoFxJ
Member
 
Registered: Nov 2004
Location: Hacienda Heights, CA
Distribution: Debian
Posts: 60

Rep: Reputation: 15
I got it by using ctrl+alt+F1, and log in to root, then type "telinit 3" to shut down the x-server
 
  


Reply



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
How To Edit My /etc/inittab To Boot Into VGA console mode (non-X) CAL Linux - Newbie 3 04-06-2004 07:06 AM
VGA console ---> bulliver Linux - General 3 03-11-2004 04:51 PM
Console vga mode problem after X logout Iskendar Linux - Software 6 12-08-2003 02:24 AM
VGA Console in Redhat 9 mdfairch Linux - Distributions 0 07-07-2003 08:33 PM
boot to vga console Smithy Linux - General 2 04-25-2003 12:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:41 AM.

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
Open Source Consulting | Domain Registration