-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using ZWIFT_UID/ZWIFT_GID in Docker does not work under wayland #114
Comments
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.
The text was updated successfully, but these errors were encountered: