MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
I just installed Mandrake 9.2, and this is my first experience with Linux. I got the OS installed, but I selected the wrong screen resolution during setup. I can't run X because the selected resolution is to large for the video memory. Is there a way I can change the resolution I want X to run in from the command line?
Check your monitor's manual or docs for the res and horiz and vert refresh rates it supports.
You will have to be root to edit the file, but you can view it as a regular user in your terminal using, oh, let's say, the 'cat' command. yeah.
cat /etc/X11/XF86Config-4
use this command to look at your file first to see what you might need to change.
Once you are ready, change to the root user
su - root
password
then move to the dir
cd /etc/X11
then save the current file in case you @#$% up bad.
cp XF86Config-4 XF86Config-4.old
use an editor to make and save the changes. then try to start X
startx
*********************************************************
Here is mine, note I am using the nvidia driver I downloaded and installed and i have a flat panel monitor that supports 1280x1024 res., and I have chopped out most of the sections you don't need to do something with to change the res. Don't delete any sections, just look for what to change. Where you see a line that starts with a # , that line is not in use as it is 'commented out' by the "#" symbol.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.