LinuxSir.cn,穿越时空的Linuxsir!

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

请问emerge gnome后startx提示command cannot found怎么回事阿

[复制链接]
发表于 2010-5-9 14:44:04 | 显示全部楼层 |阅读模式
刚装上的系统,emerge gnome一切正常,按照官方文档配之后,startx,提示说:bash:command cannot found,请问是怎么回事阿?
发表于 2010-5-9 14:48:34 | 显示全部楼层
恩恩??
whereis  startx  看看有结果没?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-5-9 14:53:31 | 显示全部楼层
Post by fastrue;2088926
恩恩??
whereis  startx  看看有结果没?
谢谢!没结果阿!whereis startx  
                                startx:
回复 支持 反对

使用道具 举报

发表于 2010-5-9 14:59:29 | 显示全部楼层
奇怪了...
难道你没装x11-apps/xinit 这个包?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-5-9 15:07:36 | 显示全部楼层
Post by fastrue;2088931
奇怪了...
难道你没装x11-apps/xinit 这个包?
重新emerge了这两个包,不提示startx找不到了,又出来几个新的错误:
hostname: Unknown host
xauth:  creating new authority file /root/.serverauth.14750

/etc/X11/xinit/xserverrc: line 1: /usr/bin/X: No such file or directory
/etc/X11/xinit/xserverrc: line 1: exec: /usr/bin/X: cannot execute: No such file or directory
giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.
回复 支持 反对

使用道具 举报

发表于 2010-5-9 15:12:54 | 显示全部楼层
Post by GJghostjinger;2088932
重新emerge了这两个包,不提示startx找不到了,又出来几个新的错误:

这是一个包...

Post by GJghostjinger;2088932
hostname: Unknown host
xauth:  creating new authority file /root/.serverauth.14750

/etc/X11/xinit/xserverrc: line 1: /usr/bin/X: No such file or directory
/etc/X11/xinit/xserverrc: line 1: exec: /usr/bin/X: cannot execute: No such file or directory
giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.


原来你没安装xorg-server!!!
#emerge  xorg-server....  
参照:http://www.gentoo.org/doc/en/xorg-config.xml
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-5-9 16:10:31 | 显示全部楼层
很悲剧的还是不行阿!依然有那几个错误
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): Server error.
回复 支持 反对

使用道具 举报

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

本版积分规则

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