首页 > 代码库 > “net usershare”返回错误 255

“net usershare”返回错误 255

1 错误描述

youhaidong@youhaidong:~$ sudo nautilus

(nautilus:4429): 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:4429): IBUS-WARNING **: The owner of /home/youhaidong/.config/ibus/bus is not root!
Nautilus-Share-Message: Called "net usershare info" but it failed: “net usershare”返回错误 255:net usershare: cannot open usershare directory /var/lib/samba/usershares. Error 没有那个文件或目录
Please ask your system administrator to enable user sharing.

2 错误原因


3 解决办法

“net usershare”返回错误 255