I have just started learning ros from the tutorial given in their website. Tutorial link As i am using windows I wanted to learn in Ubuntu. So i am using docker version of the ros. but now while running

rosrun turtlesim turtlesim_node

the following response i am getting is

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
[ INFO] [1705785514.877814756]: Starting turtlesim with node name /turtlesim
[ INFO] [1705785514.882275854]: Spawning turtle [turtle1] at x=[5.544445], y=[5.544445], theta=[0.000000]

But unfortunately i am unable to get the display. Initially as the node was not running i used export QT_QPA_PLATFORM=offscreen

is docker the issue her for not being able to see the GUI? How can i enable the display ?

Note before this i was facing this error



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.