Disable Workspace Locking on Mac OS

I am trying to connect to a remote linux drive which is mounted and accessible via finder without problem.
When loading Nsight (v5) I keep getting ‘Workspace in use or cannot be created, choose a different one’.

After some googling I found the command line -Dosgi.locking=none to disable locking in eclipse but this does not appear to work on nsight.

Is there an equivalent commend line, or even better a setting somewhere to disable the lock file.
Many thanks

I was able to do this by running:

nsight -vmargs -Dosgi.locking=none

or you can add it to ${CUDA_TOOLKIT}/libnsight/nsight.app/Contents/MacOSX/nsight.ini.

I would strongly discourage you from doing this though. This may result in unstable IDE behavior or even cause the loss of data. I would suggest having separate workspaces and using local Git repository (you don’t even need to setup a server for this) to move changes between platforms.