-
Notifications
You must be signed in to change notification settings - Fork 105
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
iCub_SIM simulator not work in docker robotology/icub #501
Comments
Not completely sure but @diegoferigo might be of some help in this respect. |
Can you please post how you create the container? If you want to use GUIs, you need to instruct docker how to access the host's Xserver. |
Thanks, @diegoferigo. I guess it must be the reason you mentioned so i made some configurations according to can-you-run-gui-apps-in-a-docker-container. But it is still not work so maybe i will try setup on my ubuntu system rather than docker. |
There are many ways to share Xserver. Don't do complicated ways, here you can find an old setup of my ROS image. Now I switched to a more secure way, but the command you find in the link is the easiest way to get it working. |
I had some time to look into this issue, and with the image you have I managed to get $ xhost +local:root
$ docker run -it --rm \
-e DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix:rw \
robotology/icub \
iCubGui
$ xhost -local:root The image works out-of-the-box for intel-based machines. If your laptop has an Nvidia card (as mine) you need a more complex configuration, which involves |
How can create image in icub simulator please help me in code |
Hello bro!
I have downloaded the docker file by
docker pull robotology/icub
command,and it is work well when i runyarpserver
but when i runiCub_SIM
,i got the error below:Is it because of docker?
Waiting for response,thanks!
The text was updated successfully, but these errors were encountered: