LinuxSir.cn,穿越时空的Linuxsir!

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

急!FC5文本下安装成功,但是进入不了x windows

[复制链接]
发表于 2006-4-22 15:26:48 | 显示全部楼层 |阅读模式
图形界面下安装无法显示整个内容,只得文本界面下安装,安装成功后,
登陆root帐户,startx,进入不了x windows,提示:
using config file:"/etc/x11/xorg.conf"
device/dev/dsp can't be opened (no such device)
(EE) i810 (0): No video BIOS modes for chosen depth
(EE) screen(s) found, but none have a usable configuration
Fetal server error:
no screens found,
...http://wiki.x.org.....

我装的是dell的机子:
计算机系统:OptiPlex 160L,
CPU: Intel Pentium 4 Northwood processor
BIOS: dell computer corporation a00
主板:dell computer corp. 0G1548
主板芯片:Intel 82845G/GL/GV Brookdale Host_Hub Interface Bridge (A1-step)
内存:256M
主硬盘:ST380011a
显示卡:Intel(R)82845G/GL/GE/PE/GV graphics controller (与主板集成)
显存:64Mb
显示器:产品: DELA00C
型号:DELL E153FP(15寸液晶显示器)
产品ID:31475A53
行频:30-63khz
场频:56-76hz

我用ls /etc/ 可以看到x11
但是当用 ls /etc/x11, 提示说: no such file or directory。
用 cat /etc/x11/xorg.conf, 提示说:no such file or directory。
我/etc 下的其他目录/文件进行了操作,却没有这种提示,如:
当用 ls /etc/gpm 成功显示该目录下的所有文件, 并且用 cat /etc/gpm/syn.conf可以完整显示该文件的内容。

请高手指点,要不根本无法对配置文件修改,进入不了x windows界面,我用linux代替microsoft windows的计划也要泡汤了。
由于是新手,恳请高手指点一二啊!!!!!!
发表于 2006-4-22 15:41:27 | 显示全部楼层
我也是新手 呵呵 共同学习
/etc/X11 注意 是大写的X
目录下有/etc/X11/xorg.conf 文件 你可以用vi看看
Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Unknown monitor"
        HorizSync    31.5 - 37.9
        VertRefresh  50.0 - 70.0
        Option            "dpms"
EndSection

把它改成
Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "LCD Panel 1024x768"
### Comment all HorizSync and VertSync values to use DDC:
        HorizSync    31.5 - 90.0
        VertRefresh  60.0 - 60.0
        Option            "dpms"
EndSection

然后

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

该成

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1024x768"
        EndSubSection
EndSection
回复 支持 反对

使用道具 举报

发表于 2006-4-22 15:42:38 | 显示全部楼层
你试试看 我就是这样试成功的

改之前 做好备份哦
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-23 10:39:29 | 显示全部楼层
的确是把X11写成x11造成,
我把成功进入800×600的配置贴在下面:

# Xorg configuration created by system-config-display

Section "ServerLayout"
        Identifier     "single head configuration"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.
        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            "rotocol" "IMPS/2"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "yes"
EndSection

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Dell E153FP"
        DisplaySize  300        230
### Comment all HorizSync and VertSync values to use DDC:
        HorizSync    30.0 - 63.0
        VertRefresh  56.0 - 76.0
        Option            "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "i810"
        VendorName  "Videocard vendor"
        BoardName   "Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
EndSection

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

Section "DRI"
        Group        0
        Mode         0666
EndSection
我把上述相应的部分改成:
Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection
就出现我第一个帖子提到的错误,进入不了x windows。


后来我到intel网站上下载了for linux的驱动rpm包,进行如下操作:
rpm -ivh dir-I915-v1.1-20041217.i386.rpm
cd /usr/X11R6/dripkg
tar -xvzf dripkg.tar.gz
cd dripkg
./install.sh
按照出来的提示,选1安装drive,结果屏幕提示:
compiler is not available to compile modules, aborting....
安装不了驱动包。

如果直接安装rpm包,
给配置文件也是出现同样的错误。

请大侠解答。
万分感谢!等待中...................
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-23 17:05:24 | 显示全部楼层
是不是因为我文本安装选择office相关的东东,没有完全安装,以至于有些重要软件没有装造成的?
请高手们解答啊!!!!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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