LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-25-2003, 05:21 AM   #1
tewaru
Member
 
Registered: Nov 2002
Location: New Zealand
Distribution: Mandrake 9.0
Posts: 46

Rep: Reputation: 15
problem nvidia install mandrake 9


Hi I need a little help please
I have successfully downloaded and installed the appropriate Nvidia kernel rpm and Nvidia glx rpm,everthing compile ok. We had a power outage just when I was going to modify the xf86config-4 file. The computer restarted and would only go to root I cannot start kde. I logged on at root and typed (kedit/etc/X11/XF86Config-4) machine says no such file or directory I am at a loss as what to do next. If anyone can help please keep it simple please don't assume I know anything Thanks in advance Tewaru
 
Old 02-25-2003, 08:05 AM   #2
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
If you only have the console, then using kedit isn't going to work, since kedit runs under X. You will need to use a console editor like vi, emacs, pico, ed, or whatever else you may have installed. (vi is the most likely to be there, though)

Log in as root and type:

vi /etc/X11/XF86Config-4

(note that there is a space between 'vi' and the rest.)

Follow NVidia's instructions on what to edit. Type 'man vi' if you need help getting around in vi. The basic stuff you need to know, though:

1. Press 'i' to insert text
2. Type whatever text you need
3. Press <ESC> to get out of insert mode
4. After pressing <ESC>, type 'ZZ' to save and quit

Hope this helps!
 
Old 02-25-2003, 08:28 AM   #3
carlywarly
Member
 
Registered: Feb 2003
Location: Sunny Southport, again.
Distribution: PCLinuxOS 0.93 and 0.92, Vector sometimes
Posts: 825

Rep: Reputation: 30
wapcaplet is quite right. However, I hate vi and always use Midnight Commander. It works in the console, and it looks like a simple file manager, because it is. All the highlighted actions are available by using the function keys, so F4 edits the selected file.
To open it, just type mc and off you go. I find it much better to use, but each to their own.
 
Old 02-25-2003, 08:55 AM   #4
kaiser79
LQ Newbie
 
Registered: Feb 2003
Posts: 10

Rep: Reputation: 0
for someone who has never edited a file in console, i would suggest using pico. anything but vi.
 
Old 02-25-2003, 11:19 AM   #5
jgr220
Member
 
Registered: Feb 2003
Distribution: mandrake9.0
Posts: 100

Rep: Reputation: 15
Editing in vi is quite easy for the nvidia drivers just su then cd to /etc/X11 then at [root@yadayadayadaX11]#vi XF86Config-4 then arreow down to nvidia section go to driver arrow over to the entry probably "nv" hit insert and delete out the "nv" and replace with "nvidia" dont forget the " s then hit esc then type :wq and reboot
 
Old 02-25-2003, 11:54 AM   #6
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Quote:
Originally posted by jgr220
...then hit esc then type :wq and reboot
Except don't reboot, just startx
 
Old 02-26-2003, 03:12 PM   #7
tewaru
Member
 
Registered: Nov 2002
Location: New Zealand
Distribution: Mandrake 9.0
Posts: 46

Original Poster
Rep: Reputation: 15
Thanks one and all. I tried Vi found ok tried commander very good, once again thanks
Tewaru
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to install NVidia drivers on Mandrake 10.1 techmonkey13 Linux - Newbie 6 01-28-2005 10:47 AM
Nvidia fx5500 mandrake 10.1 problem:Nvidia in /etc/modprobe.preload doesn't work eikeland Linux - Hardware 5 01-17-2005 03:09 PM
Nvidia driver install on mandrake 10 bootsy Linux - Software 3 11-03-2004 04:50 AM
nvidia driver install on mandrake 10 ronss Mandriva 2 10-19-2004 05:59 PM
How do I install a NVIDIA driver on my new Mandrake 9.2.1 OS? THEBIGFISH Linux - Newbie 10 03-16-2004 02:35 AM


All times are GMT -5. The time now is 04:14 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration