ROS & Docker: Unable to get rqt to start
Hi!
Every time I try to start rqt or rviz I get the following string of errors:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
dbus[1795]: The last reference on a connection was dropped without closing the connection. This is a bug in an application. See dbus_connection_unref() documentation for details.
Most likely, the application was supposed to call dbus_connection_close(), since this is a private connection.
D-Bus not built with -rdynamic so unable to print a backtrace
zsh: abort (core dumped) rqt
The docker container is given as
sudo docker run -it --env "DISPLAY" --env="QT_X11_NO_MITSHM=1" --device=/dev/dri:/dev/dri --net=host --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" --name ros_main_test ros:melodic-ros-core-bionic
I started roscore.
Installed ros-melodic-desktop-full, Qt5, Qt4, xserver-xorg, and a few other packages
Checked the docs and was following this for intel: http://wiki.ros.org/docker/Tutorials/GUI http://wiki.ros.org/docker/Tutorials/Hardware%20Acceleration
glx gears work fine, but I cannot launch rqt.
Anyone have any ideas on what I can do?
Asked by ea-testing on 2020-05-12 01:57:40 UTC
Comments
I was able to get rqt working in docker with the docker-nvidia extensions installed. If you have an nvidia card did you also setup those extensions?
Asked by guru_florida on 2020-12-05 00:04:20 UTC
Hi @guru_florida, is it possible to start it without a nvidia card?
Asked by snice on 2021-04-26 10:58:56 UTC
I believe so. If you can run glxinfo and it shows 3D acceleration you should be good to go. In any case, you should be able to run rqt with software acceleration even, you just might have performance trouble in Rviz or Gazebo. Unfortunately, I can't really help here since I'm setup with nvidia.
Asked by guru_florida on 2021-04-26 21:28:23 UTC