Nsight Systems remote profiling

Hi,

I’m looking to do some profiling of workloads on the DGX Spark using the Nsight Systems tool. I’ve installed the Nsight Systems GUI app on my Macbook but when I try to connect to a Spark via SSH, I get the error “No root access: Superuser (sudo) access is required on this target, but is not available. Make sure the user has sudo access and try again”. The user I am SSHing with does have sudo access but when I use sudo locally on the Spark, I am prompted to enter the password for this user.

I see from this post in the Jetson forum that SSHing as root works in this situation. However, I would rather not open the root account for remote access, so I would like to use my existing user account, which has the required sudo access. Any advice on how to get this working would be greatly appreciated.

Thanks in advance,

Martin