I kept getting seg faults/core dumps when trying to open GUI apps while ssh-ing into my machine (Ubuntu 16.04.1 LTS, gtx1070 with driver version 375.26). The fix for this is to symbolically link the nvidia-provided libGLX_indirect shared object file (/usr/lib/nvidia-375/libGLX_indirect.so.0) to /usr/lib/x86_64-linux-gnu.
[See: Open GUI apps on a Ubuntu 16.04 machine via SSH from an Ubuntu 14.04 machine - Ask Ubuntu ]
I hope this helps anybody that’s running into the same issue I was.