Gazebo | Ignition | Community
Ask Your Question
0

Running Gazebo on a headless OpenStack instance: "Unable to create glx visual"

asked 2015-04-21 12:27:37 -0600

Jordan gravatar image

I am trying to run Gazebo and the associated gazebo_ros package on a headless OpenStack instance, and using the gzweb software to access it through a browser. I do not need gzclient to be running on this instance at all. When I run the following command:

~$ gazebo

it shows the following error:

Error [RenderEngine.cc:680] Unable to create glx visual

Warning [RenderEngine.cc:88] Unable to create X window. Rendering will be disabled

Other similar questions on the ROS questions site (such as here and here) suggest using DISPLAY=:0, but when I add this into the command as follows:

DISPLAY=:0 gazebo

it gives me a different error:

Error [RenderEngine.cc:665] Can't open display: :0

Any suggestions on how to remedy this issue? Any help would be greatly appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-04-22 03:13:11 -0600

AndreiHaidu gravatar image

If you want to run it headless then use

$ gzserver
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-04-21 12:27:37 -0600

Seen: 5,643 times

Last updated: Apr 22 '15