View Single Post
Old 04-24-2009, 09:11 PM   #21 (permalink)
esantos
Newbie
 
Join Date: Apr 2009
Posts: 6
esantos is on a distinguished road
Default other solution

Quote:
Originally Posted by jbrandwood View Post
It looks like a lot of people have had problems with the X server's automatic detection in Debian Lenny (as used by the new Untangle 6.1).

I've solved the problem by adding a few lines to /etc/xorg.conf to limit the X Server's virtual resolution which causes it to ignore the higher resolution modes that my graphics card is capable of displaying.

So for a 1280x1024 monitor edit /etc/xorg.conf and change ...

Code:
Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
EndSection
to ...

Code:
Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        SubSection "Display"
                Virtual         1280 1024
        EndSubSection
EndSection

I differ from this solution, I found following config:

Section "Monitor"
Identifier "Monitor0"
Option "PreferredMode" "1400x1050"
Option "DPMS"
EndSection
.
.
.
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600"
EndSubSection
EndSection


The PreferredMode and Modes is the key.
esantos is offline