LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 12-08-2004, 01:07 PM   #1
newbie45
Member
 
Registered: Sep 2003
Posts: 65

Rep: Reputation: 15
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)
 
Old 12-08-2004, 01:09 PM   #2
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
as root:
telinit 3

edit /etc/inittab to change default runlevel
 
Old 12-08-2004, 01:14 PM   #3
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
more:

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
 
Old 12-08-2004, 01:15 PM   #4
newbie45
Member
 
Registered: Sep 2003
Posts: 65

Original Poster
Rep: Reputation: 15
Unhappy thnx for fast response

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

[chris@localhost ~]$ su
Password:
[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, <miquels@drinkel.nl.mugnet.org>
# 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)
#
id:5:initdefault:

# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit

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

# Trap CTRL-ALT-DELETE
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:owerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"

# If power was restored before the shutdown kicked in, cancel it.
pr:12345owerokwait:/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
 
Old 12-08-2004, 01:18 PM   #5
newbie45
Member
 
Registered: Sep 2003
Posts: 65

Original Poster
Rep: Reputation: 15
seach:
Quote:
more:

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!
 
Old 12-08-2004, 01:20 PM   #6
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
Change this line:

id:5:initdefault:

to this:

id:3:initdefault:

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


-twantrd
 
Old 12-08-2004, 01:22 PM   #7
newbie45
Member
 
Registered: Sep 2003
Posts: 65

Original Poster
Rep: Reputation: 15
Quote:
Do you see telinit in /sbin path?
Yes, I do. It is 30.5 KB.
 
Old 12-08-2004, 01:23 PM   #8
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
redundant -- i was beat to the punch!
 
Old 12-08-2004, 01:25 PM   #9
newbie45
Member
 
Registered: Sep 2003
Posts: 65

Original Poster
Rep: Reputation: 15
I will try editing my file. brb
thanks guys
 
Old 12-08-2004, 01:34 PM   #10
proudclod
Member
 
Registered: May 2004
Distribution: Fedora Core 2
Posts: 381

Rep: Reputation: 30
just run /sbin/telinit 3 as root.
 
Old 12-08-2004, 07:04 PM   #11
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
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 ./NVIDiA-6111-x86.run (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)
 
Old 12-08-2004, 09:57 PM   #12
newbie45
Member
 
Registered: Sep 2003
Posts: 65

Original Poster
Rep: Reputation: 15
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 X.org 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?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting Linux From Command Prompt ??? shandy Linux - Software 3 11-04-2005 11:23 AM
GRUB booting into it's command prompt .. after choosing Windows on last install~ Mustard010 Linux - General 7 12-01-2004 08:28 PM
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 07:14 PM
Booting to command prompt in RedHat 9 woodywellhung Red Hat 1 04-04-2004 11:57 AM
Booting to command prompt with a bootdisk daverino Linux - Newbie 3 03-13-2002 09:14 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration