xhost +local:

“xhost +local:” allows running programs with root permission on Wayland.