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 10-30-2003, 05:53 PM   #1
Vizy
LQ Newbie
 
Registered: Oct 2003
Location: Slovenia
Posts: 23

Rep: Reputation: 15
configuring xf86config in shell


Ok this is my problem. (im very new to linux)

i have installed Nvidia geforce drivers and everything went well. And than i started playing in xf86config. and i uncommented a couple of thing. (screen resolution) and card memory.

Now i cant start xwindows again (i get no monitors or smth like that)

is there a way i could edit xf86config in shell ?not by running it because i dont know all the things i should put in there.
i just have to know how to edit in shell that is all.

Can i even do that. and which editor should i use and how do i run it ?

thnx a ton
 
Old 10-30-2003, 05:59 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Yes you can, and there's a host of ways
of editing it.

Vi, emacs (both not very noob-friendly)
Pico
or
mc (Norton clone) with a built-in editor

to name just a few.

Cheers,
Tink
 
Old 10-30-2003, 06:27 PM   #3
Vizy
LQ Newbie
 
Registered: Oct 2003
Location: Slovenia
Posts: 23

Original Poster
Rep: Reputation: 15
thnx Tinkster. your reply was all i needed.
i reedited my xf86config and now im back on track

thnx again and keep up the good work !
 
Old 10-30-2003, 06:30 PM   #4
zambarra
LQ Newbie
 
Registered: Oct 2003
Distribution: rh-9
Posts: 2

Rep: Reputation: 0
ok you messed things up.
its a good thing because this is how you learn.

this is what you do - on a red hat system.

in console (text mode)

become root:
su -

backup the messed up file in root's home folder:
mv /etc/X11/XF86Config ~/XF86Config.messedup

run X with autoconf option:
XFree86 -configure

this will create a conf file in root's home folder. move that file where X can find it when you run it:
mv ~/XF86Config.new /etc/X11/XF86Config

change the default driver to nvidia driver:
vi /etc/X11/XF86Config


start X:
startx


good luck.
 
Old 10-30-2003, 07:38 PM   #5
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
and if you want to play around with your XF86Config settings, its a good idea to make a renamed copy of the working config file first and just copy it back if (when) needed

 
  


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
Configuring XF86Config-4 To have Dual Monitors (One big screen) unleaded17 Linux - Software 1 10-19-2005 08:56 AM
configuring a cgi shell script to run keeg Linux - Newbie 1 06-09-2005 02:45 PM
Problems configuring Slackware, xf86config, vi, gcc rphook Slackware 6 11-01-2004 11:12 PM
configuring XF86Config Modeline carboncopy Slackware 2 10-15-2003 01:07 AM
trouble configuring XF86Config fatpig Linux - General 2 01-02-2002 01:21 PM


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