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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值