Robotics StackExchange | Archived questions

Gazebo not running even after installation

The following error shows up:

Error opening log file: "/root/.gazebo/gzserver.log" Error opening log file: "/root/.gazebo/default.log" Error opening log file: "/root/.gazebo/gzclient.log" Error opening log file: "/root/.gazebo/default.log" X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 154 (GLX) Minor opcode of failed request: 19 (X_GLXQueryServerString) Serial number of failed request: 12 Current serial number in output stream: 12

Asked by samvrit on 2014-09-21 04:09:37 UTC

Comments

What version of Gazebo are you using, and how did you install gazebo?

Asked by nkoenig on 2014-09-22 17:47:08 UTC

Answers

Have you tried:

source /opt/ros/your-ros-version/setup.bash

before executing gazebo?

I had that issue once and it was because I was not sourcing the correct bash file.

Asked by Alberto Romay on 2014-09-24 02:44:56 UTC

Comments

Sourcing ROS should not have anything to do when fixing standalone gazebo.

Asked by Jose Luis Rivero on 2014-09-30 18:40:43 UTC