Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-08-2003, 07:03 PM   #1
LQ Newbie
Registered: Sep 2003
Posts: 3

Rep: Reputation: 0
editing XF86Config from command line

I am very much a newbie to linux and I am having trouble with my monitor and I cannot start X. I believe it is because of incorrect freq settings in XF86Config. I now have the correct freq ranges for my monitor but I do not know how to edit XF86Conifig from the command line.
I am running Mandrake 9.1 on a intel machine.

please help,
Old 09-08-2003, 07:06 PM   #2
Senior Member
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
You may use emacs or you may use vi.

If you purchased your distro, both of these are documented in the users manual they provided.

You do need to log in as root.
Old 09-08-2003, 07:44 PM   #3
LQ Newbie
Registered: Sep 2003
Posts: 3

Original Poster
Rep: Reputation: 0
thanks for the help I will try that.
Old 09-08-2003, 07:51 PM   #4
Registered: Aug 2003
Location: California's Central Coast
Distribution: Red Hat 9
Posts: 48

Rep: Reputation: 15
I used vi to edit that file so my nVidia driver install would take. Read the man page on vi so you know the basic keyboard commands; once you do it's a cool little editor.
Old 09-10-2003, 05:12 PM   #5
LQ Newbie
Registered: Sep 2003
Posts: 3

Original Poster
Rep: Reputation: 0
After reading the errors given when I started X I realizied that my real problem was that in the XF86Config-4 file there was a section Screen2 that was referring to a Monitor2 that didn't exist. So after learning the very basics of vi from a book i got at the library ("Learning the Vi Text Editor"); I removed all occurences of Screen2 in that file and now everything works just fine. Except that I have no idea on how to get my ISA AWE64 sound card to work. Again thanks for the help.


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
Command Line Image Editing fractal_chaos Linux - Software 8 10-03-2005 06:33 PM
how to run XF86Config from the command line Pacemaker Linux - Newbie 5 04-04-2004 05:39 AM
How to run XF86Config from command line Pacemaker Red Hat 2 04-03-2004 05:41 PM
command line editing eddcrossman Linux - Newbie 7 02-16-2003 08:37 PM
Editing files at command line Goatdemon Linux - Newbie 15 08-12-2002 12:56 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration