LinuxSir.cn,穿越时空的Linuxsir!

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

startx 错误。

[复制链接]
发表于 2006-9-17 14:51:19 | 显示全部楼层 |阅读模式
首先说说我的安装过程

1)光盘安装了 Arch 版本好像是0.72bate版本
2)装好后 pacman -Syu
3)pacman -Sv xorg  hwd
4)hwd -s 生成 xorg.config.hwd   然后复制一份 为 xorg.conf
5) pacman -Sv gnome
6)pacman -Sv gdm

7)cp /etc/X11/xinit/xinitrc  ~/.xinitrc
8)注释掉 #start some nice programs 下面几句
9)添加一句 exec /opt/gnome/bin/gnome-session

然后startx  提示如下错误

  1. X Window System Version 7.1.1
  2. Release Date: 12 May 2006
  3. X Protocol Version 11, Revision 0, Release 7.1.1
  4. Build Operating System: UNKNOWN
  5. Current Operating System: Linux myhost 2.6.17-ARCH #1 SMP PREEMPT Fri Sep 15 14:02:51 CEST 2006 i686
  6. Build Date: 09 September 2006
  7.         Before reporting problems, check http://wiki.x.org
  8.         to make sure that you have the latest version.
  9. Module Loader present
  10. Markers: (--) probed, (**) from config file, (==) default setting,
  11.         (++) from command line, (!!) notice, (II) informational,
  12.         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  13. (==) Log file: "/var/log/Xorg.0.log", Time: Sun Sep 17 07:39:21 2006
  14. (==) Using config file: "/etc/X11/xorg.conf"
  15. [color=red](EE) Failed to load module "glx" (module does not exist, 0)[/color]
  16. (WW) VESA(0): Failed to set up write-combining range (0xf0000000,0x1000000)

  17. (gnome-session:2586): Gtk-WARNING **: Locale not supported by C library.
  18.         Using the fallback 'C' locale.

  19. (gnome-session:2586): Gdk-WARNING **: locale not supported by C library
  20. SESSION_MANAGER=local/myhost:/tmp/.ICE-unix/2586
  21. No fonts found; this probably means that the fontconfig
  22. library is not correctly configured. You may need to
  23. edit the fonts.conf configuration file. More information
  24. about fontconfig can be found in the fontconfig(3) manual
  25. page and on http://fontconfig.org

  26. waiting for X server to shut down FreeFontPath: FPE "/usr/share/fonts/misc:unscaled" refcount is 2, should be 1; fixing.
复制代码


有人给我说 是显卡驱动问题,我就装了显卡驱动 我的显卡是 ati 9600
pacman -S xf86-video-ati
结果还是有 红色提示错误。

我觉得我已经完全按网上 的安装教程做了,可是还不行,唯一的 没有做到的可能就是 修改xorg.conf文件,我对这个文件 真是无从下手。
我的显示器是 LCD 最高支持75hz 1024*768


希望高手指教,谢谢
发表于 2006-9-17 16:33:07 | 显示全部楼层
1.找不到glx模块,可以先不载入该模块。
2.找不到字体,fontconfig的配置可能有问题。fc-list看一下。
3.locale配置还没进行。用的是 'C' locale.
配置 /etc/locale.gen 后运行   locale-gen

建议分别调试xorg和gnome
不要眉毛胡子一把抓。
xorg用Xorg或X或xinit启动。Ctrl+ALT+BACK回命令行。
注意提示:Log file: "/var/log/Xorg.0.log"
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-17 17:42:19 | 显示全部楼层
上面的 显卡驱动装错了,我现在装了一个 新的ati-fglrx 显卡驱动,并配置了fglrx 加载模块。
现在问题依然是不能进入 X,
输入startx 提示如下错误

  1. X Window System Version 7.1.1
  2. Release Date: 12 May 2006
  3. X Protocol Version 11, Revision 0, Release 7.1.1
  4. Build Operating System: UNKNOWN
  5. Current Operating System: Linux myhost 2.6.17-ARCH #1 SMP PREEMPT Fri Sep 15 14:02:51 CEST 2006 i686
  6. Build Date: 09 September 2006
  7.         Before reporting problems, check http://wiki.x.org
  8.         to make sure that you have the latest version.
  9. Module Loader present
  10. Markers: (--) probed, (**) from config file, (==) default setting,
  11.         (++) from command line, (!!) notice, (II) informational,
  12.         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  13. (==) Log file: "/var/log/Xorg.0.log", Time: Sun Sep 17 10:29:13 2006
  14. (==) Using config file: "/root/xorg.conf"
  15. (EE) No devices detected.

  16. Fatal server error:
  17. no screens found
  18. XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
  19.       after 0 requests (0 known processed) with 0 events remaining.

复制代码


希望有人解答,,
自己在琢磨当中
回复 支持 反对

使用道具 举报

发表于 2006-9-17 19:26:39 | 显示全部楼层
(EE) No devices detected.

这回真的是显卡的配置或安装有问题了。

注意:
(==) Using config file: "/root/xorg.conf"
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-17 21:08:32 | 显示全部楼层
是的,网上看了好多文章,现在问题很明确 就是xorg.conf问题!但是不知道改哪里?
回复 支持 反对

使用道具 举报

发表于 2006-9-17 22:11:56 | 显示全部楼层
你修改的是哪个文件?用root启动的x?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-17 22:42:27 | 显示全部楼层
现在startx提示错成这个了!



  1. X Window System Version 7.1.1
  2. Release Date: 12 May 2006
  3. X Protocol Version 11, Revision 0, Release 7.1.1
  4. Build Operating System: UNKNOWN
  5. Current Operating System: Linux myhost 2.6.17-ARCH #1 SMP PREEMPT Fri Sep 15 14:02:51 CEST 2006 i686
  6. Build Date: 09 September 2006
  7.         Before reporting problems, check http://wiki.x.org
  8.         to make sure that you have the latest version.
  9. Module Loader present
  10. Markers: (--) probed, (**) from config file, (==) default setting,
  11.         (++) from command line, (!!) notice, (II) informational,
  12.         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  13. (==) Log file: "/var/log/Xorg.0.log", Time: Sun Sep 17 22:35:38 2006
  14. (==) Using config file: "/etc/X11/xorg.conf"

  15. (EE) AIGLX: Screen 0 is not DRI capable
  16. SESSION_MANAGER=local/myhost:/tmp/.ICE-unix/3657
  17. No fonts found; this probably means that the fontconfig
  18. library is not correctly configured. You may need to
  19. edit the fonts.conf configuration file. More information
  20. about fontconfig can be found in the fontconfig(3) manual
  21. page and on http://fontconfig.org

  22. waiting for X server to shut down FreeFontPath: FPE "/usr/share/fonts/misc:unscaled" refcount is 2, should be 1; fixing.
复制代码


修改了xorg.conf显示器的 垂直和水平的扫描频率,其他的都没有修改!
回复 支持 反对

使用道具 举报

发表于 2006-9-17 23:26:46 | 显示全部楼层
这次换了个配置文件了!!!!!
  1. (==) Using config file: "/etc/X11/xorg.conf"
复制代码
  1. AIGLX
  2. (EE) AIGLX: Screen 0 is not DRI capable
复制代码
aiglx需要DRI支持,你现有的安装配置还没开启DRI

建议先把aiglx这样的高级功能先关掉,等以后再来加
楼主好象是还没理清思路就胡乱试来试去的。

要启动xorg很简单,就是安装显卡驱动,配置xorg.conf
有问题要吗是显卡驱动没选对,要吗就是xorg.conf有问题。

xorg.conf分几部分

serverlayout部分相当于一个索引,告诉xorg screen,鼠标,键盘各用哪一小节

files部分是相应的路径设置

module是要载入的模块

inputdevice是输入设备包括键盘和鼠标每个设备一节

monitor是显示器

device是显卡

screen是一个抽象的概念,一个screen由显示器,显卡,可用的显示模式组成

最系统最全面的请看 man xorg.conf

如果楼主要快的话,不如把xorg.conf和log文件以附件的形式贴出来。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-18 00:01:31 | 显示全部楼层
我出错时候用的xorg.conf
纯粹 Xorg 可以启动

我的是液晶显示器  HUYDAI Q15N  
水平扫描频率 30-60
垂直          56-70
屏幕大小    300mm  220mm
最大分辨率 1024*768

显卡 ATI Radeon 9550 (RV350) 不过用软件检测 都是 9600的
256M 128bit

现在的startx后的错误

  1. X Window System Version 7.1.1
  2. Release Date: 12 May 2006
  3. X Protocol Version 11, Revision 0, Release 7.1.1
  4. Build Operating System: UNKNOWN
  5. Current Operating System: Linux myhost 2.6.17-ARCH #1 SMP PREEMPT Fri Sep 15 14:02:51 CEST 2006 i686
  6. Build Date: 09 September 2006
  7.         Before reporting problems, check http://wiki.x.org
  8.         to make sure that you have the latest version.
  9. Module Loader present
  10. Markers: (--) probed, (**) from config file, (==) default setting,
  11.         (++) from command line, (!!) notice, (II) informational,
  12.         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  13. (==) Log file: "/var/log/Xorg.0.log", Time: Mon Sep 18 07:16:37 2006
  14. (==) Using config file: "/etc/X11/xorg.conf"

  15. (WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
  16. (EE) fglrx(1): Quitting secondary screen -- no monitor specified.
  17. (EE) fglrx(1): R200PreInit failed
  18. (EE) AIGLX error: dlsym for __driCreateNewScreen_20050727 failed (/usr/lib/xorg/modules/dri/fglrx_dri.so: undefined symbol: __driCreateNewScreen_20050727)
  19. (EE) AIGLX: reverting to software rendering
  20. SESSION_MANAGER=local/myhost:/tmp/.ICE-unix/3162
  21. No fonts found; this probably means that the fontconfig
  22. library is not correctly configured. You may need to
  23. edit the fonts.conf configuration file. More information
  24. about fontconfig can be found in the fontconfig(3) manual
  25. page and on http://fontconfig.org

  26. waiting for X server to shut down FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 2, should be 1; fixing.

复制代码

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2006-9-18 10:11:50 | 显示全部楼层
你不如贴你的xorg.conf
或者你用xorgcfg配置一个。
回复 支持 反对

使用道具 举报

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

本版积分规则

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