@3037974118 在 在vscode里面的终端一键下载的ROS,下载的时候没有问题,但是测试运行小乌龟就不行,而且电脑系统重装之前可以一切没问题重装之后就不行了 中说:
aurora_borealis@DESKTOP-4KV591G:~$ rosrun turtlesim turtlesim_node
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-aurora_borealis'
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
aurora_borealis@DESKTOP-4KV591G:~$
主机终端 xhost +