<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Decode360's Blog

    業精于勤而荒于嬉 QQ:150355677 MSN:decode360@hotmail.com

      BlogJava :: 首頁 :: 新隨筆 :: 聯系 ::  :: 管理 ::
      302 隨筆 :: 26 文章 :: 82 評論 :: 0 Trackbacks
    RedHat Linux AS4.0 安裝后花屏的解決方法
    ?
    ??? 在虛擬機上安裝RedHat Linux AS4.0后,由于視頻配置時選擇顏色深度太高,把16位色配置為24位色,導致打開圖形界面時出現花屏,屏幕寬度非常大,嚴重變形,不能操作。
    ?
    ??? 既然是顯卡配置部分出現問題,就必須修改該部分的配置信息。在這種情況下,這些應該進入單用戶模式下完成:
    ?
    ??? 首先重新啟動機器,在出現 grub 后,按字母“e”,然后會出現 grub 的配置文件,再按鍵盤移動光標到第二行“Kernal……”,再按“e”,然后在編輯界面輸入 single,回車。然后按“b”重啟,就進入了“單用戶模式”

    ??? 進入后在提示符 # 后敲入:vi /etc/X11/xorg.conf,然后會打開這個視頻配置文件,再輸入“/Screen”(注意S是大寫)檢索到 Screen 部分,會顯示相關的配置的地方。
    ?
    ??? 然后您按“i”鍵進入Vi編輯器的插入模式,把光標移動到“24”的位置,把這里的 24 改為 16,然后按 ESC 鍵返回命令模式,按冒號“:”,輸入 wq,回車,保存、退出。鍵入 reboot 命令,回車,重新啟動,圖形界面就出來了!
    ?
    ??? 以下是一個正確的 xorg.conf 文件的內容:
    ?
    ??? # 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
    ??? # file minus the extension (like ".txt" or ".db").? There is normally
    ??? # no need to change the default.
    ??? # 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 will probably want to use:
    ??? #?Option?"XkbModel"?"pc102"
    ??? # If you have a US Microsoft Natural keyboard, you can use:
    ??? #?Option?"XkbModel"?"microsoft"
    ??? #
    ??? # Then to change the language, change the Layout setting.
    ??? # For example, a german layout can be 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, use:
    ??? #?Option?"XkbOptions"?"ctrl:swapcaps"
    ??? # Or if you just want both to be 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 "Screen"
    ??? ?Identifier "Screen0"
    ??? ?Device???? "Videocard0"
    ??? ?Monitor??? "Monitor0"
    ??? ?DefaultDepth??? 16
    ??? ?SubSection "Display"
    ??? ??Viewport?? 0 0
    ??? ??Depth???? 16
    ??? ??Modes??? "800x600" "640x480"
    ??? ?EndSubSection
    ??? ?SubSection "Display"
    ??? ??Viewport?? 0 0
    ??? ??Depth??? 16
    ??? ??Modes??? "800x600" "640x480"
    ??? ?EndSubSection
    ??? EndSection
    ??? Section "DRI"
    ??? ?Group??????? 0
    ??? ?Mode???????? 0666
    ??? EndSection
    ?
    ??? 注意以上的 Section "Screen"……EndSection 部分,正是我們需要關心的地方。在實際中筆者發現,DefaultDepth? 16 莫名其妙的變為了 DefaultDepth? 16161616161616161616。SubSection "Display" 部分的兩個 16 都變為了 24,需要全部變回來。這里表明是有2個顯示器的情況。
    ?




    -The End-

    posted on 2008-11-12 21:13 decode360-3 閱讀(312) 評論(0)  編輯  收藏 所屬分類: Linux
    主站蜘蛛池模板: 亚洲AV一区二区三区四区| 在线观看亚洲一区二区| 亚洲s码欧洲m码吹潮| 最新欧洲大片免费在线| 亚洲乱码在线视频| 好先生在线观看免费播放| 亚洲成人激情小说| 免费黄色毛片视频| 青青青亚洲精品国产| 免费观看亚洲人成网站| 成人福利在线观看免费视频| 又粗又硬免费毛片| 中文字幕无码免费久久9一区9| 中文字幕第13亚洲另类| 久久精品免费电影| 亚洲自国产拍揄拍| 国产成人综合久久精品免费| 四虎国产精品永免费| 亚洲国产精品无码专区| 8090在线观看免费观看| 亚洲精品中文字幕无码A片老| 免费h黄肉动漫在线观看| 一个人看的免费视频www在线高清动漫 | 国产青草亚洲香蕉精品久久| 男人的天堂亚洲一区二区三区| 亚洲视频无码高清在线| 又大又粗又爽a级毛片免费看| 中文字幕一区二区免费| 亚洲国产精品成人久久久| 四虎成人精品一区二区免费网站| 无人视频免费观看免费视频| 国产AV无码专区亚洲精品| 97在线线免费观看视频在线观看| 国产亚洲福利一区二区免费看| 亚洲色婷婷综合久久| 国产精品1024永久免费视频| 男人j进女人p免费视频| 亚洲视频在线观看一区| 在线观看永久免费视频网站| 免费看成人AA片无码视频吃奶| 亚洲综合偷自成人网第页色|