LinuxSir.cn,穿越时空的Linuxsir!

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

Nautilus无法启动,错误信息如下,高手们怎么办?

[复制链接]
发表于 2005-10-21 19:29:47 | 显示全部楼层 |阅读模式
Nautilus can't be used now ,due to an unexpxpected error.
\点击Details后,出现Nautilus can't be used now ,due to an unexpxpected error from OAF when attempting to locate the factory.Killing oafd and restarting Nautilus may help fix the problem ,高手们,谢谢了,我该怎么办?
发表于 2008-3-30 22:30:34 | 显示全部楼层

参考解决办法

http://www.linuxfans.org/bbs/thread-163518-1-1.html
这里有一篇帖子,虽然不是你说的问题,但是应该可以参考一下,和你的问题类似

引用:

584         /* Get the shell object. */
585         if (message == NULL) {
586             shell = bonobo_activation_activate_from_id (SHELL_IID, 0, NULL, NULL);
587             if (!CORBA_Object_is_nil (shell, &ev)) {
588                 break;
589             }
590
591             /* If we couldn't find ourselves it's a bad problem so
592              * we better stop looping.
593              */
594             if (result == Bonobo_ACTIVATION_REG_SUCCESS) {
595                 break;
596                 /* FIXME bugzilla.gnome.org 42538: When can this happen? */
597                 /*message = _("A____Nautilus can't be used now, due to an unexpected error.");
598                 detailed_message = _("Nautilus can't be used now, due to an unexpected error "
599                              "from Bonobo when attempting to locate the factory."
600                              "Killing bonobo-activation-server and restarting Nautilus may help      fix the problem.");*/
601             } else {
602                 num_failures++;
603                 if (num_failures > 20) {
604                     message = _("Nautilus can't be used now, due to an unexpected error.");
605                     detailed_message = _("Nautilus can't be used now, due to an unexpected error      "
606                                  "from Bonobo when attempting to locate the shell object. "
607                                  "Killing bonobo-activation-server and restarting Nautilus may h     elp fix the problem.");
608
609                 }
610             }
就是这段代码出的问题, 我把result==Bonobo_ACTIVATION_REG_SUCCESS的那个消息注释了, 然后直接break, 现在就没有问题了.
回复 支持 反对

使用道具 举报

发表于 2008-3-30 22:53:44 | 显示全部楼层

再给个参考

再给个参考:以下是oaf的解释:

The GNOME Object Activation Framework.

OAF is the new Object Activation Framework for GNOME. OAF has a similar purpose to gnorba, the GNOME 1.x CORBA activation library, and will replace it for GNOME 2.0.

It allows you to do much more powerful activation queries than gnorba. Each server is described by an XML file that defines its attributes. When querying or activating, one may specify complex requirements using the OAF query language.

——另外,再谈一下bonobo-activation-serve与nautilus的错误,提示信息如下:

Nautilus can't be used now, due to an unexpected error from Bonobo when attempting to locate the factory. Killing bonobo-activation-server and restarting Nautilus may help fix the problem.

这是个bug,
这是因为在登录到图形界面之前,bonobo-activation-server已经在运行——这是因为上次退出的时候bonobo-activation-server没有被正常的kill掉。

具体的解决办法是——
在用ctrl+alt+backspace重启x之前,先手动kill掉bonobo-activation-server

killall bonobo-activation-server

若是进入x之后出现的错误,则先kill掉 bonobo-activation-server,再重启nautilus,命令如下:

killall bonobo-activation-server
killall nautilus
nautilus & disown

以下是原文链接以及描述:

https://bugs.launchpad.net/ubunt ... -session/+bug/49594


Bug description [edit]

I edit the description of this bug to reflect recent discovery.

After the first sucessfull login, X is restarted using Ctrl+Alt+Backspace or due to a crash, or sometimes even due to normal logout, then either logins don't work anymore, or you can login, but popups warn you that the settings daemon cannot be reached, and the overall aspect of the session changes.

In the first case, the login name/password are accepted by gdm but gnome hangs on load after the login. This does not affect TTY or SSH logins. Restarting X again with Ctrl+Alt+Backspace, but the issue persists. All the users that have logged in at least once can't start the graphical session anymore. In both cases, killing bonobo-activation-server manually from a tty before login, solves the problem.
回复 支持 反对

使用道具 举报

发表于 2009-6-19 10:54:22 | 显示全部楼层
05年就有的错误,我今年遇到了,这个bug还没有修复么

囧rz    似乎和显卡驱动有关系??  装了显卡驱动后才出现的
回复 支持 反对

使用道具 举报

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

本版积分规则

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