As wanted to free up all the unnecessary resources. Gone to headless mode with below two command
sudo systemctl enable multi-user.target sudo systemctl set-default multi-user.target
Now after reboot SSH’ed to the nano and trying to run the deepstream-app with only RTSP sink enabled but getting below issue
No EGL Display
nvbufsurftransform: Could not get EGL display connection
Tried setting export DISPLAY=:0[or 1] also but of no help.
Please let me know if anything I missed !!