Inconsistent resolution before and after linux Login
Source: Internet
Author: User
The resolution is inconsistent before and after linux Login-general Linux technology-Linux technology and application information. The following is a detailed description. Problem description: The resolution is inconsistent before and after linux Login. The resolution is high before login and is normal after login. Two machines with the same graphics card have the same problem, but the solution is different.
Solution: Modify the/etc/x11/xorg. conf file.
1. List the xorg. conf files of machine 1:
.......
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
Because the red part is missing in this file, the above problem can be solved by adding this sentence to the file.
2. List the xorg. conf files of Machine 2:
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-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
Because the red part is added to this file, the above problem can be solved by commenting out this sentence in the file.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service