segfault when selecting a folder in Ubuntu 22.10 using sudo nautilus causing nautilus to close

Bug #1994058 reported by Gustavo Alberto Peña Oliva
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The error appears using sudo nautilus and selecting any folder or location what causes it to kill sudo nautilus
making it close

(org.gnome.Nautilus:47066): GLib-GIO-CRITICAL **: 15:06:54.827: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed
Violación de segmento (segfault in English)

Tags: nautilus
tags: added: nautilus
description: updated
description: updated
summary: segfault when selecting a folder in Ubuntu 22.10 using sudo nautilus
+ causing nautilus to close
Revision history for this message
Himanshu (sh4mbh0) wrote :

Crashes the window while selecting the folder/drive using command sudo nautilus

(org.gnome.Nautilus:5431): GLib-GIO-CRITICAL **: 17:00:36.324: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed
Segmentation fault

Revision history for this message
Coeur Noir (coeur-noir) wrote :

Why using sudo nautilus at first ?

It won't work in wayland and it's expected.

It may work in xorg but not advised.

Maybe better try

pkexec nautilus

?

sudo has never been intended for launching graphical applications.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks but indeed graphical sofwares aren't meant to be working with sudo

Changed in nautilus (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.