salut
je me loggue sur une machine avec ssh -X machin@192.168.0.2
quand je tape
pkexec /sbin/gparted
j’obtiens
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ====
Authentication is needed to run `/sbin/gparted' as the super user
Authenticating as: machin
Password:
==== AUTHENTICATION COMPLETE ====
(gpartedbin:2418): Gtk-WARNING **: 01:14:32.642: cannot open display:
mais quand je tape
pkexec /usr/sbin/gparted
==== AUTHENTICATING FOR org.gnome.gparted ====
Authentication is required to run the GParted Partition Editor as root
Authenticating as: machin
Password:
==== AUTHENTICATION COMPLETE ====
(gpartedbin:2745): dbind-WARNING **: 01:15:10.978: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/1000/at-spi/bus_0: Aucun fichier ou dossier de ce nom
GParted 1.6.0
configuration --enable-libparted-dmraid --enable-online-resize
libparted 3.6
différence :
- org.freedesktop.policykit.exec ====
Authentication is needed to run `/sbin/gparted’ as the super user - org.gnome.gparted ====
Authentication is required to run the GParted Partition Editor as root
remarquez aussi le caractère spécial devant /sbin
Evidemment j’ai :
lrwxrwxrwx 1 root root 8 11 janv. 2025 sbin -> usr/sbin
quelqu’un peut m’expliquer?
