Cannot use rviz under docker
Hi,
I downloaded ros:indigo-ros-core-trusty from dockerhub and installed rviz for indigo. But I cannot start rviz in the new terminal. I have tried the method from http://wiki.ros.org/docker/Tutorials/GUI . But rviz still does not work.
The error is like this:
...
libGL error: failed to load driver: swrast
libGL error: failed to load driver: swrast
rviz::RenderSystem: error creating render window: std::exception
[ WARN] [1539299284.774409653]: OGRE EXCEPTION(2:InvalidParametersException): Window with name 'OgreWindow(0)' already exists in GLRenderSystem::_createRenderWindow at /build/buildd/ogre-1.8-1.8.1+dfsg/RenderSystems/GL/src/OgreGLRenderSystem.cpp (line 1038)
...
Could anyone help me ?