LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
123
返回列表 发新帖
楼主: YSM

我的硬件有问题?(装完RedHat后----重启----黑屏^^^)

[复制链接]
 楼主| 发表于 2003-6-1 09:03:00 | 显示全部楼层
从字符界面可以登录,但键入startx后又黑屏(应该没有提示错误,速度太快了,没看清楚)。
发表于 2003-6-1 10:10:15 | 显示全部楼层
把配制文件帖上来,改一下就行了。。
 楼主| 发表于 2003-6-1 10:12:34 | 显示全部楼层
已经贴了,在前面。
发表于 2003-6-1 10:28:54 | 显示全部楼层
Option "dpms"前面加#号

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
EndSection
 楼主| 发表于 2003-6-1 12:50:20 | 显示全部楼层
南北不愧不老大,终于可以进去了,可问题又来了,只要我改了显示属性后又不行了,这是怎么回事,而且字体模糊得不像样。

还有,想问一下南北老大那几行参数是什么意思。
 楼主| 发表于 2003-6-1 20:41:16 | 显示全部楼层
看来这回又要劳烦南北老大一次了,刚才我重装RedHat 9.0(选择了完全安装)后,把改好的XF86Config文件复制回去后键入startx不能登录图形界面。

我改写后的XF86Config文件如下:


# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "DevInputMice" "AlwaysCore"
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      "keyboard"
        Option            "XkbRules" "xfree86"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "rotocol" "IMPS/2"
        Option            "Device" "/dev/psaux"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
        Identifier  "DevInputMice"
        Driver      "mouse"
        Option            "rotocol" "IMPS/2"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "no"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "DDCPROBED"
        DisplaySize  280        210
        HorizSync    30.0 - 80.0
        VertRefresh  50.0 - 120.0
#        Option            "dpms"
       Section "Screen"
        Identifier "Screen0"
        Device "Videocard0"
        Monitor "Monitor0"
        DefaultDepth 16
        SubSection "Display"
        Depth 16
        Modes "800x600" "640x480"
        EndSubSection
        EndSection
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "radeon"
        VendorName  "Videocard vendor"
        BoardName   "ATI Radeon 7000"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     16
        SubSection "Display"
                Depth     16
                Modes    "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Group        0
        Mode         0666
EndSection
发表于 2003-6-2 03:05:13 | 显示全部楼层
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "DDCPROBED"
DisplaySize 280 210
HorizSync 30.0 - 80.0
VertRefresh 50.0 - 120.0
# Option "dpms"
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
EndSection
EndSection


这段中错了,应该改成



Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "DDCPROBED"
DisplaySize 280 210
HorizSync 30.0 - 80.0
VertRefresh 50.0 - 120.0
#Option "dpms"
EndSection
 楼主| 发表于 2003-6-2 17:40:47 | 显示全部楼层
谢谢南北兄,成了。

我想问一下面这段是什么意思。

Option "dpms"前面加#号

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
EndSection
发表于 2003-6-2 20:48:52 | 显示全部楼层
我说的只是皮毛,只能是应急。哈。。。看一下专家如何说??

http://www.linuxsir.cn/forum.php?mod=viewthread&tid=2606
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表