伙计们,我将我的 ubuntu 从 16.04 升级到 17.04,遇到了这个问题。我的桌面图标不见了,nautilus 每次都崩溃,我无法打开文件,因为文件窗口会在几秒钟后关闭,一切看起来都很奇怪。我从 16.04 升级到 16.10 时遇到了这个问题,现在我在 17.04 中遇到了同样的问题。我该如何纠正这个问题?提前谢谢
编辑1 我在终端中运行 nautilus 并收到如下错误:
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: mkdir failed on directory /var/run/samba/msg.lock: Permission denied
net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
(nautilus:26501): GVFS-WARNING **: can't init metadata tree /home/prashant/.local/share/gvfs-metadata/home: open: Permission denied
**
ERROR:nautilus-canvas-container.c:6032:finish_adding_new_icons: assertion failed: (!container->details->auto_layout)
Aborted (core dumped)
答案1
如果您尝试以 root 身份运行 Nautilus,您会发现问题在于读取 ~Home/.local/share/gvfs-metadata/home,以及 Gnome 经典之外的任何主题的问题。从终端或通过加载其他文件管理器(如 Dolphin)设置权限以允许 root 读取所含目录中的所有文件后,您可能仍会收到以下错误:
** (nautilus:9776): 警告 **: 无法计算 _NET_NUMBER_OF_DESKTOPS
** (nautilus:9776): 警告 **: 无法计算 _NET_NUMBER_OF_DESKTOPS
** (nautilus:9776): 警告 **: 无法获取 _NET_WORKAREA
** (nautilus:9776): 警告 **: 无法确定工作区域,猜测布局 ** 错误:nautilus-canvas-container.c:6032:finish_adding_new_icons:断言失败:(!container->details->auto_layout)中止(核心转储)
从 ~Home 目录中删除 .config,然后运行 Nautilus 后,它会提示您重新创建目录 ~Home/.config/nautilus。这应该可以修复 Nautilus。唯一的问题是,这会破坏编辑壁纸的能力,并且图标仍然不可用。