
いくつかの項目を削除するためにルート権限で開きました。Nautilus
入力するとSudo nautilus
、特定のウィンドウが開きましたが、次のようなエラーもいくつか表示されました。
meego@meego-Notebook-PC:~$ sudo nautilus
[sudo] password for meego:
Initializing nautilus-gdu extension
** (nautilus:5579): WARNING **: Failed to get the current CK session: GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '5579'
(nautilus:5579): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
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.
** (nautilus:5579): WARNING **: Could not inhibit power management: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.SessionManager" does not exist
** (nautilus:5579): WARNING **: Could not inhibit power management: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.SessionManager" does not exist
これらは一体何を意味するのでしょうか?
答え1
root
これらのことについて気にする必要はありません。これらはエラーではなく警告です。おそらく、ユーザーに現在セッションがなく、 としてログインしていないことが原因ですroot
。したがって、これらのメッセージは無視してください。
このようなメッセージは削除できます(あなたが望むなら) を実行するには、gksu nautilus
コマンド実行ウィンドウでコマンドを実行します。 を押すと、コマンドがalt+f2
1 つ表示されます。
ターミナルウェイ
次のように入力すると、エラーメッセージなしでターミナルでルートアクセスで Nautilus を開くことができます
sudo -i nautilus &> /dev/null
。ここで、エラーメッセージは別の出力デバイスにリダイレクトされますが、これは単に null または何も表示されません。この答え多くのための