# Error initializing setup deepstream 5 on jetson tx2 and xavier nx

**URL:** <https://forums.developer.nvidia.com/t/error-initializing-setup-deepstream-5-on-jetson-tx2-and-xavier-nx/149276>\
**Category:** Deep Learning (Training & Inference)\
**Tags:** nvbugs, docker\
**Created:** [August 28, 2020, 1:51pm UTC](https://forums.developer.nvidia.com/t/error-initializing-setup-deepstream-5-on-jetson-tx2-and-xavier-nx/149276 "2020-08-28T13:51:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarcialHS](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/marcialhs/32/27065_2.png) [@MarcialHS](https://forums.developer.nvidia.com/u/MarcialHS)\
**Post date:** [August 28, 2020, 1:51pm UTC](https://forums.developer.nvidia.com/t/error-initializing-setup-deepstream-5-on-jetson-tx2-and-xavier-nx/149276/1 "2020-08-28T13:51:33Z")

</div>

I am trying to execute the pipeline that comes from test in the Deepstream 5 container, doing the following steps:

> **[Deepstream 5 nvidia steps](https://docs.google.com/document/d/17XvGpUqm_LeiRQpx8mPtxlj6UrYR7rTSvLeFWwyrtow/edit?usp=sharing)**
>
> docker pull nvcr.io/nvidia/deepstream-l4t:5.0-20.07-samples 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...

And i get this error.

> **[error 1](https://docs.google.com/document/d/14R13SS2M52ITpzR33vILg4MeMnscfe1ZxHTnDHkyz8I/edit?usp=sharing)**
>
> deepstream-app -c configs/deepstream-app-trtis/source30\_1080p\_dec\_infer-resnet\_tiled\_display\_int8.txt No protocol specified nvbuf\_utils: Could not get EGL display connection No protocol specified No EGL Display nvbufsurftransform: Could not get EGL...

( Sorry for the links, but the forum wouldn’t let me post if I didn’t do it this way )

Does anyone know how to fix it? Do I need an extra step? any configuration?  
Currently I have Jetpack 4.4 installed, and the card I work with is a jetson tx2 and a jetson xavier NX (the same thing happens with both).

Greetings and thanks in advance.

---

<div class="post-metadata">

**Author:** ![zhliunycm2](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/zhliunycm2/32/15508_2.png) [@zhliunycm2](https://forums.developer.nvidia.com/u/zhliunycm2)\
**Post date:** [October 8, 2020, 6:39pm UTC](https://forums.developer.nvidia.com/t/error-initializing-setup-deepstream-5-on-jetson-tx2-and-xavier-nx/149276/2 "2020-10-08T18:39:18Z")

</div>

Hi MaricalHS:

We see that the ERROR is:

No protocol specified  
No EGL Display

This happens when a display is not connected and/or the X11 server is not running. Details on how to make sure X is running with proper `DISPLAY` variable is here:  
in DeepStream FAQ - [NVIDIA Metropolis Documentation](https://docs.nvidia.com/metropolis/deepstream/faq/index.html)  
under:“Q. How can I display graphical output remotely over VNC? How can I determine whether X11 is running?”

If you are running over SSH, to gain access to DISPLAY:  
export DISPLAY=:0  
xhost +
