Ubuntu – How to access Samba shares in Lubuntu 12.10

lubuntupcmanfmsambaworkgroup

Lubuntu uses PCmanFM as it's default file manager. I want to access my samba share with PCmanFM to upload and download files. I've already installed the "samba" and "cifs-utils" packages and thier dependancies. Installing them seems to allow me to see the windows network which I can open and see my workgroup, but I cannot open the workgroup. It looks like nothing happens when I click on it, but after a minute or two I start to get "Failed to retrieve share list from server" and "The specified location is not mounted" messages. I should have to authenticate a username and password before I can access the samba share, but no dialog comes up asking for any info.

How can I get PCmanFM to access my shared files?

Best Answer

This should work:

smb://<machine_name/ip>/filepath/filename 

in the PCmanFM address bar.
e.g:

smb://192.168.1.111/some_folder/sub_folder/file.pdf

Courtesy: https://help.ubuntu.com/community/Lubuntu/PCManFM#Browse_Windows_PCs_with_Samba

Update:

If you want to connect as a particular user, use

smb://username@smb_server/some_folder

Under Lubuntu 14.10, this brought up a password dialog and then connected with the expected ownership and privileges.

Courtesy: Comment by Randall Cook

FYI, PCmanFM mounts samba shared devices in /run/user/userid/gvfs (id -u can help to find user id) so after mounting Samba shares using PCmanFM, we can also access files/directories using console

Related Question