Samba is not launching ubuntu 18.04
How to configure samba on Ubuntu 18.04
I installed Samba from Ubuntu Software and its not launching and I also installed gksu after uninstalling samba and reinstalled it
Solution 1:
Your question is a little light on details but here are some suggestions:
-
Check if Samba is installed:
whereis samba
-
Make a Samba share (Samba needs to know what you want to share!):
mkdir /home/<username>/sambashare/ sudo nano /etc/samba/smb.conf
-
At the bottom of the file, add the following lines:
[sambashare] comment = Samba on Ubuntu path = /home/username/sambashare read only = no browsable = yes
-
Finally, restart Samba so that it loads your new configuration:
sudo service smbd restart
-
Now you need to create a Samba user (not one that already exists in your system):
sudo smbpasswd -a username
-
Samba should now be running. To connect to the Samba share from another computer:
- Under Mac OS X or Linux: Open a file browser, click on connect to server and in the dialogue box, enter
smb://ip-address/sambashare
(replacingip-address
andsambashare
with your values.) - On Windows, open File Explorer and in the path at the top of the window enter
\\ip-address\sambashare
- Under Mac OS X or Linux: Open a file browser, click on connect to server and in the dialogue box, enter
Hopefully, you're sorted now!