Auto-start - executable

I have developed a software that handles two camera inputs and is used a bit as a monitoring system, the program is built in c++ and opencv and compiled as an executable.

My questions are as follows:

  1. How to auto-start an executable during boot?
  2. Is it possible to start without the graphical tx2 interface loaded?

I hope someone can point me in the right direction, have searched a lot on this forum but did not find anything specific.

Best regards

  1. I don’t think you need to dig into such question only on this forum. This is a ubuntu system, so you could check something similar on the google search. What ubutnu 18.04 would work should also work on jetson too.
  1. Are you trying to ask “if your program can run under non-graphic mode” or “how to put tx2 into non-graphic mode”?

A suggestion for a test: If you can ssh in to the TX2, without the “-X” or “-Y” options, and execute your program without a “DISPLAY is not set” error, then you know your program does not rely on the GUI. Options for starting the program without a GUI become much more practical if this is the case.