請先安裝顯示卡驅動
# vi /etc/X11/xorg.conf
##Add the following codes:
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 28.0 - 70.0
VertRefresh 56.0 - 75.0
EndSection
Section "Device"
Identifier "Card0"
Driver "vesa"
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
Then,Reboot the computer.
1. 執行 gtf 1440 900 60 -x
# 1440x900 @ 60.00 Hz (GTF) hsync: 55.92 kHz; pclk: 106.47 MHz
Modeline "1440x900_60.00" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
2. 将 Modeline 那一行,複制到 /etc/X11/xorg.conf 檔案中的 "Monitor" 段:
Identifier "Monitor0"
ModelName "LCD Panel 1440x900"
HorizSync 31.5 - 56.0
VertRefresh 56.0 - 65.0
Option "dpms" "false"
Option "IgnoreEDID" "true"
3. 更改 /etc/X11/xorg.conf 的 “Screen" 段,關鍵是:Modes "1440x900_60.00" 這一段要和上面的 Modelline 後的那個名字一樣。
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1440x900_60.00"
Virtual 1440 900
EndSubSection
4. 重新開機Xwindow.
本文轉自babylater51CTO部落格,原文連結:http://blog.51cto.com/babylater/1391649 ,如需轉載請自行聯系原作者