Skip to content

docker环境使用rviz问题 #34

Description

@yaoyaolove

在使用docker拉取镜像后,在容器中使用rviz出现问题。
docker exec -it liuyao /bin/bash
root@liuyao-Legion-Y9000P-IAH7H:/# cd home
root@liuyao-Legion-Y9000P-IAH7H:/home# rviz -d Visualization/vis.rviz
No protocol specified
qt.qpa.xcb: could not connect to display :1
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Aborted (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions