On Windows, can't run turtlesim despite having downloaded X-launchers
I'm on Windows trying to run ROS melodic on WSL, specifically Ubuntu 18.04 LTS as that's the only version that supports melodic. Whenever I try to run
rosrun turtlesim turtlesim_node
I always get an error saying:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
qt.qpa.screen: QXcbConnection: Could not connect to display localhost:0.0
Could not connect to any X display.
I have tried installing multiple different X-launchers, specifically XMing and VcXsrv. I always get the same error even after starting the launchers up (note that I only had one installed at a time; I didn't have XMing installed when using VcXsrv). Could an issue be that I am not booting up the X-launchers correctly? I don't have access to a Linux machine, so I can only use my Windows device. Is there anyone who can help with this issue? It's hard for me to do anything without being able to see the simulators.
Did you set Display to 0?