We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
run.sh
any
Pulled from Docker Hub
all
FastRTPS
N/A
Attempt to run the demos without modifying your X ACLs using xhost
xhost
X11 should be able to authenticate
X11 does not authenticate because it doesn't have access to the Xauthority.
The fix is to add something like -v $XAUTHORITY:/.Xauthority -e XAUTHORITY=/.Xauthority to the docker run command.
-v $XAUTHORITY:/.Xauthority -e XAUTHORITY=/.Xauthority
docker run
X11 connection rejected because of wrong authentication.
The text was updated successfully, but these errors were encountered:
Mount Xauthority into Docker containers (#173)
a8b90ca
Hmmm is this fallout from #147? I think Rocker used to handle this
Sorry, something went wrong.
Weirdly, the only mention of Xauthority I can find in Rocker's codebase is in specifically its NVIDIA compatibility layer.
So, maybe not?
in any case I think it is great idea to make running containers GUI-ready by default
Successfully merging a pull request may close this issue.
Operating System
any
Installation type
Pulled from Docker Hub
Version or commit hash
all
RMW Implementation
FastRTPS
Client library (if applicable)
N/A
Steps to reproduce issue
Attempt to run the demos without modifying your X ACLs using
xhost
Expected behavior
X11 should be able to authenticate
Actual behavior
X11 does not authenticate because it doesn't have access to the Xauthority.
The fix is to add something like
-v $XAUTHORITY:/.Xauthority -e XAUTHORITY=/.Xauthority
to thedocker run
command.Backtrace or Console output
The text was updated successfully, but these errors were encountered: