Thanks @dino99 for the workaround. I get some errors about gtk widget,
but nautilus opens.
**************** Commands and errors ***********
$ xhost +si:localuser:root
localuser:root being added to access control list
$ pkexec nautilus
sys:1: PyGIWarning: Nautilus was imported without specifying a version first.
Use gi.require_version('Nautilus', '3.0') before import to ensure that the
right version gets loaded.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
(nautilus:2687): Gtk-CRITICAL **: gtk_widget_show: assertion
'GTK_IS_WIDGET (widget)' failed
** (nautilus:2687): CRITICAL **: setup_side_pane_width: assertion
'priv->sidebar != NULL' failed
** (nautilus:2687): WARNING **: Unable to get contents of the bookmarks
file: Error opening file /root/.gtk-bookmarks: No such file or directory
** (nautilus:2687): WARNING **: Unable to get contents of the bookmarks
file: Error opening file /root/.gtk-bookmarks: No such file or directory
************* End commands and errors ***********
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1710918
Title:
pkexc nautilus error
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/1710918/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs