在vscode中的docker中输入rviz不显示界面
-
root@efa611b85bf2:/home/zhy/opt/melodic# rviz
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
[ INFO] [1676810734.937935253]: rviz version 1.13.24
[ INFO] [1676810734.937973119]: compiled against Qt version 5.9.5
[ INFO] [1676810734.937981989]: compiled against OGRE version 1.9.0 (Ghadamon) -
@2205717020 在主机端输入xhost + ,重启下再试试
-
@小鱼 小鱼,还是不可以,在vscode中运行没有任何画面输出,但是我回到终端进入docker就可以了,不知道怎么回事
-
此回复已被删除! -
@小鱼 ```
连小乌龟的GUI界面也打不开,它还没显示报错turtle_teleop_key turtlesim_node root@130ad44f27d8:/home/zhy/opt/melodic# rosrun turtlesim turtlesim_node QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' [ INFO] [1677401710.288012716]: Starting turtlesim with node name /turtlesim [ INFO] [1677401710.291684054]: Spawning turtle [turtle1] at x=[5.544445], y=[5.544445], theta=[0.000000]
-
@小鱼 目前解决方案是重新安装了vscode即可解决,不知道是否有更好的办法
-
-