Skip to content

When running Nautilus from a Root Terminal, start it silently and immediately give the prompt back

starting nautilus from a root terminal is resulting in that error message :

(nautilus:7225): 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-wipe-Message: Initializing

** (nautilus:7225): CRITICAL **: Another desktop manager in use; desktop window won't be created

** (nautilus:7225): CRITICAL **: nautilus_menu_provider_get_background_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed

** (nautilus:7225): CRITICAL **: nautilus_menu_provider_get_background_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed

then nautilus is started. when closing the window, the terminal doesn’t give the prompt back.

when I tested it, I get this issue using the root terminal and a normal terminal (with ‘sudo nautilus’). but a few minutes later, I couldn’t reproduce the error anymore.

Feature Branch: feature/12034-improve-ux-of-nautilus-in-root-terminal

Related issues

Original created by @goupille on 12034 (Redmine)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information