Open EzraBrooks opened 2 months ago
Hmmm is this fallout from https://github.com/space-ros/docker/pull/147? I think Rocker used to handle this
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
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