Comment 4 for bug 1652857

Revision history for this message
Paulo Fino (finomeno) wrote :

Hi,

polkit or not, some solution will have to be found eventually as Wayland will phase out X. Developers have made it clear they don't think running GUI apps as root is a good idea, so they won't support it any longer. See https://bugzilla.redhat.com/show_bug.cgi?id=1274451#c62

For now, it seems the easiest, yet somewhat insecure, workaround is using "xhost si:localuser:root" before running gufw, gparted or any other GUI app that still relies on direct root access, and then using "xhost -si:localuser:root" (notice the "-") to revoke root's right to access your local user's X session.