点击这里给我发消息 点击这里给我发消息
首页 > 行业资讯 > linux>详细内容

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

添加时间:2010-1-4
    相关阅读: 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

 

本文作者:
咨询热线:020-85648757 85648755 85648616 0755-27912581 客服:020-85648756 0755-27912581 业务传真:020-32579052
广州市网景网络科技有限公司 Copyright◎2003-2008 Veelink.com. All Rights Reserved.
广州商务地址:广东省广州市黄埔大道中203号(海景园区)海景花园C栋501室
= 深圳商务地址:深圳市宝源路华丰宝源大厦606
研发中心:广东广州市天河软件园海景园区 粤ICP备05103322号 工商注册