Closed sHedC closed 1 month ago
Note: I was looking at the docker remap functionality, which may work in most cases extept Redhat and CentOS (for stupid reasons) I will test.
Does not work in Podman or Docker as can't pass over permissions to XAuthority or Xhost to the use ID's.
Don't think we should fix this, not sure what a use case would be. Wayland requires the host UID to have access to the correct resources or it can't start the window or access the audio.
Describe the bug When using for example "ZWIFT_UID=1200 ZWIFT_GID=1200 zwift" and running under wayland the window fails to open and it exist.
Note that this has always been an issue with this since implementation of the ZWIFT_UID option.
To Reproduce Steps to reproduce the behavior:
Expected behavior Open the XWayland window correctly
Screenshots N/A
Additional context The reason is that docker starts as root and re-assigns the /run/user/$ZWIFT_UID as the new user id, this fails to pass through to gosu user:user correctly and so wine is not able to open an xwindow as has no permissions for some reason.