this pr adds xhost +SI:localuser:root to exec-once, allowing gparted, timeshift and other xwayland apps running as root to open.
what xhost +SI:localuser:root does is it allows the local user root to access the xwayland display of the logged in user, which gparted needs as it runs as root under xwayland.
it fixes this message when trying to run gparted under wayland:
Authorization required, but no authorization protocol specified
cannot open display: :0
this pr adds
xhost +SI:localuser:root
toexec-once
, allowing gparted, timeshift and other xwayland apps running as root to open. whatxhost +SI:localuser:root
does is it allows the local userroot
to access the xwayland display of the logged in user, which gparted needs as it runs as root under xwayland.it fixes this message when trying to run gparted under wayland: