gazebo failed to open x window?

asked 2021-11-02 16:05:40 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi, ive downloaded gazebo11 and using ubuntu 18.04 WSL2. However when even i use the command 'gazebo' im expecting it to launch the gazebo software. However it just waits a second and then goes onto the next line in the terminal and doesnt seem to do anything. There are no errors shown.

When using 'gazebo --verbose' it returns: [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.

I am very new to ros2 and coding in general. Wondered if anyone had an idea on whats going wrong here! If it helps i follwed this youtube video to get set up :

Many thanks, Shea.

edit retag flag offensive close merge delete