Chinaunix

标题: RH 9.0 X的启动问题 [打印本页]

作者: huasd1109    时间: 2006-01-20 14:58
标题: RH 9.0 X的启动问题
我的系统启动X时,需把etc/X11/XF86config (如图)中的关于字体的一行注释掉才能起来X,这是怎么回事阿?

snapshot1.png (1.9 KB, 下载次数: 14)

snapshot1.png

作者: huasd1109    时间: 2006-01-20 15:10
图片

snapshot1.png (1.9 KB, 下载次数: 14)

snapshot1.png

作者: huasd1109    时间: 2006-01-20 15:24
不好意思,用屏幕抓图工具抓的图片没显示,这是我的/etc/X11/XF86config有关字体路径的部分代码
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
作者: lunchan    时间: 2006-01-20 15:31
大概是font path不存在吧
作者: 零二年的夏天    时间: 2006-01-20 21:12
是的。有可能是font path不存在。
作者: huasd1109    时间: 2006-01-23 08:55
那我该怎样设置阿?
作者: huasd1109    时间: 2006-01-23 13:09
我在网上看了一下说把/tmp下的文件删了就可以了,我试了一下,x windows果然可以起来了
想问一下,有哪位知道原因阿?
作者: 试一试    时间: 2006-01-23 23:04
标题: 正好相反
原帖由 huasd1109 于 2006-1-23 13:09 发表
我在网上看了一下说把/tmp下的文件删了就可以了,我试了一下,x windows果然可以起来了
想问一下,有哪位知道原因阿?

原来好好的登陆界面,看到根下到99%,于是在根下rm -r删除了/tmp.然后又建立一个/tmp,结果进入一个极其残酷的现实.登陆界面先乱码,只有<YES>,<NO>可选,一选,二选,用root登陆,看了一下X86Config,没有看出什么名堂。再重新启动到登陆界面开始,就是闪啊闪。连敲ROOT极其密码的时间都没有!只有强行安机器开关!这还有救吗?
作者: 试一试    时间: 2006-01-24 00:32
标题: 可以救活吗?
我又重新启动,迅速进入root用户!可是还是闪,不过闪过可数的次数后,又到乱码状态!选<YES>,<NO>,选<YES>只有一个<EXIT>可选,选<NO>,跳到命令行模式,用redhat-config-xfree86,闪一下回来.屏幕有如下文字:
* ddcprobe returned bogus values:
ID:   None
Name: None
HorizSync: None
VertSync:  None

xconf.py: Fatal IO error 2 (Connection reset by peer) on X server :17.0.

还有:
我在/etc/X11下执行X.结果当前屏幕是
Module Loader present
OS Kernel: Linux version 2.4.21-27.EL(bhcompile@bugs.build.redhat.com)(gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47)) #1 Wed Dec 1 22:08:15 EST 2004
Markers: (--)probed, (**) from config file, (==) default setting,(++) from command line, (!!) notice, (II) informational, (WW) warning, (EE)error, (NI) not implemented, (??) unknown.
(==) Log file:"/var/log/XFree86.0.log", Time: Tue Jan 24 00:13:04 2006
(==) Using config file: "/etc/X11/XF86Config"
Could not init font path element unix/:7100, removing from list!

Fatal server error:
could not open default font 'fixed'

If you encounter a server crash, lease report the problem by filing a bug report in the XFree86.org bugzilla at http://bugs.xfree86.org and/or Red Hat is very important that you explain your problem in as much detail as possible, and include a complete description on how to reproduce the problem. After submitting the bug report, attach the following files as uncompressed individual file attachments using the bugzilla file attachment feature:
    X server log file: /var/log/XFree86.0.log
    X server config file: /etc/X11/XF86Config
    Kernel log file: /ver/log/messages

可是我只删除了一个/tmp目录!
在 /var/log/XFree86.0.log文件中也有字体路径的错误信息,最后的文字和上面的一样!
/etc/X11/XF86Config文件最后
Section "DRI"
             Group      0
              Mode      0666
EndSection
不知道怎么修改?

可是根目录又长大的2%!
作者: 宝贝不哭    时间: 2006-01-24 16:39
楼主的情况我也碰到过,
我当时把FontPath     "unix/:7100"  这一行注释掉了
就可以进x,可是不能输入中文,我又把注释掉的改回来,重启机器,又可以进入桌面了
呵呵,不明白怎么回事
作者: 试一试    时间: 2006-01-24 19:56
标题: 试一试
那我也来试一试!希望能行!谢谢!
作者: 试一试    时间: 2006-01-24 20:40
标题: 非常感谢!
的确!我进去编辑了/etc/X11/XF86Config,注释了"File"下的Font Path "unix/:7100".然后reboot一切都还原!谢谢!




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2