Linux Mint Forums

Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.Before you post please read how to get help

Edit:I just discovered that the share 2nd Chapter of Acts which is inside the folder /home/rperrett/Music is still there on reboot.The other shares are gone.Is this because the other shares are in my Home folder /home/rperrett and not another level down?If this is so, can it be fixed.

Last edited by Reljoy on Sun Dec 30, 2012 8:50 pm, edited 1 time in total.

Edit:I just discovered that the share 2nd Chapter of Acts which is inside the folder /home/rperrett/Music is still there on reboot.The other shares are gone.

OK, that's just freaky. When you say the shares are gone do you mean they are not visible to the client machine or do you mean the remote guest can't access them?

Is this because the other shares are in my Home folder /home/rperrett and not another level down?

Don't think so. Your remote guests are being converted to "rperrett" because of the "force user" line in the global section of your smb.conf. So if you make a share of anything in your home folder everyone has access.

If you think about it the share at "/home/rperrett/Music/2nd Chapter of Acts" is unnecessary since you already shared "/home/rperrett/Music". It's the can see the subshare but not the parent share that's the freaky part.

Are you doing anything exotic like binding other partitions to your home sub-folders? You might want to post the output of the following commands:

I probably was too flip on my first answer, but I really do seem to remember that sharing directly off the /home/<user>/ folder was a 'bad idea' from earlier network administration work. Also, you do not mention if the

/home/rperrett/Documents/textaloudmp3

folder or file was also accessible.

As a workaround, have you considered putting all of the shared folders in a new folder called /home/rperrett/Shared/ and sharing from there?

You know, there could be a simpler explanation for all this. Every time you reboot or restart the samba services the network has a bit of a fit as a pecking order has to be established before browsing by host name works. If you try to browse immediately after login there's a good chance it won't work. But if you wait about 5 minutes it will work. This actually gets worse if you introduce a Windows machine in the mix.

Since all of your machines appear to be Linux there's a way to bypass Samba's master browser process by using something different. When you next reboot have the client access the missing share this way:

Sure, but you can only share folders in your /home/<owner>/ folder if you sign in with your credentials at the remote location.

I had been trying to connect from my Raspberry Pi (B) and it was asking for a username and password, but entering my username and password for my desktop (Reljoy-Mint) just didn't work. I put pi as a username on my desktop and put it in samba and that allowed me to connect from the Raspberry Pi.

When you say the shares are gone do you mean they are not visible to the client machine or do you mean the remote guest can't access them?

You know, there could be a simpler explanation for all this. Every time you reboot or restart the samba services the network has a bit of a fit as a pecking order has to be established before browsing by host name works. If you try to browse immediately after login there's a good chance it won't work. But if you wait about 5 minutes it will work.

This morning when I turned on my desktop (Reljoy-Mint), I can't see any shares on my desktop except for textaloudmp3 and 2nd Chapter of Acts.My Raspberry Pi can access my desktop shares to play music from /home/rperrett/MusicMy laptop running Mint 9 can see all my shares. It can play music, videos and view pictures.So my laptop can see my shares but my desktop cannot see shares in /home/rperrett. Yesterday, when I tried to access the shares from my laptop, it didn't work. That may have been because I didn't wait long enough for the sharing to start working???

I have read in forums that other people have had trouble with shares in Caja not being visible.Now I need to try to find out if it is possible to make them visible in Caja.

The avahi service is not necessary for Samba to work. In fact I remove it from all my machines, especially my Samba/NFS file server.

NOTE: To any out there that read this I would like to apologize for the following response. It's purely emotional and does not serve the original poster in the least.

@kwisher, If you are going to quote me, reach the wrong conclusion, and offer bad advice the least you could do is quote me in context:

altair4 wrote:Since all of your machines appear to be Linux there's a way to bypass Samba's master browser process by using something different. When you next reboot have the client access the missing share this way:

I had been trying to connect from my Raspberry Pi (B) and it was asking for a username and password, but entering my username and password for my desktop (Reljoy-Mint) just didn't work. I put pi as a username on my desktop and put it in samba and that allowed me to connect from the Raspberry Pi.

What's confusing about this is that all your shares allow guest access so no one should be prompted for username and password.

I'm getting confused by your reference to the "desktop":

This morning when I turned on my desktop (Reljoy-Mint), I can't see any shares on my desktop except fortextaloudmp3 and 2nd Chapter of Acts.

What desktop are you referring to: Reljoy-Mint or Dani-OptiPlex-GX260 ?BTW, you will eventually have to change the netbios name of Dani-OptiPlex-GX260 since it's 4 characters too long. It's easy to do in smb.conf.

If it's the OpriPlex what is the output of smbtree from Dani-OptiPlex-GX260.

Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

altair4 wrote:@kwisher, If you are going to quote me, reach the wrong conclusion, and offer bad advice the least you could do is quote me in context:

altair4 wrote:Since all of your machines appear to be Linux there's a way to bypass Samba's master browser process by using something different. When you next reboot have the client access the missing share this way:

If you have any questions about what it is or how to use it post them in that topic.

This topic has to have the most unusual symptoms I've seen in a long time. The OP only posts once a day however which is making this particularly frustrating to work with so telling him he doesn't need avahi is a non-sequitur.

I wanted him to access the server with the following command from the client using an mDNS qualified host name:

Instead of tying to do some hokey name resolution with Avahi, you should get back to basics and use IP addresses to make sure everything is working. If network communications do not work at the IP level then there is no sense giving instructions that involve anything else. If the user wants name resolution and he does not have an internal DHCP/DNS server to assign host names, the maual addition of his network machine names in the hosts file is another option.

If this is a all Linux network, NFS is a much better solution than Samba, in my opinion. Although both can be used at the same time.

The instructions suggested Windows XP or better, so I installed Linux :)

Sorry that I'm not getting back as often as is hoped.When I say desktop, I am meaning my desktop computer, which is called Reljoy-Mint. The one that comes up as Dani-OptiPlex-GX260 is my daughter's computer. I am not trying to network with it.

I wanted him to access the server with the following command from the client using an mDNS qualified host name:caja smb://reljoy-mint.local

I'm not quite sure what 'from the client' means. If it means from Reljoy-Mint, then what it did was to open a window in Caja and display all my shares. The icons of the shares look like green folders with little RJ45 sockets and a cable with a plug just near the socket. The Location is smb://reljoy-mint.local/

And just in case it has been forgotten in the posts, I am hoping that I can get all my shared folders to show up in Reljoy-Mint in caja.

You just wrote they did:

then what it did was to open a window in Caja and display all my shares. The icons of the shares look like green folders with little RJ45 sockets and a cable with a plug just near the socket. The Location issmb://reljoy-mint.local/

caja is your file manager in mate. I t doesn't know what the file manager name is?

EDIT: I am now totally lost as to who is trying to access these shares. It doesn't make any sense for reljoy-mint to access its own shares, You don't want the Optiplex to access these shares, so who is it that's having problems access these shares?

Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

I can tell that I keep confusing you. I have search for a way to show screen dumps on this forum. Hopefully this will work and make things much clearer.

If this link works, it will show a screen dump of caja on Reljoy-Mint NOT showing any shares. This is where I am used to seeing shares appear in the past in Mint 10. I would very much like to see the shares appear here.

I access the Rel joy-Mint shared folders using my laptop (called Mint-Laptop). Mint-Laptop can see the Reljoy-Mint shares and access them.

Let's pause for a moment. The function of Samba is for a client ( Mint-Laptop in this case ) to access the shared resources of a server ( Reljoy-Mint in this case ). It would appear that that mission has been accomplished.

You do have a peculiar problem on the server that does not impact this Samba file sharing function:

If this link works, it will show a screen dump of caja on Reljoy-Mint NOT showing any shares. This is where I am used to seeing shares appear in the past in Mint 10. I would very much like to see the shares appear here....I want to be able to see the Reljoy-Mint shared folders when I am sitting at the Reljoy-Mint computer using the default file manager, called caja.

This is going to be a hard one to debug ( at least for me personally ) because:

[1] You upgraded a Mint 10 Gnome2 based machine to a Mint14 Mate ( Gnome2 fork ) based machine. I didn't even think that was possible so you can see you're not going to get very far with me.

[2] I have used Mate14 a total of about 6 hours. In fact I only installed it to answer this post so I'm probably not the best person to offer insights in the inner workings of Mate.

This sounds promising though:

I wanted him to access the server with the following command from the client using an mDNS qualified host name:

I'm not quite sure what 'from the client' means. If it means from Reljoy-Mint, then what it did was to open a window in Caja and display all my shares. The icons of the shares look like green folders with little RJ45 sockets and a cable with a plug just near the socket. The Location issmb://reljoy-mint.local/

That sounds to me exactly what you want. You are doing that through avahi so what you can do to make this more seamless is this:Run the following command on Reljoy-Mint:

You will get a shortcut on the left side panel of caja labeled "Windows Shares on reljoy-mint". The next time you login you can use that bookmark to see all your own shares. I don't know why you want to see your own shares but they should show up in caja. You can even rename the bookmark if you like by right clicking it and selecting: Rename

Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

The last error message doesn't matter. You don't need to access the reljoy server using that command. My guess is you don't have avahi-daemon running on Mint-Laptop but it doesn't matter. You stated the following before:

I access the Rel joy-Mint shared folders using my laptop (called Mint-Laptop). Mint-Laptop can see the Reljoy-Mint shares and access them.

So is there a remaining problem?

Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.