Totalview® for HPC Reference Guide : PART III Platforms and Operating Systems : Chapter 10 Operating Systems : Troubleshooting Mac OS X Installations : Remotely Debugging without Console Access
Remotely Debugging without Console Access
If you want to debug a remote machine to which you do not have console access, you can try the following procedure:
1. Install Xquartz and TotalView on the remote machine, and then perform the following steps on that remote machine:
2. Allow X11 forwarding in the sshd_config file (disabled by default).
3. Make sure every user who might need to debug is in the _developer group.
4. Type: DevToolsSecurity -enable.
5. Type: sudo security authorizationdb write system.privilege.taskport allow.
The last step above is necessary to allow the launching of TotalView when not on the console.