How do I share folders in Xubuntu like in Ubuntu? I found no settings or options to share folders on my network, I do have Samba installed. I don't know what else to try. Is there a command that I can try in terminal for Xubuntu? I do see my Xubuntu machine from other computers on my network, but shows empty when I access it on other computers. Ubuntu is more user friendly for such purpose.
3 Answers
Menu --> Settings --> Shared Folders
Or...
Execute:
shares-admin
Font: http://linuxuserlog.blogspot.com.br/2014/01/como-compartilhar-pastas-arquivos-no.html

- 5,511

- 131
- 1
- 3
Install Samba (package name system-config-samba
). If you are using Xubuntu 13.10 then also install gksu. Then go to Settings Manager -> Samba
and add the desired shares.
Alternatively you can edit the /etc/samba/smb.conf
file and add something like this
[set share name here]
path = set path here
comment = set description here
writeable = no
browseable = yes
read only = yes
guest ok = yes

- 355
- 5
- 14
Unfortunately neither shares-admin
(crashes) nor system-config-samba
(deprecated) work in recent Xubuntu releases. Other than in Nautilus we do not have an option to share directories from Thunar.
This apparently means that as of today we do not have a working graphical method to setup Samba shares in Xubuntu.
So after installing samba and defining a Samba user with:
sudo apt install samba
sudo smbpasswd -a [user] ## [user] must already exist for Xubuntu
We can use the command net usershare
for adding directories. Because of better copy & paste ability I find it more convenient to create an entry in /etc/samba/smb.conf
:
[share name]
path = full path to shared directory
comment = optional description
writeable = yes
browseable = yes
read only = yes
guest ok = yes
Further options for smb.conf
can be read in the Samba documentation. The named share will be available after a restart of the samba server.

- 142,284
system-config-samba
. It is a simple graphical tool for most common samba options, including sharing. – Danatela Jul 18 '13 at 07:32/etc/samba/smb.conf
and try to understand it's structure. It has shared folders' definitions. – Danatela Jul 18 '13 at 10:01