Generally speaking, all (Wayland-capable) apps that currently run their
UI as root need to be restructured to use PolicyKit for the privileged
operations, and have the UI run as a normal user.

Apps that do not run on Wayland and use the legacy Xwayland compat, but
you need to run xhost +si:localuser:root first. gksu is apparently
broken because it assumes that there is an Xauthority file, but that's
not the case with XWayland (I'd assume it would work with pkexec, for
apps registered with PolicyKit, as a temporary workaround).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1713311

Title:
  Unable to launch applications which use su-to-root from menu package
  as root on Wayland session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bleachbit/+bug/1713311/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to