docker里执行gst-inpect-1.0 nvinfer
# No EGL Display
nvbufsurftransform: Could not get EGL display connection
MoTTY X11 proxy: Unsupported authorisation protocol
No EGL Display
nvbufsurftransform: Could not get EGL display connection
No such element or plugin 'nvinfer'
分析: 得不到xserver的支持,要用headless模式,用本地terminal执行 “xdpyinfo | grep name”得到一个数字,例如 name of display: :1,再执行 "export DISPLAY=:1 ",最后执行 "xhost + ", 正确的打印是 “access control disabled, clients can connect from any host”.