我正在使用 ubuntu 14.04 LTS。有时当我启动计算机时,它会显示
系统错误,Natilus 停止工作。
当我sudo nautilus
从终端输入时,它显示
(nautilus:4260): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: 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.
这可能是个问题吗?如果是,我该如何解决?
答案1
打开终端窗口并逐个复制/粘贴这些命令:
sudo apt-get remove nautilus
sudo apt-get install nautilus
sudo apt-get install samba
答案2
Nautilus 正在寻找 Samba,但似乎尚未安装
安装 samba
sudo apt-get install samba