Most of GTK applications in Linux Mint 18 (Sarah) load properly when you are using your computer locally. However if you connect to your server via VNC most of the GTK applications fail to launch when you click on their icons or launchers. If you try to load them from the terminal, you get a bunch of errors followed by a “segmentation fault”. This includes applications such as gedit, firefox, gThumb, Virtualbox, etc. Many of these are commonly used when connected via VNC using MATE session.
The error can be traced back to where it says ” cannot find libGLX_indirect.so.0″. If you use Nvidia proprietary libraries you can symbolically link the libGLX_nvidia.so.361.42 file which serves the function of the missing file.
There is a good description and discussion about this on the Ubuntu bugs forum in a thread titled All gtk applications Segfault via VNC with 16.04
The workaround for this is to create a symbolic link for the proprietary nvidia file in /usr/lib/x86_64-linux-gnu.
sudo ln -s /usr/lib/nvidia-361/libGLX_nvidia.so.361.42 /usr/lib/x86_64-linux-gnu/libGLX_indirect.so.0
As soon as this link is created all the applications start launching successfully.