Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This is propably as n00b a quiestion as one gets, but here goes:
First, the senario-
Install new Nvdidia drivers, right everything peachy...
Now, reboot to find that Xfree86 must be configured again (also explained in Read-Me), no prob, except I dont know how to do this from console...then reinstall Mandrake...EISH!!!!
So the obvious n00b quiestion...how do I configure Xfree86 (or any other file) from console?
The information that you are changing is in /etc/X11/XF86Config.
The programs xf86config and xf86config4 modify /etc/X11/XF86Config.
So does the SuSE program sax2.
You can also modify the file using your favorite text editor.
You can safely ignore all the people who are about to jump in here and tell you to use vi.
Go to /etc/X11 directory in it u will find file called "XF86Config" this file contains all ur xfree86 server configurations divided in sections like this:
Section "Device"
Section "Display"
etc etc...........
U can make changes to ur xfree86 server by modifying this file.
Originally posted by jailbait The information that you are changing is in /etc/X11/XF86Config.
The programs xf86config and xf86config4 modify /etc/X11/XF86Config.
So does the SuSE program sax2.
You can also modify the file using your favorite text editor.
You can safely ignore all the people who are about to jump in here and tell you to use vi.
I can't get into Xserver to use a text editor, so I must know how to do this from outside of X, what commands to type, etc.
I know the location of the config files, but to edit them as root outside of X is the real hick-up...
I had that problem myself.
From console just type: xf86config
And then follow the instructions, like Unknown said. It's pretty self explanatory from there. As for editors, vi will work from command mode, just type: vi <name of file you want to edit>
Best of luck
If you had a working xfree86 before you installed the nvidia drivers you will only need to change a few lines to get them working, doing xf86config again will not help as xfree86 does not know about the nvidia driver.
Do the following to edit your X config from the command line,
Code:
mcedit /etc/X11/XF86Config
Note: If you have the file XF86Config-4 you will need to edit that instead of the file XF86Config.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.