On my system using xhost is not necessary at all. I don't think it's exclusive to XWayland though.
I've made it run only when not running Wayland but I don't think it's the "correct" thing to do.
docker does not have a unshare command, so I moved it to the podman condition.
Unfortunately I wasn't able to properly test on my side with podman.
I keep running into the container having issues accessing the config volume, regardless of rootless or not.
xhost
is not necessary at all. I don't think it's exclusive toXWayland
though. I've made it run only when not running Wayland but I don't think it's the "correct" thing to do.docker
does not have aunshare
command, so I moved it to thepodman
condition.Unfortunately I wasn't able to properly test on my side with
podman
. I keep running into the container having issues accessing the config volume, regardless of rootless or not.