Install on your android device Samba Server (I believe this best one)
https://play.google.com/store/apps/details?id=com.icecoldapps.sambaserver&hl=en
There is not additional configuration on Windows 7,8. Simply run Windows+R and type here \\XX.XX.XX.XX
Where XX.XX.XX.XX is your device's local IP address
Xubuntu:
Ensure XX.XX.XX.XX is pinging, if not try to either restart WiFi or reboot your phone
Try to mount your device
sudo mkdir /mnt/android/ sudo mount -t cifs //XX.XX.XX.XX/storage /mnt/android/ -o pass=''
If you got
mount: //XX.XX.XX.XX/sorage/ is not a valid block device
Try to run the following command
sudo apt-get install samba-client samba-common cifs-utils -y
This should fix the error out
Check if mounted successfully
mount -v | grep cifs
Update your fstab file
sudo vi /etc/fstab
With the following line:
//XX.XX.XX.XX/storage /mnt/android/ cifs pass="",noauto 0 0
Congratulation, how you can mount your device simply running
sudo mount /mnt/android ls -la /mnt/android
To umount this out run
sudo umount /mnt/android
Please note if you got "Unable to find suitable address" it means you just enabled your Samba Server and you need to wait during this updating for access