Warning: Insufficient privileges to start the profiling session. Use root privileges

Every time I try to do remote profiling with Nsight eclipse on the jetson tx2 I get the next warning:

Warning: Insufficient privileges to start the profiling session. Use root privileges

And my application does not run properly since it stops before launching any kernel. I have tried nvprof directly in the jetson terminal and I get the same bahavior

I have the same problem

This link could help you:

THANK YOU for this, I was struggling with nvprof and cuda-memcheck not working on my Jetson nano and this was the problem.
Am I expecting too much that this should work out of the box?