LinuxSir.cn,穿越时空的Linuxsir!

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

利用synaptic装了一个软件后(忘了是哪个)重启进不了x

[复制链接]
发表于 2006-8-9 21:41:45 | 显示全部楼层 |阅读模式
装的时哪个软件实在是想不起来了,抱歉!以下是出现的一些错误。
尝试打开x时出现的错误如下:
X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating Systeminux 2.6.12-1-686 i686
Current Operating System: Linux debian 2.6.8-2-386 #1 Thu May 19 17:40:50 JST 2005 i686
Build Date: 16 March 2006
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
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/Xorg.0.log", Time: Wed Aug  9 18:26:22 2006
(==) Using config file: "/etc/X11/xorg.conf"
error opening security policy file /etc/X11/xserver/SecurityPolicy  //没找到这个文件
(EE) xf86OpenSerial: Cannot open device /dev/input/mice
        No such device.
(EE) Configured Mouse: cannot open input device
(EE) PreInit failed for input device "Configured Mouse"
No core pointer

Fatal server error:
failed to initialize core devices

/home/npr/.xsession-error如下:(npr为用户名)
/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/gdm/PreSession/Default: running: /usr/X11R6/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers" -h "" -l ":0" "npr"
/etc/gdm/Xsession: Beginning session setup...
SESSION_MANAGER=local/debian:/tmp/.ICE-unix/3861

** (gnome-session:3861): WARNING **: Could not start esd: Failed to execute child process "/usr/bin/esd" (没有那个文件或目录)


** (gnome-session:3861): WARNING **: Esound failed to start.

Gnome-Message: gnome_execute_async_with_env_fds: returning -1
Gnome-Message: gnome_execute_async_with_env_fds: returning -1

(nautilus:3965): gnome-vfs-modules-WARNING **: Could not initialize inotify

** Message: File monitoring not supported in the compiled version of gnome-vfs: bookmarks won't be monitored.

(gnome-panel:3963): gnome-vfs-modules-WARNING **: Could not initialize inotify

无法打开面板启动器的 desktop 文件 epiphany.desktop
无法打开面板启动器的 desktop 文件 evolution.desktop

FCITX -- Get Signal No.: 15
FCITX -- Exit Signal No.: 15

窗口管理器警告:丢失到显示“:0.0”的连接;
可能是 X 服务器已关闭或者您杀死/摧毁了
窗口管理器。
The application 'gnome-terminal' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application 'gnome-panel' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application 'nautilus' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
发表于 2006-8-10 03:14:24 | 显示全部楼层
Post by npr
装的时哪个软件实在是想不起来了,抱歉!以下是出现的一些错误。
尝试打开x时出现的错误如下:
X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating Systeminux 2.6.12-1-686 i686
Current Operating System: Linux debian 2.6.8-2-386 #1 Thu May 19 17:40:50 JST 2005 i686
Build Date: 16 March 2006
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
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/Xorg.0.log", Time: Wed Aug  9 18:26:22 2006
[color="Red"](==) Using config file: "/etc/X11/xorg.conf"
error opening security policy file /etc/X11/xserver/SecurityPolicy
(EE) xf86OpenSerial: Cannot open device /dev/input/mice
        No such device.
(EE) Configured Mouse: cannot open input device
(EE) PreInit failed for input device "Configured Mouse"
No core pointer

Fatal server error:
failed to initialize core devices

/home/npr/.xsession-error如下:(npr为用户名)
/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/gdm/PreSession/Default: running: /usr/X11R6/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers" -h "" -l ":0" "npr"
/etc/gdm/Xsession: Beginning session setup...
SESSION_MANAGER=local/debian:/tmp/.ICE-unix/3861

** (gnome-session:3861): WARNING **: Could not start esd: Failed to execute child process "/usr/bin/esd" (没有那个文件或目录)


** (gnome-session:3861): WARNING **: Esound failed to start.

Gnome-Message: gnome_execute_async_with_env_fds: returning -1
Gnome-Message: gnome_execute_async_with_env_fds: returning -1

(nautilus:3965): gnome-vfs-modules-WARNING **: Could not initialize inotify

** Message: File monitoring not supported in the compiled version of gnome-vfs: bookmarks won't be monitored.

(gnome-panel:3963): gnome-vfs-modules-WARNING **: Could not initialize inotify

无法打开面板启动器的 desktop 文件 epiphany.desktop
无法打开面板启动器的 desktop 文件 evolution.desktop

FCITX -- Get Signal No.: 15
FCITX -- Exit Signal No.: 15

窗口管理器警告:丢失到显示“:0.0”的连接;
可能是 X 服务器已关闭或者您杀死/摧毁了
窗口管理器。
The application 'gnome-terminal' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application 'gnome-panel' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application 'nautilus' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
Try to reconfigure your mouse port and see if it works.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-15 19:10:18 | 显示全部楼层
How can I reconfigure my mouse port ?
I use dpkg-reconfigure xserver-xorg ,using default setting .
but there is no effect.The same error still exist!
Could you give me a detailing method?
Thank you !
回复 支持 反对

使用道具 举报

发表于 2006-8-15 19:24:13 | 显示全部楼层
好像你的 /dev/input/mice 找不到。
你在控制台下测试一下 /dev/input/mice 能用否。
我的测试方法:

  1. $ apt-get install gpm
  2. $ /etc/initr.d/gpm start
复制代码

看看鼠标能否起来

顺便有个挺好玩的东西
$ cat /dev/input/mice

本帖子中包含更多资源

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

x
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-15 20:25:42 | 显示全部楼层
首先谢谢你热心的答复.
但是我在apt-get install gpm时,通过菜单选择配置(均选了默认的)后
提示:/dev/input/mice 没有那个设备
不知道是为什么?
请指教!
谢谢...
回复 支持 反对

使用道具 举报

发表于 2006-8-15 20:48:17 | 显示全部楼层
$ lsmod |grep mouse
psmouse                40004  0

有这个么?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-15 20:51:02 | 显示全部楼层
没有,是:
#lsmod |grep mouse
#psmouse 17000  0
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-15 20:57:03 | 显示全部楼层
我再次尝试startx后,出错信息如下:
(==) Using config file: "/etc/X11/xorg.conf"
error opening security policy file /etc/X11/xserver/SecurityPolicy
(EE) xf86OpenSerial: Cannot open device /dev/input/mice
        No such device.
(EE) Configured Mouse: cannot open input device
(EE) PreInit failed for input device "Configured Mouse"
No core pointer

Fatal server error:
failed to initialize core devices
XIO: fatal IO error 104(connection reset by peer) on X server":0.0"
        after 0 requests (0 known processed) with 0 events remaining.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-16 23:16:24 | 显示全部楼层
这个问题我在重新编译kernel后已经解决了。
谢谢个位的关注!
回复 支持 反对

使用道具 举报

发表于 2006-8-17 08:48:07 | 显示全部楼层
犯不著编译内核吧
回复 支持 反对

使用道具 举报

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

本版积分规则

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