Do not use --enable-xhost-root
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gparted (Debian) |
Fix Released
|
Unknown
|
|||
gparted (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm filing this as a tracking bug.
Ubuntu does not wish to use the --enable-xhost-root option in gparted. This
ugly workaround was introduced upstream in
https:/
However, it only works because gparted still uses gtk2 and will stop working once it's ported to gtk3. That is because gtk3 apps benefit from native Wayland support, but gtk2 apps run under XWayland. xhost
won't help when X isn't used.
We do not want to encourage other apps to use this workaround. We do want to encourage gtk2 apps to switch to gtk3.
The proper fix is for gparted to run the GUI with normal permissions and use non-graphical PolicyKit helpers to perform the specific actions that need elevated permissions
Workarounds for affected users
=======
1. Log out. Click your name on the login screen then click the gear button and select Ubuntu on Xorg (or GNOME on Xorg). Enter your password.
2. Or, try using the GNOME Disks app (gnome-
Changed in gparted (Debian): | |
status: | Unknown → New |
Changed in gparted (Debian): | |
status: | New → Confirmed |
Changed in gparted (Debian): | |
status: | Confirmed → Fix Released |
I respectfully disagree with this decision.
Fortunately there are other distros that permit their users to seamlessly use GParted with GNOME and Wayland [1].
[1]: Fedora GParted Package /koji.fedorapro ject.org/ koji/buildinfo? buildID= 988102
https:/