Change display resolution in Redhat 5 or Oracle Enterprise Linux 5

Edit your “/etc/X11/xorg.conf” file, add the “Modes” part under subsection “Display” where the first mode – which is 1024×768 in the example below – will be the default one:

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes     "1024x768" "800x600" "640x480"
        EndSubSection
EndSection



Save the file, then restart your X server or restart your computer if you don’t know how to 🙂

Source

Advertisements

About SoCRaT

Research Support and Infrastructure Engineer, OSS & Linux Geek
This entry was posted in Uncategorized and tagged , , , . Bookmark the permalink.

2 Responses to Change display resolution in Redhat 5 or Oracle Enterprise Linux 5

  1. I was always seeking for the answer for such a question "How to set the default mode for a Display subsection?" and you answered it. Thank you.So, If I have more than one Display subsection, so the first subsection is the default section too ?Thanks.

    Like

  2. Arvind says:

    i hav done all he aditing as suggested by Ahmad. Still i m facing the problem.Only two options are available in screen resolution drop menu 800×600 and 640×480.

    Like

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