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

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

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

    Decode360's Blog

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

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

    ??? 進(jìn)入后在提示符 # 后敲入:vi /etc/X11/xorg.conf,然后會打開這個視頻配置文件,再輸入“/Screen”(注意S是大寫)檢索到 Screen 部分,會顯示相關(guān)的配置的地方。
    ?
    ??? 然后您按“i”鍵進(jìn)入Vi編輯器的插入模式,把光標(biāo)移動到“24”的位置,把這里的 24 改為 16,然后按 ESC 鍵返回命令模式,按冒號“:”,輸入 wq,回車,保存、退出。鍵入 reboot 命令,回車,重新啟動,圖形界面就出來了!
    ?
    ??? 以下是一個正確的 xorg.conf 文件的內(nèi)容:
    ?
    ??? # 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 部分,正是我們需要關(guān)心的地方。在實(shí)際中筆者發(fā)現(xiàn),DefaultDepth? 16 莫名其妙的變?yōu)榱?DefaultDepth? 16161616161616161616。SubSection "Display" 部分的兩個 16 都變?yōu)榱?24,需要全部變回來。這里表明是有2個顯示器的情況。
    ?
    ?
    posted on 2008-11-12 21:13 decode360 閱讀(112) 評論(0)  編輯  收藏 所屬分類: 03.Linux
    主站蜘蛛池模板: 国产亚洲精久久久久久无码77777 国产亚洲精品成人AA片新蒲金 | 免费看大美女大黄大色| 亚洲女子高潮不断爆白浆| 免费在线观看污网站| 免费看搞黄视频网站| 亚洲熟妇AV日韩熟妇在线| 国产91精品一区二区麻豆亚洲| 99久久99久久免费精品小说| 亚洲精品美女久久久久久久| 亚洲精品无码不卡在线播放HE| 久久久高清免费视频| 久久WWW免费人成—看片| 456亚洲人成影院在线观| 亚洲国产精品va在线播放| 成人免费毛片观看| 毛片在线播放免费观看| 亚洲真人无码永久在线观看| 亚洲国产精品福利片在线观看| 成人午夜视频免费| 午夜爽爽爽男女免费观看影院| 亚洲6080yy久久无码产自国产| 亚洲天天做日日做天天欢毛片| 四虎免费永久在线播放| 亚洲黄色免费网址| 久久精品无码专区免费| 亚洲国产精华液2020| 亚洲网红精品大秀在线观看| 亚洲狠狠爱综合影院婷婷| AV免费网址在线观看| 午夜爽爽爽男女免费观看影院| 九九免费久久这里有精品23| 亚洲性无码一区二区三区| 久久精品国产亚洲AV网站 | 久久精品国产亚洲AV嫖农村妇女| 亚洲国产精品碰碰| 成人毛片视频免费网站观看| 99re在线精品视频免费| 成在人线av无码免费高潮喷水 | 亚洲国产成人AV网站| 久久精品国产亚洲AV蜜臀色欲 | 欧洲亚洲国产清在高|