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.

Sep 252013
 

Before making any modification to any files, first create a backup of smb.conf file

sudo cp /etc/samba/smb.conf  /etc/samba/smb.conf.bak

The open the configuration file for editing:

sudo gedit /etc/samba/smb.conf

In the section identified as Share Definitions, insert this piece of code. The path string should be the path for folder you will be sharing. If you want others to have the ability to write to that directory –

sudo mkdir -p /path/to/shared/folder
sudo chown nobody.nogroup /path/to/shared/folder
[share]
    comment = Ubuntu File Server Share
    path = /path/to/shared/folder
    browsable = yes
    guest ok = no
    read only = no
    create mask = 0755

Once the configuration file has been saved, its time to restart the samba daemon

sudo restart smbd
sudo restart nmbd

Once the samba daemon has restarted, you need to add a list of users who can access samba folder.

sudo smbpasswd -a username

To access this directory from windows, open My Computer -> Tools -> Map Network Drive

Folder address for this share would be:

\\ip_address_of_your_server\share

NOTE: The folder is called share in the share definition. You can call it something else and edit the parameters based on the chosen share name.If you want to have access to this folder each time, make sure to save the password and check that option to reconnect at login.