vicker313 tech blog

March 8, 2010

Linux Machine No More Display after Monitor Is Replaced

Filed under: Linux — Tags: , , — vicker313 @ 8:00 am

We might experience display problem in a Linux Machine after monitor is replaced, especially when changing a LCD with a CRT. To be more precise, the monitor cannot display the GUI anymore because of monitor refresh rate too high. So we need to adjust the refresh rate through the console.

  1. As the monitor goes blank when displaying the GUI, hit Ctrl+Alt+F2 to switch the display to console. Login as root.
  2. Change directory to /etc/X11, look for a file called xorg.conf.
    cd /etc/X11
  3. Make a copy of the file before making any changes.
    cp xorg.conf xorg.conf.backup
  4. Edit the file with your favorite editor:
    vi xorg.conf
  5. Look for the Monitor Section (similar as below):
    Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "AL1717"
    DisplaySize  340        270
    HorizSync    30.0 - 83.0
    VertRefresh  56.0 - 75.0
    Option      "dpms"
    EndSection
  6. Remove the line DisplaySize, HorizSync and VertRefresh, then save the file.
  7. Reboot the machine, and now it should able to display GUI.
    reboot
Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: