-   Linux - Software (
-   -   booting to the command prompt (

newbie45 12-08-2004 01:07 PM

booting to the command prompt
Does anyone know how I can get out of the X server. I am trying to install the nvidia drivers, but it tells me I am in the graphical user interface. I need to get to just the command prompt outside of X server. I know how to get into it (start x), but how do I get out? LOL

Thanks guys.
I'm using Fedora(latest version)

secesh 12-08-2004 01:09 PM

as root:
telinit 3

edit /etc/inittab to change default runlevel

secesh 12-08-2004 01:14 PM


if you got into X from the console (by using 'startx'... ) -- and not from gdm/kdm/xdm -- just use logout. it'll throw you back to the console you came from

newbie45 12-08-2004 01:15 PM

thnx for fast response
Thanks for answering my ?, however, when i type that in:

[chris@localhost ~]$ su
[root@localhost chris]# telinit 3
bash: telinit: command not found
[root@localhost chris]# ./telinit 3
bash: ./telinit: No such file or directory
[root@localhost chris]#

That is what I get.
Also, what do I change in my inittab file?
here is it's contents:

# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
# Author: Miquel van Smoorenburg, <>
# Modified for RHS Linux by Marc Ewing and Donnie Barnes

# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)

# System initialization.

l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# When our UPS tells us power has failed, assume we have a few minutes
# of power left. Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"

# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"

# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon

newbie45 12-08-2004 01:18 PM



if you got into X from the console (by using 'startx'... ) -- and not from gdm/kdm/xdm -- just use logout. it'll throw you back to the console you came from
I only see restart, shutdown. : ( When I mentioned start x earlier, I was talking about past experiences with linux. This Fedora doesn't have a command prompt that I know of yet.
Thanks though man!

twantrd 12-08-2004 01:20 PM

Change this line:


to this:


However, this requires a restart. telinit 3 should work. Do you see telinit in /sbin path?


newbie45 12-08-2004 01:22 PM


Do you see telinit in /sbin path?
Yes, I do. It is 30.5 KB.

secesh 12-08-2004 01:23 PM

redundant -- i was beat to the punch!

newbie45 12-08-2004 01:25 PM

I will try editing my file. brb
thanks guys

proudclod 12-08-2004 01:34 PM

just run /sbin/telinit 3 as root.

carl0ski 12-08-2004 07:04 PM

How did thi9s solution get so complicated???

your in KDE of Fedora??
1 press CTRL+ALT+F1
2 root the enter your pass word
3 root@localhost# type 'init 3 '
4. Install the NVIDIA Drivers
sh ./ (tab to autocomplete the name)

5. type ' vi /etc/X11/XF86config-4
6. once that has loaded a page of text find driver = 'nv'
press i once to edit the file and change 'nv' to 'nvidia'

7 save the file "press ESC once" type ZZ (two capital Z's )

8. bytes writen to XF86config-4
9. to be safe that it worked type reboot now

10. KDE Gnpome has loaded open Konsole (a terminal) and type
'glxgears' if the drivers are working you should see gears dah lol (you now have openGL support)

newbie45 12-08-2004 09:57 PM

i got the drivers to install perfectly, but while the setup is installing, I get a message that says I have rivafb installed, and there is a known issue with having it and nvidia software. i didnt think much of it. I edited my file replacing "nv" with "nvidia". Then, i rebooted. Upon restart, I typed in startx, and got a "NO DISPLAYS AVAILABLE". And I was back at the command prompt. Can someone tell me what I'm doing wrong?

All times are GMT -5. The time now is 11:45 PM.