4

When I run Nautilus with sudo, gksudo or Alt+F2, I get this error message:

Initializing nautilus-gdu extension

** (nautilus:2352): WARNING **: Failed to get the current CK session: GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '2352'

(nautilus:2352): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

** (nautilus:2352): CRITICAL **: nautilus_directory_file_monitor_add: assertion `NAUTILUS_IS_DIRECTORY (directory)' failed

(nautilus:2352): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(nautilus:2352): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(nautilus:2352): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(nautilus:2352): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

** (nautilus:2352): CRITICAL **: nautilus_directory_get_uri: assertion `NAUTILUS_IS_DIRECTORY (directory)' failed

Any idea why?

Isaiah
  • 59,344

2 Answers2

0

Try installing gnome-user-share and see if that helps.

If Nautilus still doesn't start try this solution:

  1. Open a terminal (in Unity or Gnome)
  2. Then type sudo mkdir /usr/share/nautilus-scripts
  3. Enter your password and then hit Enter
Isaiah
  • 59,344
0

Even if you fix this, there remains a problem with calling nautilus in sudo/gksudo/Open with administrative privileges:

Nautilus will remain in memory even when you close the root window, regardless what command-line options it gets, there is a --no-daemon or --no-fork option missing ever since.

I'd recommend using a different file-manager for root tasks, thunar from xfce for example.

aquaherd
  • 6,220