请先安装显卡驱动

# 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"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device  "Card0"
   Monitor  "Monitor0"
  SubSection "Display"
      Viewport 0 0
      Depth  24
Modes  "1280x1024" "1024x768" "800x600"
  EndSubSection
EndSection

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" 段:
Section "Monitor"
Identifier "Monitor0"
ModelName "LCD Panel 1440x900"
HorizSync 31.5 - 56.0
VertRefresh 56.0 - 65.0
Option "dpms" "false"
Option "IgnoreEDID" "true"
Modeline "1440x900_60.00" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
EndSection

3. 更改 /etc/X11/xorg.conf 的 “Screen" 段,关键是:Modes "1440x900_60.00" 这一段要和上面的 Modelline 后的那个名字一样。
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes   "1440x900_60.00"
Virtual 1440 900
EndSubSection
EndSection

4. 重启Xwindow.