Display Issue:: PCL GUI :: Docker TensorRT Pre-built Image:: vtkXOpenGLRenderWindow (0x55cd77749870): bad X server connection. DISPLAY=Aborted

I have setup PCL libraries in the pre-built image of TensorRT.

I am trying to build and run the C++ application which has PCL library dependencies. we are using PCL library for GUI.

I am facing below error:

ERROR: In /build/vtk6-VHOYAG/vtk6-6.3.0+dfsg1/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx, line 1475
vtkXOpenGLRenderWindow (0x55cd77749870): bad X server connection. DISPLAY=Aborted (core dumped)

Environment

Docker Version: TensorRT Open Source Software
TensorRT Version:
GPU Type: Quadro P2000
Nvidia Driver Version:510.73.05
CUDA Version: 11.4
Operating System + Version: OS 18.04LTS
Python Version (if applicable): 3.6.9

Command to launch Docker:

./docker/build.sh --file docker/ubuntu-18.04.Dockerfile --tag tensorrt-ubuntu18.04-cuda11.4

Kindly help to resolve the same.

Thanks and Regards,
Vyom Mishra

Hi,

We recommend you to raise this query at https://github.com/NVIDIA/TensorRT/issues to get better help.

Thanks!