Ubuntu登录X桌面异常

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
cl8588
帖子: 25
注册时间: 2007-11-28 10:52

Ubuntu登录X桌面异常

#1

帖子 cl8588 » 2009-09-22 9:48

Ubuntu登录X桌面异常,表现为登录后黑屏,只显示一个鼠标及输入法(见图)
1.jpg
2.jpg
请教了,试过坛子中的一些方法,如重装Gnome等,均不可
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: Ubuntu登录X桌面异常

#2

帖子 eexpress » 2009-09-22 9:56

重装gnome干嘛。
是个人配置有问题。
你新建一个帐号进去试试,就明白了。
具体的,看~/.xsession-errors
● 鸣学
cl8588
帖子: 25
注册时间: 2007-11-28 10:52

Re: Ubuntu登录X桌面异常

#3

帖子 cl8588 » 2009-09-22 16:34

eexpress 写了:重装gnome干嘛。
是个人配置有问题。
你新建一个帐号进去试试,就明白了。
具体的,看~/.xsession-errors
我新建了个用户登录还是这样
我查看了~/.xsession-errors文件,其内容如下:
===============
/etc/gdm/Xsession:Beginning session setup...
setting IM through im-switch for locale=zh_CN.
Start IM through /home/michael/.xinput.d/zh_CN linked to /etc/X11/xinit/xinput.d/fcitx.
===============

执行sudo startx则:
===============
sauth: error in locking authority file /home/michael/.Xauthority
sauth: error in locking authority file /home/michael/.Xauthority
sauth: error in locking authority file /home/michael/.Xauthority
sauth: error in locking authority file /home/michael/.Xauthority

X: warning; process set to priority -1 instead of requested priority 0

Fatal server error:
Server is already active for display 0
If this server is no longer running,remove /tmp/.XO-lock
and start again.

Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.

ddxSigGiveUp: Closing log
Invalid MIT-MAGIC-COOKIE-L keygiving up.
xinit: Resource temporarily unavailable (errno 11): unable to connect to X server
xinit: No such process (errno 3): Server error.
xauth: error in locking authority file /home/michael/.Xauthority
===============
cl8588
帖子: 25
注册时间: 2007-11-28 10:52

Re: Ubuntu登录X桌面异常

#4

帖子 cl8588 » 2009-09-24 12:31

up & up
头像
cnkilior
论坛版主
帖子: 4984
注册时间: 2007-08-05 17:40

Re: Ubuntu登录X桌面异常

#5

帖子 cnkilior » 2009-09-24 18:00

3楼所示:
1、桌面启动失败,但X启动成功了。X启动成功的理由就是看到了鼠标。
2、sudo startx必定是失败的。这个命令是手动启动X的命令。失败的原因是X已经成功启动了。
3、如果没有什么特别的配置的话,有一下推荐操作。
重新配置一下gnome桌面的全部软件。

代码: 全选

for i in $(dpkg -l|awk '{print $2}'|grep ^gnome);do   sudo dpkg-reconfigure $1; done 
或者删除由.g开头的文件(夹)。
i2000s
帖子: 220
注册时间: 2007-12-28 21:20

Re: Ubuntu登录X桌面异常

#6

帖子 i2000s » 2010-07-14 7:42

ls的法子不管用啊。。。
求解:

我是装完ibus 1.3.7及zlib后右键点击输入法不能进入选项卡,管理菜单中也不能启动ibus的设置窗口。重启后只到达登陆界面前的那个界面,没有登录用户选项出现。

进入终端后运行命令:startx
提示错误:
Fatal server error:
Server is already active for display 0
If this server is no longer running,remove /tmp/.XO-lock
and start again.

Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.

ddxSigGiveUp: Closing log
Invalid MIT-MAGIC-COOKIE-L keygiving up.
xinit: Resource temporarily unavailable (errno 11): unable to connect to X server
xinit: No such process (errno 3): Server error.


试图卸载ibus,终端中运行sudo apt-get remove ibus,提示:
dpkg:error processing ibus (--configure):
subprocess installed post-installation script returned error exit status 245
errors were encountered while processing:
ibus
E:sub-process /usr/bin/dpkg returned an error code (1)

运行sudo apt-get -f install或者sudo dpkg --configure ibus或者dpkg --configure -a,提示ibus没有安装完全,错误信息与上面类似。

咋办?谢谢!
回复