netbrain / zwift

Easily zwift on linux
The Unlicense
265 stars 28 forks source link

Use xhost on non-Wayland systems only #16

Closed quietvoid closed 1 year ago

quietvoid commented 1 year ago
  1. 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.
  2. 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.

netbrain commented 1 year ago

Looks good to me. Thank you for this!