FS#51421 - [gnome-shell] GParted does not run under GNOME Wayland
Attached to Project:
Arch Linux
Opened by Mark Blakeney (bulletmark) - Monday, 17 October 2016, 23:44 GMT
Last edited by Jan de Groot (JGC) - Sunday, 09 July 2017, 22:09 GMT
Opened by Mark Blakeney (bulletmark) - Monday, 17 October 2016, 23:44 GMT
Last edited by Jan de Groot (JGC) - Sunday, 09 July 2017, 22:09 GMT
|
Details
Description:
If you start GParted from the GNOME dock/overview then an authentication window pops up but after entering your password nothing more is seen. Looking in the journal, the following errors are found: gparted.desktop[6174]: No protocol specified gpartedbin[6283]: cannot open display: :0 Which is also what you see if you run it at the command line via "sudo gparted". So this is the fundamental issue https://bugzilla.gnome.org//show_bug.cgi?id=772875 but surely it is a bug that gparted is still provided with a desktop launcher under Wayland? Note, gparted can be run using sudo if you do a "xhost +local:" before it. |
This task depends upon
Closed by Jan de Groot (JGC)
Sunday, 09 July 2017, 22:09 GMT
Reason for closing: Won't fix
Additional comments about closing: As the redhat/fedora report: won't fix. Software in user Wayland sessions can't run as root without hacks.
Sunday, 09 July 2017, 22:09 GMT
Reason for closing: Won't fix
Additional comments about closing: As the redhat/fedora report: won't fix. Software in user Wayland sessions can't run as root without hacks.
Unfortunately, given that the "solution" requires a major re-write of gparted and other UI apps that run as root, it won't get fixed in the short term.
That bug reference points out that "xhost si:localuser:root" is slightly more restrictive than "xhost +local:" and so is a better work-around.