Installation RedHat Linux AS4.0 after the solution of the flower screen __linux

Source: Internet
Author: User

Install RedHat Linux AS4.0 on the virtual machine, because the choice of color depth is too high when the video is configured, the 16-bit color is configured to 24-bit color, which results in a flower screen when the graphical interface is opened, and the screen width is very large, seriously deformed and unable to operate.

Since there is a problem with the Graphics configuration section, you must modify the configuration information for that section. In this case, these should go into Single-user mode to complete:

First reboot the machine, after Grub appears, press the letter "E", then the Grub configuration file appears, then press the keyboard to move the cursor to the second line "Kernal ...", press "E", and then enter single in the Edit interface, carriage return. Then press "B" to reboot and enter "Single-user mode".
After entering the prompt, type: vi/etc/x11/xorg.conf, then open the video profile, and then enter "/screen" (note s is in uppercase) to retrieve the screen section, where the relevant configuration will be displayed.

Then you press "I" key into the VI editor insert mode, the cursor moved to the "24" position, the 24 here to 16, and then press the ESC key to return to the command mode, by the colon ":", input Wq, enter, save, exit. Type the reboot command, enter, reboot, and the graphical interface comes out.

The following is the contents of a correct xorg.conf file:

# XFREE86 4 configuration created by Pyxf86config

section "Serverlayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "Corepointer"
InputDevice "Keyboard0" "Corekeyboard"
Endsection

section "Files"

    # Rgbpath is the location of the "RGB database.  note", this is the name of the
  &N Bsp # file minus the extension (like ". txt" or ". db") .  There is normally
    # No need to change the D Efault.
    # Multiple Fontpath entries are allowed (they are concatenated together)
    # by Default, Red Hat 6.0 and later now use a font server independent of
    # The X server to render fonts.
     RgbPath      "/usr/x11r6/lib/x11/rgb"
      FontPath     "unix/:7100"
    endsection

section "Module"
Load "DBE"
Load "Extmod"
Load "FBDEVHW"
Load "GLX"
Load "Record"
Load "FreeType"
Load "Type1"
Load "DRI"
Endsection

section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with Xset (1))
# option "Xleds" "1 2 3"
# To disable the Xkeyboard extension, uncomment xkbdisable.
# option ' xkbdisable '
# to customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a NON-U.S.
# Keyboard, you'll probably want to use:
# option "XkbModel" "pc102"
# If You are have a US Microsoft Natural keyboard, can use:
# option "XkbModel" "Microsoft"
#
# Then to change the language and change the Layout setting.
# For example, a German layout can is obtained with:
# option "Xkblayout" "de"
# or:
# option "Xkblayout" "de"
# option "Xkbvariant" "Nodeadkeys"
#
# If you ' d like to switch the positions of your capslock and
# Control keys with use:
# option "Xkboptions" "Ctrl:swapcaps"
# Or If you are just want both to IS control, use:
# option "Xkboptions" "Ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "KBD"
Option "XkbModel" "pc105"
Option "Xkblayout" "Us"
Endsection

section "InputDevice"
Identifier "Mouse0"
Driver "Mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "Zaxismapping" "4 5"
Option "Emulate3buttons" "Yes"
Endsection

section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Unknown Monitor"
Horizsync 31.5-37.9
Vertrefresh 50.0-70.0
Option "DPMS"
Endsection

section "Device"
Identifier "Videocard0"
Driver "S3"
VendorName "Videocard Vendor"
Boardname "S3 Trio64 (generic)"
Endsection

    section "screens"
     identifier "Screen0"
     Device     "Videocard0"
     Monitor    "Monitor0 "
     DefaultDepth   
     subsection" Display "
      Viewport   0 0
      Depth     
      Modes    "800x600" "640x480"
      endsubsection
     subsection "Display"
       viewport   0 0
      Depth   
       Modes    "800x600" "640x480"
     endsubsection
    Endsection

section "DRI"
Group 0
Mode 0666
Endsection

Note The above section "screen" ... The endsection part is where we need to be concerned. In fact, the author found that defaultdepth 16 inexplicably changed to Defaultdepth 16161616161616161616. Subsection "Display" part of the two 16 are changed to 24, need to change all back. This indicates that there are 2 monitors in the case.

The author compared Redhat Linux 9.0 situation, found that the video profile is not/etc/x11/xorg.conf, but/etc/x11/xf86config (note the case of file name), this everyone must pay attention to. Xf86config section ' Screen ' ... The Endsection section is also different, as shown below, and should be related to the hardware configuration of the machine:

Section ' Screen '
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
Defaultdepth 16
Subsection "Display"
Depth 16
Modes "800x600" "640x480"
Endsubsection
Endsection

*redhat Linux AS4.0 is: RedHat linux Enterprise Advanced Server version 4.0.

This article comes from "100,000 Why" computer Learning Network http://www.why100000.com
Author: Zhang Qing (mesh) 2008-1-23

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.