LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 996|回复: 8

无法从控制台进入X windows?

[复制链接]
发表于 2003-8-19 22:50:18 | 显示全部楼层 |阅读模式
用的是Dell latitude D500,
装上redhat9,不能识别显示器,装上之后用startx无法进入X windows的界面,
强行改/etc/inittab,使启动默认进入图形界面。
可进入之后,显示的字体奇大无比,调分辨率为1024×768,无任何效果。
上Dell的网站找到这款机型,却没有显示器的类型,
唉!………………
求教各位大虾,有解决的办法吗?
发表于 2003-8-20 11:11:33 | 显示全部楼层
不能进入X一般是显卡的问题,就显示器而言你必须知道它的水平刷新率和垂直刷新率,你可以试试命令
#redhat-config-xfree86
看看是不是能够让你配置X。
 楼主| 发表于 2003-8-20 15:04:57 | 显示全部楼层
显示器的刷新率分别为: 30-37.5千赫
                       50-70 千赫
能打开redhat-config-xfree86这个文件,但不知怎么修改。能告之怎么配置吗

另外,显卡能识别是Intel 852。

先谢谢你的回复
发表于 2003-8-20 15:48:29 | 显示全部楼层
你能确定这两个刷新率是你显示器说明书上写的吗?好象太窄了一点,不会是OS自己给出的吧?
如果能够运行这个命令的话,你应该可以看到是图形界面的方式,第一页是选分辨率和颜色,800*600,16色(第二项);第二页是选择刷新率(水平刷新率和垂直刷新率)这个要按自己显示器说明书上的填,如果不知道的话,保持默认的,不要乱改,会把显示器烧掉的,还有一个是选显示器的型号,如果没有认出来的话就不要改。改好以后用startx进入X看看行不行。
 楼主| 发表于 2003-8-20 22:56:47 | 显示全部楼层
水平与垂直刷新率都是OS显示的,修在后进入X windows,显示的字体却很大,改变分辨率为1024×768,还是不行。
我已经越来越头大了。
还有没有别的办法。
发表于 2003-8-20 23:54:50 | 显示全部楼层
看看你的XF86config里的
Section "Screen"
发表于 2003-8-21 11:21:12 | 显示全部楼层
水平刷新率和垂直刷新率最好用自己显示器上的,否则显示的问题很难解决。你现在调到1024*768了还觉得字体很大么?看看
/etc/X11/XF86Config文件是怎么写的,贴出来。
 楼主| 发表于 2003-8-30 23:08:27 | 显示全部楼层
最近和朋友一起回了老家,不能上网,所以一直没有回复,实在抱歉!
下面是我的机子上的XF86Config的内容,不知问题出在哪儿,还望多多指教。

# XFree86 4 configuration created by redhat-config-xfree86

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"
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" "S/2"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "no"
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    "Unknown monitor"
        HorizSync    31.5 - 37.9
        VertRefresh  50.0 - 70.0
        Option            "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "i810"
        VendorName  "Videocard vendor"
        BoardName   "Intel 852"
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-10-5 15:12:05 | 显示全部楼层
用下面的命令来试一下
#redhat-config-xfree86
在显示器的配制那块,也就是monitor。选dell 1024x768 Laptop display,这样来试试看。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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