You need to run from desktop, or export display firstly from remote terminal export DISPLAY=:1 or 0 //xrandr to check if display export or not.
make sure you have monitor connected to the device.
i run export DISPLAY=":0" and deepstream-app -c source30_1080p_dec_infer-resnet_tiled_display_int8.txt in xshell, then it turn out:
No protocol specified
No protocol specified
No protocol specified
No protocol specified
No protocol specified
No protocol specified
** ERROR: <main:655>: Failed to set pipeline to PAUSED
Quitting
App run failed
i run export DISPLAY=:0 outside container, then the error miss, but it prints:
2022-01-05 02:52:23.359276: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.2
Now playing: /opt/nvidia/deepstream/deepstream-5.0/samples/streams/sample_720p.h264
Running...