Nvbuf_utils: Could not get EGL display connection (When not running locally via Desktop)

Hi all,

I’m using Jetpack 4.4 on my Jetson Nano, freshly imaged and having an issue running one of the demo apps.

As a direct console user (keyboard+mouse+monitor) If I runsudo docker run -it --rm --net=host --runtime nvidia -e DISPLAY=$DISPLAY -w /opt/nvidia/deepstream/deepstream-5.0 -v /tmp/.X11-unix/:/tmp/.X11-unix nvcr.io/nvidia/deepstream-l4t:5.0-20.07-samples

and execute the binary:

/bin/deepstream-demo -c .... everything works as expected.

If recreate the same steps, only over ssh -X it fails with the following messages recurring:

X11 connection rejected because of wrong authentication.
nvbuf_utils: Could not get EGL display connection
X11 connection rejected because of wrong authentication.
No EGL Display 

$DISPLAY over SSH returns localhost:10.0
$DISPLAY over direct returns :1

I’ve attempted to set this to :1 and :0 but with no luck.

Are there any additional binds/mounts we need to run this over SSH / Headless?

Thanks,

Hi,

I am sorry that we don’t support ssh -X in EGL based components.

Hi @WayneWWW - thanks for the prompt response.

I assume that because of this there is no way to remotely execute an instance of EGL based components (docker run, or in a Kubernetes manifest) and the only way is to have a direct, keyboard, mouse, monitor session to the Nano?

Yes, that is correct.