However, running the container normally (docker run -it tello1 bash) also produces the same result,
[gazebo-1] [Msg] Waiting for master.
[gazebo-1] [Msg] Connected to gazebo master @ http://127.0.0.1:11345
[gazebo-1] [Msg] Publicized address: 172.17.0.2
[gazebo-1] [Wrn] [GuiIface.cc:298] Couldn't locate specified .ini. Creating file at "/root/.gazebo/gui.ini"
[gazebo-1] [Err] [RenderEngine.cc:749] Can't open display:
[gazebo-1] [Wrn] [RenderEngine.cc:89] Unable to create X window. Rendering will be disabled
[gazebo-1] [Wrn] [RenderEngine.cc:292] Cannot initialize render engine since render path type is NONE. Ignore this warning ifrendering has been turned off on purpose.
[gazebo-1] [Wrn] [GuiIface.cc:120] could not connect to display
[gazebo-1] [Msg] Could not load the Qt platform plugin "xcb" in "" even though it was found.
[gazebo-1] [Err] [GuiIface.cc:124] This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
[gazebo-1]
[gazebo-1] Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Running this package in a docker container Built the dockerfile and ran the container using
docker run -td --privileged --net=host --ipc=host \ --name="tello12" \ --gpus=all \ -e "DISPLAY=$DISPLAY" \ -e "QT_X11_NO_MITSHM=1" \ -v "/tmp/.X11-unix:/tmp/.X11-unix:rw" \ -e "XAUTHORITY=$XAUTH" \ -e ROS_IP=127.0.0.1 \ -e NVIDIA_DRIVER_CAPABILITIES=all \ --cap-add=SYS_PTRACE \ tello1 bash
However, running the container normally (docker run -it tello1 bash) also produces the same result,
[gazebo-1] [Msg] Waiting for master. [gazebo-1] [Msg] Connected to gazebo master @ http://127.0.0.1:11345 [gazebo-1] [Msg] Publicized address: 172.17.0.2 [gazebo-1] [Wrn] [GuiIface.cc:298] Couldn't locate specified .ini. Creating file at "/root/.gazebo/gui.ini" [gazebo-1] [Err] [RenderEngine.cc:749] Can't open display: [gazebo-1] [Wrn] [RenderEngine.cc:89] Unable to create X window. Rendering will be disabled [gazebo-1] [Wrn] [RenderEngine.cc:292] Cannot initialize render engine since render path type is NONE. Ignore this warning ifrendering has been turned off on purpose. [gazebo-1] [Wrn] [GuiIface.cc:120] could not connect to display [gazebo-1] [Msg] Could not load the Qt platform plugin "xcb" in "" even though it was found. [gazebo-1] [Err] [GuiIface.cc:124] This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. [gazebo-1] [gazebo-1] Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.