ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

According to this page, X needs to have indirect GLX enabled to support remote applications that use OpenGL (which both rviz and Gazebo do). The answers on that page give two ways of enabling indirect GLX: starting the X server with the +iglx option, or adding the option to the server flags in xorg.conf:

Section "ServerFlags"
    Option "IndirectGLX" "on"
EndSection

Since you are using a Mac for your client, I assume you are using XQuartz. That means that how to set the flag is different from standard X.org. I did find one page that says it is enabled by default on versions up to 2.7.8, but that release was quite a while ago now. You can make sure it's on by changing the preferences like this:

defaults write org.macosforge.xquartz.X11 enable_iglx -bool true