Nautilus无法打开,显示GLib错误


58

当我从终端启动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

可能是什么问题呢??

Answers:


68

cortopyask.fedoraproject.org中的答案对我有用

我今天遇到了类似的问题,只是我根本无法打开鹦鹉螺。所以我想知道这是否是由于最近的一些更新冲突。

这不是一个可行的解决方案,但至少它使我能够正常进行。

首先要尝试的是sudo nautilus在终端中。如果有效,则可能意味着当前用户的活动Nautilus进程出了点问题。

为了能够正确重新启动Nautilus,请执行以下操作:

  1. 查看正在运行哪些nautilus进程:
    ps aux | grep鹦鹉螺
  2. 杀死所有看到的鹦鹉螺进程:
    须藤杀死PIDNUMBER
  3. 重新启动nautilus:
    鹦鹉螺-q

3
有用,但这是一种解决方法,但不是真正的答案……
Pisu

21

请输入终端:

sudo killall nautilus && (nautilus &)

做完了
这是在这里报告的:Nautilus无法启动


1
确实对我有帮助,并且为我提供了更好的解决方案)
Maxim Akristiniy

每当鹦鹉螺停止工作时,我还必须不时执行此操作。
Salvatorelab

是的,这只是暂时性的解决方法
Benny

0

对我来说,是这样的:我可以用打开Nautilus

sudo nautilus

因此,我杀死了所有鹦鹉螺进程:

ps aux | grep nautilus
sudo kill <PID>

尝试过:

nautilus -q

并得到:

(nautilus:4918): GVFS-WARNING **: can't init metadata tree /home/user/.local/share/gvfs-metadata/home: open: Permission denied

因此,我检查了每个文件夹的允许量:

ls -la /home/user/ | grep .local
ls -la /home/user/.local/ | grep share
ls -la /home/user/.local/share/gvfs-metadata/ | grep home

文件夹home由root拥有,所以我这样做了:

sudo chown -R user:user /home/user/.local/share/gvfs-metadata/home
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.