I am connecting to a Jetson Nano via SSH and I would like to run a camera, however, whenever I run gstreamer there is not display generated and I get this error: nvbuf_utils: Could not get EGL display connection
If I use the same command without SSH there is no issue opening the camera window.
I also get this error message :
Can’t open display:0. No protocol specified.
Hi, this happens because it can not find your display since you’re over SSH.
You can try exporting the DISPLAY variable like this:
export DISPLAY=:0
You can check the id with the xrandr command, it is usually 0 or 1.
Or you can also try using the -X option to enable X11 forwarding like this:
ssh -X <ip-addr>
You can find a similar question here:
Hope this helps.
Regards,
Marco Herrera
Embedded SW Developer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com/
Website: www.ridgerun.com
Hi,
Thanks for the answer. However, after running xrandr I get:
Invalid MIT-MAGIC-COOKIE-1 key keyError: Can’t open display: localhost:10
and also:
No protocol specified
Can’t open display:0
I also tried to export DISPLAY:1 but the error remained
Hi,
Can you try with the -X option for ssh?
Marco Herrera
Embedded SW Developer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com/
Website: www.ridgerun.com
That is also not working. After enabling forwarding with ssh -X and running streamer I get the same error message:

Hi,
Do you use Jetpack 4.6.3? We run the command on developer kit and do not observe the issue:
$ gst-launch-1.0 nvarguscamerasrc num-buffers=100 ! fpsdisplaysink video-sink=fakesink sync=0 -v
Please give it a try. If you use previous version, we would suggest upgrade to latest release.
Yes, it is running Jetpack 4.6.3
I still get the same error:
pablo@pablo-desktop:~$ gst-launch-1.0 nvarguscamerasrc num-buffers=100 ! fpsdisplaysink video-sink=fakesink sync=0 -v
PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused
nvbuf_utils: Could not get EGL display connection
I made sure to enable X11 forwarding in the remote server and also in puTTY.
Hi,
Please try without -X
We do ssh login and can run the command successfully. If you don’t do any customization, ideally it should work.