Linux - NewbieThis 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!
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 installed RH 7.1, and the video drivers from NVIDIA. So far no problems, all works well. Just one little nagging annoyance. X starts up in 640x480 and I'd like it to start in 1024x768. Now according to the man file on XF86Config, the first valid mode listed in the Display subsection is used as the default mode. Xconfigurator set it up with 640x480 as first, and 1024x768 as last. So I decided to reverse the order of the modes in order to make 1024x768 the default. I rebooted and now all the sudden, I'm getting errors with gdm. The message indicates that gdm was already running and was mysteriously killed. It tries to start 5 times, waits 3 seconds and tries again 5 times and so on. Eventually this process gets put to sleep for 5 minutes and gives me a chance to login through the console. I put back the original XF86Config file, and went into /var/run to delete gdm.pid, and then rebooted. But gdm was still failing to start. So, being a newbie I just decided to reinstall RH and the NVIDIA drivers. So I'm back to square one. How can I set the default resolution to 1024x768? Is there some command I can add to a script to change the mode?
Distribution: Slackware 10, Fedora Core 3, Mac OS X
here is the section of Your XF86Config file you need to edit.
the DefaultDepth is the Default Depth of resolution. i have mine at 24bits (which is what you probably want). XFree will use the resolutions in that section as default starting with the first in the list. With mine this is 1024x768. just delete the ones that you don't want.
what do you mean simulate?? you can reverse teh res order in xf86config-4 and then just restart X, shouldn't be anything else to it than that. if the res doesn't work, it should use the next one anyway.
Whenever I try to reverse the modes in the display subsection, X fails to start, actually gdm fails to start like I describe in the original post above. In the default config, all the modes work, I just don't like the order the modes are in. And whenever I change the order, gdm fails to start. I know that doesn't make sense, as I can't figure out what XF86Config-4 has to do with gdm starting. For example this doesn't work for me: