How to setup jetson nano for headless operation with deepstream

Is there an official guide to running the nano headless with deepstream. I see a lot of posts where you have to connect a monitor and set display parameters.

If we do this:

$ sudo systemctl disable gdm3
$ sudo systemctl set-default


Will that work ok with deepstream (obviously without using the overlay or egl sink)?

In our "L4T Accelerated GStreamer User Guide " (Version 31.1) in Jetpack download center - , or you can simply open it by link -

There is below recommended command to disable X11
sudo systemctl stop gdm sudo loginctl terminate-seat seat0

So that will make it go straight to a terminal in boot? No Ubuntu desktop? The section of the document you are referring to also states that those commands are to enable multiple overlay windows on the jetson tx2.

I’m after the recommended way to run deepstream in a nano without a screen or keyboard connected and without Ubuntu desktop taking up so much ram.

sorry, to make it boot with text mode after power cycle, below command is needed to switch the Run level to 3, i.e. (and is a symbolic link to

$ sudo systemctl set-default

for such ubuntu configuration, Jetson UBunbut follows the commot ubuntu.

overlaysink works fine with x disabled. You don’t even need to log in. Just ssh in and launch your app. Gst-play automatically chooses the right sink as well.

This works on Nano just fine. I have mine connected to a TV and do remote development with PyCharm and VsCode Insiders (both use ssh). Tested this setup with Xavier as well.

If you want to run entirely without a screen you can set up some kind of network sink and that works.

Thanks @mdegans and @mchi.

Thanks @mdegans!