LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem nvidia install mandrake 9 (https://www.linuxquestions.org/questions/linux-newbie-8/problem-nvidia-install-mandrake-9-a-47031/)

tewaru 02-25-2003 04:21 AM

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

wapcaplet 02-25-2003 07:05 AM

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!

carlywarly 02-25-2003 07:28 AM

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.

kaiser79 02-25-2003 07:55 AM

for someone who has never edited a file in console, i would suggest using pico. anything but vi. ;)

jgr220 02-25-2003 10:19 AM

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:D

wapcaplet 02-25-2003 10:54 AM

Quote:

Originally posted by jgr220
...then hit esc then type :wq and reboot:D
Except don't reboot, just startx :)

tewaru 02-26-2003 02:12 PM

Thanks one and all. I tried Vi found ok tried commander very good, once again thanks
Tewaru


All times are GMT -5. The time now is 03:47 PM.