Could not connect to any X display when attempting rosrun turtlesim turtlesim_node
When I get to the point in the tutorial of inputting rosrun turtlesim turtlesim_node
I get the error message of
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
I'm relatively new to doing any sort of coding and have tried to a few different solutions suggested online but to no avail.
TIA
Asked by owilliams on 2022-07-07 09:26:07 UTC
Answers
in case anyone else is having the same issue, after a long while trying different solutions, installing Mobaxterm worked out for me finally
Asked by dieguito on 2023-05-13 18:33:14 UTC
Comments
can you please tell more how to use mobaxterm to solve this error im facing the same error
Asked by harry23 on 2023-07-29 01:35:23 UTC
Comments
I'd suggest describing your development environment a bit more. What sort of hardware are you using for instance? What OS? Windows? Linux (which one)? Are you remotely logging in over an SSH connection? Something else?
When asking for help on a forum (any forum, not just this one), it helps to be as clear as possible, in particular about what you observe, what you expect, and about the context in which what you observe happens/happened. That context would include versions of software used, operating systems, command you ran, commands you ran before the failing one, etc.
Once you add more of this information, I expect board members here to be able to help you better.
Asked by gvdhoorn on 2022-07-08 00:41:38 UTC