You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone! I am using Docker on Ubuntu 20.04. Also, I am using the ROS Noetic Image in Docker. (because I am practicing with Docker). I use 'docker pull ros:noetic' to install ros:noetic image.
I'm going to explain the steps I follow to open a GUI application like RVIZ:
I create a docker containner with the image of ros:noetic with 'docker run -it ros:noetic
When I am inside te containner, y use 'source /opt/ros/noetic/setup.bash', then I run 'sudo apt-get update'.
When this has finalized, I run 'sudo apt-get install ros-noetic-rviz' to install RVIZ
After that, I run roscore with 'roscore'
Then, I open a new terminal and I use 'docker exec -it (containner name) bash
I repeat 'source /opt/ros/noetic/setup.bash' in this containner and then I run 'rosrun rviz rviz'
And here is the error:
qt.qpa.xcb: could not connect to display
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.
Hello everyone! I am using Docker on Ubuntu 20.04. Also, I am using the ROS Noetic Image in Docker. (because I am practicing with Docker). I use 'docker pull ros:noetic' to install ros:noetic image.
I'm going to explain the steps I follow to open a GUI application like RVIZ:
qt.qpa.xcb: could not connect to display
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: dxcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
I see some issues like this but it didn't give me the solution...
(I am a begginer in this)
The text was updated successfully, but these errors were encountered: