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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-08-2004, 01:07 PM
|
#1
|
Member
Registered: Sep 2003
Posts: 65
Rep:
|
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)
|
|
|
12-08-2004, 01:09 PM
|
#2
|
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154
Rep:
|
as root:
telinit 3
edit /etc/inittab to change default runlevel
|
|
|
12-08-2004, 01:14 PM
|
#3
|
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154
Rep:
|
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
|
|
|
12-08-2004, 01:15 PM
|
#4
|
Member
Registered: Sep 2003
Posts: 65
Original Poster
Rep:
|
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:12345 owerokwait:/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
|
|
|
12-08-2004, 01:18 PM
|
#5
|
Member
Registered: Sep 2003
Posts: 65
Original Poster
Rep:
|
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!
|
|
|
12-08-2004, 01:20 PM
|
#6
|
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440
Rep:
|
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
|
|
|
12-08-2004, 01:22 PM
|
#7
|
Member
Registered: Sep 2003
Posts: 65
Original Poster
Rep:
|
Quote:
Do you see telinit in /sbin path?
|
Yes, I do. It is 30.5 KB.
|
|
|
12-08-2004, 01:23 PM
|
#8
|
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154
Rep:
|
redundant -- i was beat to the punch!
|
|
|
12-08-2004, 01:25 PM
|
#9
|
Member
Registered: Sep 2003
Posts: 65
Original Poster
Rep:
|
I will try editing my file. brb
thanks guys
|
|
|
12-08-2004, 01:34 PM
|
#10
|
Member
Registered: May 2004
Distribution: Fedora Core 2
Posts: 381
Rep:
|
just run /sbin/telinit 3 as root.
|
|
|
12-08-2004, 07:04 PM
|
#11
|
Member
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Rep:
|
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)
|
|
|
12-08-2004, 09:57 PM
|
#12
|
Member
Registered: Sep 2003
Posts: 65
Original Poster
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 09:56 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|