当前位置: 首页>>技术问答>>正文


Nautilus没有开放,显示GLib错误

, , ,

问题描述

当我从终端启动nautilus时,会打印以下错误并且nautilus无法打开。

(nautilus:25179): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed

(nautilus:25179): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed
Could not register the application: Timeout was reached

(nautilus:25179): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(nautilus:25179): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(nautilus:25179): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

可能是什么问题呢??

最佳解决方法

ask.fedoraproject.org中的cortopy答案,对我有用。

I’ve been experiencing a similar problem today, only I couldn’t open nautilus at all. So I’m wondering if this is due to some recent update clash.

This isn’t a likely solution, but at least it allows me to carry on as normal.

First thing to try is sudo nautilus in a terminal. If it works, then it may mean that there is something wrong with active nautilus processess for your current user.

To be able to restart nautilus properly, do the following:

  1. See what nautilus processes are running :
    ps aux | grep nautilus
  2. Kill all nautilus processes you see :
    sudo kill PIDNUMBER
  3. Restart nautilus :
    nautilus -q

次佳解决方法

请输入终端:

sudo killall nautilus && (nautilus &)

完成。这里有报道:Nautilus does not start

参考资料

本文由Ubuntu问答整理, 博文地址: https://ubuntuqa.com/article/1773.html,未经允许,请勿转载。