Can't Connect to OSMC SMB Server

I have installed SMB in OSMC and I am trying to connect to it from Linuxmint.

The server is running.

popeye$ sudo systemctl status samba
● samba.service - Samba Server
Loaded: loaded (/lib/systemd/system/samba.service; enabled; vendor preset: enabled)
Active: active (exited) since Mon 2025-07-14 14:19:48 -03; 1h 30min ago
Process: 1859 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 1859 (code=exited, status=0/SUCCESS)
CPU: 3ms

Jul 14 14:19:48 osmc systemd[1]: Starting Samba Server…
Jul 14 14:19:48 osmc systemd[1]: Finished Samba Server.

I select CONNECT TO SERVER from the FILE MENU in Linuxmint to open the Connect Window.
Enter the IP address of OSMC
Select default type as Windows Share
enter Username OSMC
enter Password OSMC

I select connect and it says Connecting but just hangs.

Can someone tell me how to do this please?

The username and password should both be lower case.
Perhaps Nautilus (assuming that is the default file manager) has some logs?

Are you running the latest version of OSMC?

Sam,

I am using the latest version of OSMC and username and password are both lower case.

I do not see a logfile for Nautilus in /var/log which has SMB references bit I can’t upload a txt file.

OK I got it. Here are the settings:
SERVER : smb://192.168.x.xxx
SHARE: osmc
TYPE: Windows share
FOLDER: blank
DOMAIN NAME: blank
USERNAME: osmc
PASSWORD: osmc

What version of Linux Mint are you using?

@grahamh is a Mint user and might be able to check. But my understanding is Mint is based off Ubuntu so I should be able to check here

Try cat /etc/os-release and paste the output here

Cheers

Sam

Ditch the “SMB://” and share and see how that goes for you. I just tried with the following and it worked from my Mint 22.1 VM…

Using the data I posted above I am able to connect to osmc’s smb server. I added the line below to /etc/fstab and it opens the OSMC share on boot. I edited the [osmc] share in /etc/samba/smb.conf from /home/osmc to the path for my external drive. All works a treat now.

//192.168.x.xxx/osmc /home/pi/osmc cifs credentials=/home/pi/.smbcredentials_osmc,iocharset=utf8,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 0

Glad to hear that. There’s a danger LM will hang on boot if it can’t find that share. There’s some magic words you can add to fstab but I think that just stops the hang and doesn’t connect when the pi shows up later. Consider using autofs.