Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RenderEngine.cc:89] Unable to create X window. Rendering will be disabled #70

Open
nicko369 opened this issue Jun 11, 2023 · 0 comments

Comments

@nicko369
Copy link

nicko369 commented Jun 11, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant