LinuxSir.cn,穿越时空的Linuxsir!

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

xorg-6.9.0 出错了。

[复制链接]
发表于 2007-7-16 00:01:21 | 显示全部楼层 |阅读模式
大家好:
        我按照  大话LFS/BLFS]从LFS到BLFS轻松上手——关于编译LFS/BLFS的可行性报告
上安装到xorg-6.9.0 。在运行Xorg -configure 出错,说是找不到这个Xorg。我用whereis找到了在/usr/X11R6/bin/下面。运行X -config ~/xorg.conf.new也出现这个情况,怎么解决?难道每次都要输入全路径?另外做到startx 的时候,出错如下:
/usr/X11/startx:line 35:xauth:commond not found.

/usr/X11R6/bin/xinit: No such file or direcoty (error 2) no server X in PATH
Use the -- option or make sure that /sur/X11R6/bin is in your path and that X is a program or a link to the right type of server for your display.Possible server names include Xorg X.org display
give up

/usr/X11R6/bin/xinit:connection refused (error 111) unable to connect the X server.
/usr/X11R6/bin/xinit: No such process(error 3)
server error.

这个问题如何解决啊?谢谢各位啦!!
发表于 2007-7-16 00:26:28 | 显示全部楼层
echo $XORG_PREFIX

看一下。

如果没有,那你是把那段作脚本来做了。
可以运行:
source /etc/profile
ldconfig
之后就可以了。仅此终端。

或者重登录也行。
回复 支持 反对

使用道具 举报

发表于 2007-7-16 15:04:23 | 显示全部楼层
细节问题

修改两个地方:
ld.so.conf

/etc/profile

关于Xorg的配置
一定不要放在ld.so.conf和/etc/profile这两个文件的
# End of ld.so.conf
# End of /etc/profile
这些文件行的后面................
放到# End of ........之前,
然后:
照楼上huohuliaisili大哥的方法执行命令就行了.
回复 支持 反对

使用道具 举报

发表于 2007-7-16 19:17:32 | 显示全部楼层
Post by czczcz
大家好:
        我按照  大话LFS/BLFS]从LFS到BLFS轻松上手——关于编译LFS/BLFS的可行性报告
上安装到xorg-6.9.0 。在运行Xorg -configure 出错,说是找不到这个Xorg。我用whereis找到了在/usr/X11R6/bin/下面。运行X -config ~/xorg.conf.new也出现这个情况,怎么解决?难道每次都要输入全路径?另外做到startx 的时候,出错如下:
/usr/X11/startx:line 35:xauth:commond not found.

/usr/X11R6/bin/xinit: No such file or direcoty (error 2) no server X in PATH
Use the -- option or make sure that /sur/X11R6/bin is in your path and that X is a program or a link to the right type of server for your display.Possible server names include Xorg X.org display
give up

/usr/X11R6/bin/xinit:connection refused (error 111) unable to connect the X server.
/usr/X11R6/bin/xinit: No such process(error 3)
server error.

这个问题如何解决啊?谢谢各位啦!!
強烈建議樓主先行詳細閱讀 BLFS 手冊後才動手
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-7-17 22:43:25 | 显示全部楼层
问题解决了,谢谢各位。
回复 支持 反对

使用道具 举报

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

本版积分规则

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