Compute Visual Profile issue: (through ssh)

Tesla 2070
sdk/toolkit 4.0.17

From my work station, I can ssh into the remote system and access the compute visual profiler GUI. I then attempt to profile my app which is saved on that remote system and immediately get the following:

=== Start profiling for session ‘Session1’ ===
Start program '/mphase/users2/bkoop/sincos/2scalar_ib.cu ’ run #1
Program run #1 failed, exit code: 255
Error in program execution.

I dont know where to start to trouble shoot. Any ideas?
Also, I have seen warnings about changing the x config options. Where can this be done?
Thanks.