eXTReMe Tracker
Oct 052016

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

* NOTE: Following one of the comment posted on there, I must add that your particular driver version may vary from the one I used (nvidia-360.42). Please use the version number you have on your machine.

As soon as this link is created all the applications start launching successfully.

  3 Responses to “VNC Segmentation Fault on Ubuntu 16.04/Linux Mint 18”

  1. This has been driving me crazy. I went so far as to buy an AMD RX460 to get around this problem. Now I can go back to my Nvidia 950 which I greatly prefer!

    On Ubuntu 16.04 with nvidia-367 the link changes slightly:

    sudo ln -s /usr/lib/nvidia-367/libGLX_nvidia.so /usr/lib/x86_64-linux-gnu/libGLX_indirect.so.0

    Zip-zop everything works again.

    Thank you. Thank you. Thank you.

  2. Perfect solution.
    Of course people should use their own version numbers – on my system as of today it was libGLX_nvidia.so.367.57

  3. Thank you for your comments folks. I’ve updated my post to say that people should use their appropriate driver versions for the symbolic links.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>



This site uses Akismet to reduce spam. Learn how your comment data is processed.