Ubuntu – system-config-samba not opening in Ubuntu 14.10. & 15.04

networkingsamba

system-config-samba does not open. It doesn't matter whether I install the program through either the command line or the software center. When I try to open the program it prompts me for my password and then closes. It does this every time and I can never get Samba to open.

I have installed it on 2 different computers with fresh installs of Xubuntu 14.10 and 15.04. The same problem occurs. I have tried to modify the smb.conf file manually but it doesn't work, and I've tried to copy over another's completed smb.conf file and still no luck.

Let me know if there is a way I can get my home network up and running.

Best Answer

In Ubuntu 15.04, system-config-samba fails unless you launch it with superuser privileges (gksu system-config-samba). I was subsequently able to launch system-config-samba from the Unity dash once I had logged out and logged back in after I configured samba for the first time using gksu.

I also got the following error message the first time:

SystemError: could not open configuration file `/etc/libuser.conf': No such file or directory

I resolved this by creating an empty text file 'libuser.conf' in /etc:

sudo touch /etc/libuser.conf
Related Question