红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

ubuntu启动不了x server

发布时间:2008-09-04 10:52:17来源:红联作者:zhjbond
又一次,进不去系统。连登陆界面也没有出来。

用ssh登陆,可以查看启动信息。

查看/var/log/Xorg.0.log,前面没发现异常,最后一行(II) VMWARE(0): VMMOUSE DEVICE_OFF/CLOSE

登陆界面信息月文件/etc/X11/Xorg.conf有关,重新配置,重启动,分辨率降低了,还是跳不过去登陆界面。

先进去系统看看,修改/etc/gdm/gdm.conf

[daemon]
# Automatic login, if true the first attached screen will automatically logged
# in as user as set with AutomaticLogin key.
AllowRoot=false---------------------------》ture
AutomaticLoginEnable=false-----------------------------》ture
AutomaticLogin=--------------------------》写安装时的用户名,或者root

进到x界面了,但是有两个提示错误的框框:分别提示:

Nautilus can't be used now, due to an unexpected error.

Nautilus can't be used now, due to an unexpected error from Bonobo when attempting to register the file manager view server.
The panel has encountered a fatal error
The panel could not register with the bonobo-activation server (error code: 3) and will exit.
It may be automatically restarted.

确实,桌面什么图标都没有起来。显然跟我改automatically启动有关。

记得昨天安装些库后,gedit不能正常启动了:报的提示信息有:

(gedit:1905): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
gedit: symbol lookup error: /usr/lib/libxml2.so.2: undefined symbol: gzopen64

据说这是因为/usr/local/lib下的libz.*库所引起的。

试一试的态度:我把该路径下的libz.*都重命名。

reboot

启动过程正常,一路ok。

看到登陆界面了,进入,一切还原到昨天。
文章评论

共有 7 条评论

  1. 实尾岛 于 2013-05-21 11:24:29发表:

    我的也是启动不了startx图形界面,是因为我把/etc/X11/X的脚本文件给删除了,所以到处找办法解决的,网上的资料太少了,无从下手的……

  2. 实尾岛 于 2013-05-21 11:24:27发表:

    我的也是启动不了startx图形界面,是因为我把/etc/X11/X的脚本文件给删除了,所以到处找办法解决的,网上的资料太少了,无从下手的……

  3. 实尾岛 于 2013-05-21 11:24:23发表:

    我的也是启动不了startx图形界面,是因为我把/etc/X11/X的脚本文件给删除了,所以到处找办法解决的,网上的资料太少了,无从下手的……

  4. 实尾岛 于 2013-05-21 11:24:19发表:

    我的也是启动不了startx图形界面,是因为我把/etc/X11/X的脚本文件给删除了,所以到处找办法解决的,网上的资料太少了,无从下手的……

  5. 实尾岛 于 2013-05-21 11:24:12发表:

    我的也是启动不了startx图形界面,是因为我把/etc/X11/X的脚本文件给删除了,所以到处找办法解决的,网上的资料太少了,无从下手的……

  6. luominglei 于 2013-05-07 18:07:02发表:

    不错

  7. 于 2013-05-05 10:57:40发表:

    就是这个办法,我网上找了一圈,结果发现这个办法才管用.