我使用的是 Ubuntu 12.04 LTS(32 位)。当我在终端中运行“sudo nautilus”命令时,出现以下输出:
tushar@tushar-G41M-Combo:~$ sudo nautilus
[sudo] password for tushar:
Initializing nautilus-gdu extension
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.
但我仍然可以编辑“文件系统”中的文件夹和文件。关闭窗口后,终端中会出现以下输出:
tushar@tushar-G41M-Combo:~$ sudo nautilus
[sudo] password for tushar:
Initializing nautilus-gdu extension
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.
Shutting down nautilus-gdu extension
tushar@tushar-G41M-Combo:~$
此错误信息的原因是什么?为什么会出现“失败”和“错误”?如何修复此错误?
答案1
gksu nautilus
从命令行打开像 nautilus 这样的 GUI 会是一个更好的方法。
尝试一下!