Installed Nano Headless, how do I forward -X?

I’m trying to run some deepstream demos on a headless nano install and i’m getting “Could not get EGL display connection”.

I’ve seen other posts with that error, but I’m not getting anywhere following their fixes and i’m wondering if some plumbing is missing because it’s a headless install.

$:/opt/nvidia/deepstream/deepstream-4.0/bin$ ./deepstream-test1-app ../samples/streams/sample_720p.h264 
nvbuf_utils: Could not get EGL display connection
One element could not be created. Exiting.

$:/opt/nvidia/deepstream/deepstream-4.0/bin$ echo $DISPLAY

I tried setting DISPLAY to :0 and :1, but it didn’t help

I believe currently there no headless method if you want to render something to remote device.

Verified RDP server can work well.However, EGL seems not support RDP backend.