I was hoping or some advice…
I’m using a Jetson TX1 and remotely debugging it using NSight. My objective is to be able to debug the the JetsonHacks GPIO application using NSight (http://www.jetsonhacks.com/2015/12/29/gpio-interfacing-nvidia-jetson-tx1/).
The GPIO application requires ‘root’ to use /sys/… files which is part of the application. Is there a way to instruct/setup NSight to run as ‘root’ when debugging remotely? The issue I am getting is “Permission denied” when trying to access “/sys/class/gpio/export”.
I’m not entirely sure what’s “best practice” for this, I’ve changed ownership of the ‘sys/’ folder to the default ‘ubuntu’ user of the Jetson (NSight uses the ubuntu hostname when debugging), and that worked with the debugger. However, I imagine that’s not best practice and I’d like to do it the appropriate way.
Any information or recommendations are greatly appreciated.