0

When I try to start root access to nautilus the following error appears

** (org.gnome.Nautilus:30348): WARNING **: 12:13:40.980: Error on getting connection: Failed to load SPARQL backend: Error spawning command line ?dbus-launch --autolaunch=1e3ab93feb7e49058bb4f0057359f389 --binary-syntax --close-stderr?: Child process exited with code 1

(org.gnome.Nautilus:30348): GLib-GIO-CRITICAL **: 12:13:40.996: g_dbus_connection_signal_unsubscribe: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(org.gnome.Nautilus:30348): GLib-GObject-CRITICAL **: 12:13:40.996: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(org.gnome.Nautilus:30348): GLib-GObject-CRITICAL **: 12:13:40.996: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
No protocol specified
Unable to init server: No se pudo conectar: Conexión rehusada

(org.gnome.Nautilus:30348): Gtk-WARNING **: 12:13:41.021: cannot open display: :0

How do I fix it?

  • 4
    What is your Ubuntu version and desktop environment? Are you using Wayland? – pomsky Aug 25 '19 at 17:30
  • 1
    Did you start it with sudo -H nautilus? – WinEunuuchs2Unix Aug 25 '19 at 17:39
  • 1
    I am using ubuntu 19.04 with wayland i, I have tried sudo -h nautilus and similarly prints the same error – אבישי אשל ויזואט Aug 25 '19 at 17:57
  • sudo -H nautilus or pkexec nautilus But I don't use wayland. – nobody Aug 25 '19 at 18:04
  • without using wayland the command starts perfectly does not print any open some way to solve using wayland.... – אבישי אשל ויזואט Aug 25 '19 at 18:09