Linux系统登陆前后 分辨率不一致的问题

来源: 作者:佚名 2008-04-02 出处:pcdog.com

linux  linux系统  

    问题描述:linux登陆前后分辨率不一致,登陆前分辨率高,登陆后正常。两台显卡一样的机器遇到同样的问题,但解决办法不同。

    解决办法:修改/etc/x11/xorg.conf文件。

    1、现将机器1的xorg.conf的文件列出:

  

 .......
Section "Monitor"
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
ModelName "Monitor 1024x768"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.5 - 57.0
VertRefresh 50.0 - 70.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "i810"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Modes "1024x768"
Viewport 0 0
Depth 24
EndSubSection
EndSection

    2、现将机器2的xorg.conf的文件列出:

   

 Section "Monitor"
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
ModelName "Monitor 1024x768"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.5 - 57.0
VertRefresh 50.0 - 70.0
#ModeLine "1024x768_75.00" 81.8 1024 1080 1192 1360 768 769 772 802 -hsync +vsync
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "i810"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Modes "1024x768"
Viewport 0 0
Depth 24
EndSubSection
EndSection


更多内容请看PCdog.com--系统管理专题
上一篇:VMware虚拟机中安装Linux的若干问题
下一篇:ubuntu linux系统 启动速度慢的问题