LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 08-12-2004, 10:23 AM   #1
krpto
LQ Newbie
 
Registered: Aug 2004
Distribution: Red Hat 9
Posts: 5

Rep: Reputation: 0
problem installin Nvidia Drivers


I have a problem i downloaded the Nvidia linux drivers and it's telling me i need to shut down X server before i can install, my question is HOW do i shut down X and still install?
 
Old 08-12-2004, 10:30 AM   #2
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Rep: Reputation: 30
We need some information first. What is your distribution, if it's SuSE(like mine) you should just install it from the Online Update inYast.

I'm not exactly sure how to shutdown X Server though
 
Old 08-12-2004, 10:32 AM   #3
krpto
LQ Newbie
 
Registered: Aug 2004
Distribution: Red Hat 9
Posts: 5

Original Poster
Rep: Reputation: 0
im using Red Hat 9
 
Old 08-12-2004, 11:00 AM   #4
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Quote:
Originally posted by krpto
im using Red Hat 9
you need to logout to the command line and cd to the directory where the driver is and just do a......

sh Nvidia......
 
Old 08-12-2004, 11:12 AM   #5
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Rep: Reputation: 44
HI krpto

I believe you can always shut down X by ctrl+alt+backspace, but that is possibly wrong.

For installing the nvidia drivers either of the following methods have worked for me, they are probably not the best/most elegant ways but I think they will work. YMMV

(option 1)
IIRC when you logout/login the login page will give an option for failsafe or something which will give a console screen where you can enter the command to install the nvidia driver (don't forget to read/print out the instructions for modifying the /etc/X11/XF86Config file first)

(option2) a bit longer way
if you are comfortable with it, edit the file /etc/inittab and change the line that looks like:
id:5:initdefault:
to read
id:3:initdefault:
then restart the computer and you will see only a CLI interface (ie no X server) where you can log in as root and install the driver.
You will still need to edit the XF86Config file too(ie by using vim or something similar)
Change the /etc/inittab file bit back to "5" and restart.
If you are not comfortable with editing the XF86Config file from the CLI then you could telinit 5 at this stage, log in as root and edit the files using your preferred text editor,( you would still be using the old settings at this point)


Once the files are edited, log out, back in and hopefully you will get an nvidia splash screen

(sorry for the somewhat convoluted reply),

mark
 
Old 08-12-2004, 11:15 AM   #6
krpto
LQ Newbie
 
Registered: Aug 2004
Distribution: Red Hat 9
Posts: 5

Original Poster
Rep: Reputation: 0
ty im not to sure i understood all that i am new to Linux, but i get what you mean to do and i will attempt brb
 
Old 08-12-2004, 11:47 AM   #7
ctux
Member
 
Registered: Jul 2004
Location: Catalunya (Països Catalans)
Distribution: Fedora Core 3
Posts: 50

Rep: Reputation: 15
You have to edit the file /etc/inittab and introduce the correct number of booting the system you want. You have now the number 5 (run x at start), you have to change only this number for one that i don't remember...( the file is documented so you will see)

Then
- reboot, the system.
- Install nvidia drivers
- Configure the files de documentation of nvidia says
- And edit /etc/inittab to the original: 5 (run x at start)

good luck!
 
Old 08-13-2004, 05:36 AM   #8
helpmeplz
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Rep: Reputation: 0
Hi krypto.. follow the above instructions stated by our friend and the runlevel to which u have to change is 3. after u are finished with installing the drivers just type init 5. It should work.
gl hf
 
Old 08-13-2004, 06:20 AM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You can install them without editing /etc/inittab. All you have to do is login as your normal user, fire up a console/termianl session, switch to the root user "su -", enter the root password and type "init 3". You will be dropped into a terminal and asked to login. Login as normal user, change into the directory containing the NVidia binary download and do the following "chmod +x Nvidia*" and then 'su -c "./Nvidia*" ' (type in everything in the single quotes as it is including the double quotes). The installer will start and just follow the instructions to install. When you are done, you switch to the root user and type init 5 and you can log back in graphically. You will then need to edit /etc/X11/xorg.conf or /etc/X11/XF86Config and change the driver section of the graphics card from "nv" to "nvidia". The next time you log out of your system and log back in, you will be using the nvidia driver.

I'm sorry for the lengthy explanation, but since you said you are newbie, I gave very detailed instructions.
 
  


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
Help please!!! Problem with nvidia drivers!!! Zardinax SUSE / openSUSE 10 01-27-2005 10:36 PM
another problem with nvidia drivers... DarkestHour Linux - Software 2 12-24-2004 07:03 PM
Athn64 - Nvidia graphics card makes install impossible to see when installin Mdke64 leothelearner Mandriva 1 09-24-2004 12:40 PM
Installin' Nvidia drivers in RH9, i'm close... RKY60 Linux - Newbie 6 10-14-2003 12:20 AM
Nvidia Drivers problem caleb Conectiva 3 12-01-2002 05:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:46 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