DeepStream nvdsosd fails on Jetson Orin Nano (headless mode) – “Could not get EGL display connection” / X11 authentication error

Hi everyone,

I am using Jetson Orin Nano running NVIDIA DeepStream SDK.

My device is running in headless mode (no HDMI monitor connected). I access it via SSH.

When I include nvdsosd in my pipeline, I get the following errors:

X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
nvbufsurface: Could not get EGL display connection
nvbufsurface: Can't get EGL display
libnvosd (1357):(ERROR) : Unable to map EGL Image

My Setup

  • Board: Jetson Orin Nano

  • DeepStream version: 7.0

  • JetPack version: R36

  • Running in headless mode (no physical display attached)

  • Access via SSH (without -X/-Y)

  • DISPLAY is set to :0

  1. DeepStream does not support X11-forward, try to unset DISPLAY, then use fakesink replace the nv3dsink.

  2. If you want to use remote desktop through VNC, please refer to this FAQ.

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks.