jbohren/rosdocked

Can't open gazebosim within docker container

aried02 opened this issue · 1 comments

Whenever I attempt to run either "gazebo" or "rosrun gazebo_ros gazebo" I get an error:
Error [RenderEngine.cc:665] Can't open display: :0

as well as
gazeb: cannot connect to X server :0
/opt/ros/indigo/lib/gazebo_ros/gazebo: 39: kill: invalid signal number or name: SIGINT

I am pretty new to gazebo and ros, so let me know if the problem is on that side, however it appears that mounting X11/using the display is the problem.

I fixed it by following the instructions to opening GUI apps in docker found here: http://wiki.ros.org/docker/Tutorials/GUI