this post was submitted on 10 Jul 2025
38 points (97.5% liked)

Linux

56385 readers
690 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

So I have things working for me at this point. I was never able to get Samba worling properly. My initial issue was not having a / at the end of my folder path in the Samba config file. After fixing that issue I was able to see the shared folder but was prompted to log in each time, which was an issue in my use case. I ended up abandoning Samba and setting up Jellyfin which has been a much smoother experience, but also is providing many more features. So, if you are looking to share media on your local network, my recommendation would be Jellyfin!

Thank you so much to everyone that commented and helped me a long. I hope I get to return the favor in some way.

Hello, I've been working towards fully migrating to linux, but this is one issue I'm having a hard time with. I have a couple of folders on a storage drive that I share on my local network to stream movies and TV, but I can't figure out how to do it in my Linux install. I'm running Linux Mint 22, have installed Samba, and have tried a few different walkthroughs with no success. Can anyone point me in the right direction to get this set up?

Thanks for your time!

all 21 comments
sorted by: hot top controversial new old
[–] M4st3rSh0e@lemmy.world 14 points 4 days ago (1 children)

Just ran into this the other night myself. Turns out I didn't have the path the correct way, cause samba is picky. My original config was set up with the path = /home/user/Public but I had to change it to path = /home/user/Public/ You're path in your reply looks like it's missing that / at the end. After you update, don't forget to restart the service.

[–] moncharleskey@lemmy.zip 6 points 4 days ago

Well that made it show up thankfully, but it's asking me to log in. Any idea how to handle that? I don't want it to ask at all so family members have ready access.

[–] plinky@hexbear.net 12 points 4 days ago (2 children)

i know i will be like a meme of "answers completely different question", but jellyfin does this natively, so if you strictly need this for movies/media, maybe try it out?

[–] dil@lemmy.zip 4 points 4 days ago (1 children)

Yeah use some sort of selfhosted mediashare, imo runtipis the easiest way to get it up and running, becuase im lazy and it has a one click installer, auto uodates, backups, etc.

[–] moncharleskey@lemmy.zip 3 points 4 days ago (1 children)

All I'm trying to do is play videos on Xbox/Roku, so whatever makes that happen easily is fine with me for now. I would like to build a stand alone media pc/NAS later but for now just want to keep hosting it on my pc.

[–] plinky@hexbear.net 2 points 4 days ago (1 children)

ah, dunno how good their app is on xbox, it was abandoned for a long time :( roku should work fine though

[–] moncharleskey@lemmy.zip 2 points 4 days ago* (last edited 4 days ago) (1 children)

It works (VLC on Xbox), but it's definitely not that great.

[–] plinky@hexbear.net 4 points 4 days ago* (last edited 4 days ago) (1 children)

I meant jellyfin on xbox, they seem to have some version of it. If it works, then you are kinda golden, install jellyfin on pc, add a folder with movies as a library, and install clients where you need them, and it would work (if your ip on home network is fixed that is, would need some router fixing if not, cause it talks by ip:port to server (your pc)). Think jellyfin fixed sketchiest issues with transcoding, so it kinda not that involved on server side

[–] moncharleskey@lemmy.zip 3 points 3 days ago (1 children)

This is actually what I did. I never could get Samba working, so I setup Jellyfin and it's been a breeze ever since. What an amazing piece of software! I just wanted to access my files, but having them categorized with images, cast and crew, ratings, and even recommended is just fantastic. The Xbox app works fine but it's basically just a web wrapper, and the cursor never goes away which is mildly annoying, but it's still a way better experience than the VLC Xbox app.

Thanks for the help!

[–] plinky@hexbear.net 2 points 3 days ago

yay, congrats meow-bounce

[–] floo@retrolemmy.com 7 points 4 days ago (1 children)

It would be helpful to know what you’ve already tried and what went wrong. The more info the better.

[–] moncharleskey@lemmy.zip 3 points 4 days ago* (last edited 4 days ago) (1 children)

Well I tried the UI approach of right clicking the folder and going to share options, which is when I was prompted to install Samba, but there is warning that states "The permission for prevent othersl users from accessing this share". I did some digging on that error, and everything I came across basically said that wouldn't work. My next attempt was modifying the Samba config file, I added

[FolderName]

path = (file directory path I see in properties, /media/username/lettersandnumbersfordrive?/FolderName)

browseable = yes

read only = yes

guest ok = yes

create mask =0775

As instructed by a tutorial I found. When running testpram I don't get any errors, but I'm not seeing the folder in VLC like I do when sharing from Win10. That's as far as I have gotten. If there's anything else that I can provide please let me know, and on that note, the drive I'm sharing from is NTFS if that has any impact.

Thanks again!

[–] floo@retrolemmy.com 5 points 4 days ago (1 children)

In your Samba config file, when you’re specifying a share path, after FolderName, you need to put a final /

[–] moncharleskey@lemmy.zip 2 points 4 days ago (2 children)

So I added the forward slash and now the folder shows up, but it's asking me for login credentials now. I thought "guests ok = yes" would handle that but apparently not. Any suggestions?

[–] floo@retrolemmy.com 2 points 4 days ago

Use whatever username and password you have set up for an account on the host computer.

[–] FauxLiving@lemmy.world 2 points 4 days ago

Similar issue: https://serverfault.com/questions/575394/samba-public-share-windows-keeps-asking-for-password#715372

Adding

[global]
map to guest = bad user

to smb.conf and restart the service.

If that doesn't work there are a few other suggestions in the thread.

[–] John@discuss.tchncs.de 2 points 4 days ago

If it is for Media Files only UPnP could be an alternative to smb.

[–] normalexit@lemmy.world 3 points 4 days ago

Can you share your smb.conf?

[–] bacon_pdp@lemmy.world 2 points 4 days ago (1 children)

Well did the samba user account (used to connect to the samba share) have access to the files?

[–] nfms@lemmy.ml 1 points 4 days ago

You might have answered the OP question, and a long standing mine as well. Gonna check this up on my setup