Hi,
Certain use-cases may not work well in headless setup. Would suggest set up RTSP/UDP to stream out the frame data. There is discussions about Argus and please check
Camera access in headless mode - #9 by DaneLLL
Is it possible to run a GStreamer pipeline in headless mode with the source plugin nvarguscamerasrc?