Skip to content
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

docker: pass $DISPLAY variable and enable X11 forwarding #23559

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Martin-Schlodinski
Copy link

Solved Problem

When using the docker_run.sh it wasn't possible to start Gazebo without modifying the parameters passed to docker run inside the script.

This PR allows running Gazebo out of the box without any manual file changes.

Solution

  • Add DISPLAY environment to docker
  • Mount X11 folders to docker

Context

image

@Martin-Schlodinski Martin-Schlodinski changed the title docker: pass DISPLAY variable and enable X11 forwarding docker: pass $DISPLAY variable and enable X11 forwarding Aug 16, 2024
mrpollo
mrpollo previously approved these changes Aug 16, 2024
Tools/docker_run.sh Outdated Show resolved Hide resolved
Co-authored-by: Daniel Agar <daniel@agar.ca>
@github-actions github-actions bot added the stale label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants