Closed iche033 closed 10 months ago
Oh this is interesting. @clalancette was testing Gazebo with Wayland, but in Docker. We ended up using xhost + local:
before docker run
. Maybe this is different, or maybe it's a less permissive way?
hmm I think the xhost cmd allows docker container to access X on host. It probably means the docker args for passing the DISPLAY, xauth, etc didn't work? I've done the xhost cmd before but saw that it's not safe according to http://wiki.ros.org/docker/Tutorials/GUI
It probably means the docker args for passing the DISPLAY, xauth, etc didn't work? I've done the xhost cmd before but saw that it's not safe according to http://wiki.ros.org/docker/Tutorials/GUI
🤔 Yeah... it's not safe. Will look into it... Thanks!
Related issue: https://github.com/gazebosim/gz-sim/issues/1934
Running Gazebo on Wayland may result in a crash with an error msg about missing current gl context. Updated the troubleshooting guide with a section on Wayland with the solution mentioned in https://github.com/gazebosim/gz-sim/issues/1934#issuecomment-1487694481 about unsetting the
WAYLAND_DISPLAY
env var and making gz use XWayland