LinuxSir.cn,穿越时空的Linuxsir!

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

x server error,紧急求助!!

[复制链接]
发表于 2005-11-10 09:29:58 | 显示全部楼层 |阅读模式
昨天apt一个包,当时提示要改写一个和X相关的文件(/etc/X11/Xsession),因为时间不够,它在让我选择是否改写时我就退出安装然后关机了,今天再开机startx时提示:
etc/X11/X is not executable
Xint:Server error
然后dpkg --configure -a
出现昨天关机前的 改写/etc/X11/Xsession的提示
我就选了选用新文件覆盖旧的,结果好象把我的xfree86换成了xorg了

然后dpkg-reconfigure xserver-xorg
完成后还是不能启动X

xinit:connection refused(errno 111):unable to connetc to X server
xinit:no such process (errno 3):unexpected signal 2

没办法:
我就
apt-get remove --purge xserver-xfree86
apt-get remove --purge xserver-xorg
然后apt-get install xserver-xorg
dpkg-reconfigure xserver-xorg

startx仍然有错,说是找不到/etc/X11/Xsession

晕啊。。。
紧急求助,多谢!!
发表于 2005-11-10 09:52:21 | 显示全部楼层
你是已启动过Xwindow
我现在一直没法启动Xwindow
请教你开始安装的步骤,是不是中文的。我是英文的,中英文无所谓,谢谢!!
我的QQ:382390641
回复 支持 反对

使用道具 举报

发表于 2005-11-10 11:15:07 | 显示全部楼层
这个问题好像不好解决

我遇到过好多次了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-10 11:58:40 | 显示全部楼层
Post by skykingf
这个问题好像不好解决

我遇到过好多次了


不是吧,我可不想重新安装系统的啊。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-10 13:02:53 | 显示全部楼层
大侠们帮帮忙啊,找了置顶,也到网上找了资料,没有类似的问题啊
回复 支持 反对

使用道具 举报

发表于 2005-11-10 13:04:28 | 显示全部楼层
你看下你的/etc/X11/目录下有那些文件
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-10 13:37:39 | 显示全部楼层
Post by zlbruce
你看下你的/etc/X11/目录下有那些文件

提示里说的Xsession确实没有,所以不知道怎么解决啊

#ls
app-defaults
cursors
default-display-manager
fonts
gdm
rstart
X
xdg
XF86Config-4
XF86Config-4~
XF86Config-4.bak
xinit
xkb
xorg.conf
xorg.conf.200511100851
xorg.conf.200511100859
xorg.conf.200511100901
xorg.conf.200511100905
xorg.conf.200511100912
Xresources
xserver
Xsession.d
Xsession.dpkg-dist
Xsession.options
xsm
Xwrapper.config

#ls -l
总用量 96
drwxr-xr-x   2 root root 4096 2005-11-10 08:47 app-defaults
drwxr-xr-x   2 root root 4096 2005-10-02 12:05 cursors
-rw-r--r--   1 root root   13 2005-11-05 16:39 default-display-manager
drwxr-xr-x   7 root root 4096 2005-10-02 12:31 fonts
lrwxrwxrwx   1 root root    6 2005-11-05 16:39 gdm -> ../gdm
drwxr-xr-x   4 root root 4096 2005-11-10 08:47 rstart
lrwxrwxrwx   1 root root    9 2005-11-10 09:06 X -> /bin/true
drwxr-xr-x   3 root root 4096 2005-11-04 22:07 xdg
-rw-r--r--   1 root root 3562 2005-11-01 21:19 XF86Config-4
-rw-r--r--   1 root root 3100 2005-10-02 17:27 XF86Config-4~
-rw-r--r--   1 root root 3111 2005-10-02 20:32 XF86Config-4.bak
drwxr-xr-x   2 root root 4096 2005-11-10 08:58 xinit
drwxr-xr-x  10 root root 4096 2005-11-10 08:47 xkb
-rw-r--r--   1 root root 2773 2005-11-10 09:05 xorg.conf
-rw-r--r--   1 root root 3562 2005-11-10 08:51 xorg.conf.200511100851
-rw-r--r--   1 root root 2884 2005-11-10 08:59 xorg.conf.200511100859
-rw-r--r--   1 root root 2884 2005-11-10 09:01 xorg.conf.200511100901
-rw-r--r--   1 root root 2856 2005-11-10 09:05 xorg.conf.200511100905
-rw-r--r--   1 root root 2773 2005-11-10 09:12 xorg.conf.200511100912
drwxr-xr-x   2 root root 4096 2005-11-10 08:47 Xresources
drwxr-xr-x   2 root root 4096 2005-11-10 08:47 xserver
drwxr-xr-x   2 root root 4096 2005-11-10 08:47 Xsession.d
-rwxr-xr-x   1 root root 3906 2005-10-30 10:49 Xsession.dpkg-dist
-rw-r--r--   1 root root  265 2005-10-30 10:49 Xsession.options
drwxr-xr-x   2 root root 4096 2005-11-10 08:47 xsm
-rw-------   1 root root  771 2005-10-02 12:32 Xwrapper.config
回复 支持 反对

使用道具 举报

发表于 2005-11-10 13:51:25 | 显示全部楼层
把Xsession.dpkg-dist复制为Xsession试试。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-10 14:39:34 | 显示全部楼层
Post by zlbruce
把Xsession.dpkg-dist复制为Xsession试试。



没有用,仍然xinit:server error

要不麻烦谁给我传个Xsession,我试试
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-10 15:08:05 | 显示全部楼层
我发现系统刚启动时startx就提示:
xinit:connection refused(errno 111):unable to connetc to X server
xinit:no such process (errno 3):server error
以后再startx就提示:
xinit:server error

还有
#Xorg-configure提示:
couldn't open RGB_DB /usr/X11R6/lib/X11/rgb

我晕啊,现在只求在不重装整个系统的基础上解决这个问题,软件组件什么的怎么卸载都没关系,只要能启动X
回复 支持 反对

使用道具 举报

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

本版积分规则

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