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

How to display the simulation in my host while I run the docker image named "syllogismrxs/scrimmage:latest" #535

Open
LiuQiangOpenMind opened this issue Oct 20, 2021 · 2 comments

Comments

@LiuQiangOpenMind
Copy link

I have typed some command as follows:
docker run -it --entrypoint="/bin/bash" syllogismrxs/scrimmage:latest
source ~/.scrimmage/setup.bash
scrimmage ./missions/straight.xml
But the container report some errors as follows:
"ERROR: In /build/vtk7-yd0MKW/vtk7-7.1.1+dfsg2/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx, line 1497
vtkXOpenGLRenderWindow (0x55b6ebbe3e60): bad X server connection. DISPLAY=Aborted (core dumped)".
I want to display the simulation on my host while I start the container related to "scrimmage".
By the way, vtk and xserver have installed on my host, and the version of nvidia dirver is 470.57.02.

@frazierbaker
Copy link
Collaborator

The docker image "syllogismrxs/scrimmage:latest" is not intended for visualizations. If you want visualizations, I recommend using this docker image https://hub.docker.com/r/multiplatformautonomy/vscrimmage-vnc

@kakiti3
Copy link

kakiti3 commented Jan 3, 2023

In case anyone happens to see this. Getting the same error on Ubuntu 22.04. Was able to use the image recommended by frazierbaker, but this runs a container in Ubuntu 18. Pretty sure has to do with how 22.04 handles display forwarding, but have not been able to figure out what's wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants