Gazebo | Ignition | Community
Ask Your Question

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

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

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 [] Unable to create glx visual

Warning [] 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 [] 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

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

AndreiHaidu gravatar image

If you want to run it headless then use

$ gzserver
edit flag offensive delete link more

Question Tools

1 follower


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

Seen: 5,619 times

Last updated: Apr 22 '15