You say xf86config? The file you want to check it /etc/X11/XF86Config-4. You should have a section which looks like this:
Code:
Section "Screen"
Identifier "Screen 1"
Device "** SiS (generic) [sis]"
Monitor "My Monitor"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480" "320x240"
ViewPort 0 0
EndSubsection
EndSection
What it means is this:
Code:
Section "Screen"
Identifier "Screen 1"
Device "** SiS (generic) [sis]"
Monitor "My Monitor"
DefaultDepth 24
Screen sets up the screen for X. The Identifier is arbitrary, and the Device and Monitor are the identifiers for the graphics card and monitor defined elsewhere in the config file. The DefaultDepth is obviously the Default Depth, in this case 24bits.
Code:
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
These sections specify which resolutions are available with each depth. The first one is the default, so you will want sections like this:
Code:
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Then X should start in 1280x1024 by default. If you want to check, then take a screenshot with KSnapshot, open it in the GIMP, or another picture editor, and put the cursor to the lower right and read off the co-ordinates. There's probably an easier way to tell, but I can't think of one right now.
Hope this helps
Guy