Error: couldn't open display [IP ADDRESS] on WSL 2 with Ubuntu 20.04

I am having issues displaying glxgears or any other GUI application, like Gazebo or rviz.

I have VcXsrv as my windows X server for WSL2 with Ubuntu 20.04. I followed this link for instructions: , but this is the end result:

Error: couldn't open display

Any Ideas?

3 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like