Sharing two folders between two computer is something that expected to work out of the box, but it seems that the new releases of Kubuntu needs extra work to add this functionality, I was surprised about how we still need command line to tackle this simple task, even after all this great Graphical User Interface exprience being introduced in Linux world.
To share two folders I used samba server:
Step #1:
Run the following command:
sudo apt-get install kdenetwork-filesharing libsmbclient samba samba smbclient
Step #2:
Specify a password to use when accessing shared folders in your computer using your Linux username.
sudo smbpasswd current_user
Replace the current_user with your username
Step #3:
Edit the samba config file to add shares:
sudo nano /etc/samba/smb.conf
At the end of the file add:
[DATA]
path = /home/current_user/Documents
browseable = yes
writeable = yes
Save the file (CTLR+X then Y then ENTER)
Step #4:
Restart Samba services:
sudo service nmbd restart
sudo service smbd restart
Step #5:
In the computer that will access the shares, open file manger, and in location bar type:
smb://192.168.2.2/
It will ask you for the password you entered in Step #2
Replace the IP Address with your computer IP Address
Note: In Dolphin file manager you can right click a folder, then select properties, click Share tab. From here you can share any folder, but you may need to edit /etc/samba/smb.conf in case you couldn’t write into shared folders, you will need to remove the line ‘guest ok = yes’ to force asking for the username and password when accessing the shared folders.
Resources: