Gazebo | Ignition | Community
Ask Your Question

Error running gzserver from an ubuntu server.

asked 2017-11-22 11:15:29 -0500

billybilly gravatar image

So I'm trying to run a Gazebo server from an Ubuntu 16.04 instance, with no GUI.

when I run gzserver --verbose it outputs my ip settings (port 11345) and then this:

[Err] [] Can't open display:

[Wrn] [] Unable to create X window. Rendering will be disabled

[Wrn] [] Cannot initialize render engine since render path type is NONE. Ignore this warning ifrendering has been turned off on purpose.

If I try and connect to it from another machine the client will output Exception sending a message for a while and then both the client and the server will output something like Aborted (core dumped).

Also, I tried running the server from an Ubuntu instance with a GUI. I didn't get the same [Err] and [Wrn] messages, but it still did the whole core dumped stuff.

Question 1: Can you run gzserver without a GUI?

Question 2: Any help on how to run a server like this? I haven't seen a tutorial on this exactly.

Thanks much!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-11-23 14:50:06 -0500

Jose Luis Rivero gravatar image

It is possible to run gazebo without a physical screen but you probably want a display in order to get rendering capabilities. You can use the graphic card headless or launch a virtual display, check the options to configure headless gazebo.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-11-22 11:15:29 -0500

Seen: 3,764 times

Last updated: Nov 23 '17