Zorin 18 - Shared Folders

I got a answere from the Support, I still not tested it but I wanted give you the answere first

Hello,

So the first thing I did was test out SSH from a Zorin OS Laptop to Windows Laptop (With SSH Server on It).

Additionally, I also tested out SSH from a Zorin OS Laptop to an Alpine Linux Server (With SSH Server on it).

Both worked fine, and could be setup within the File Manager on Zorin OS, under the Other Locations section:

Using the following format:

ssh://192.168.x.x/

Next, I looked at Samba Server (SMB), installing it and setting it up with the following:

​Refresh package list:

sudo apt update

Install Samba Server:
sudo apt install -y samba

Create Samba User:
sudo adduser

Add user to Samba Database:
sudo smbpasswd -a

Make a Folder to Share:
mkdir SambaSharedFolder

View who owns a folder:
ls -l

Change who owns a folder (Not needed if you are using the same user!):
sudo chown SambaSharedFolder/
sudo chgrp SambaSharedFolder/

Navigate to Samba Folder:
cd /etc/samba/

Edit smb.conf:
sudo gedit smb.conf

Add the following at the end of smb.conf:
[SambaSharedFolder]
path = /home/username/SambaSharedFolder
readonly = no
inherit permission = yes

Restart the Samba Service:
service smbd restart

Enable autostart of Samba Server:
sudo systemctl enable --now smbd

Windows 10 / 11:

Access SambaSharedFolder via the File Explorer:
\192.168.x.x\SambaSharedFolder\
The above URL path can also be used to "Map Network Drive" from "This PC".

​

​

After this, I was able to have a shared folder (SambaSharedFolder) between both the Zorin OS Laptop and the Windows Laptop.

On the Zorin OS, I opened the Other Locations sections of the File Manager, and I could see the Windows Laptop (In my case MyName-HP-ModelName). When I clicked on the Windows Laptop, it asked for my Samba Credentials. After entering, I had access to the SambaSharedFolder. I then dragged it to the left hand panel of the File Manager to pin it as a Favourite.

I hope this was helpful to you. Please contact us again if you require anymore assistance.

Kindest Regards,

The Zorin OS Support Team

I followed it step by step with a fresh install, but not worked, under Windows I get the promt for enter my credentials, but when I do it say
USERNAME OR PASSWORD WRONG
I have set up again 17.3 and there I made it and it worked right away.
It can't be that we all have problems and the devs not.
The only solution now for me is to have Samba working, is to use it untill it is solved under 18 in 17.3 for the share while 18 do what it do.

1 Like

Edited the post above fix a small formatting issue with the <strong> tags pasted here


FYI: I think this may be related to why this is an issue in Zorin OS 18:

Looks like the Ubuntu team will not provide a backport for a later version of Samba which addresses some issues, including (potentially) the ones that appear to happen here. Setting things manually does seem to work but the GUI integration is still problematic.

This might be the problem the Version installed is
Version 4.19.5-Ubuntu

I'm not that good at Linux, can someone then please tellme how to upgrade to the 4.21 version ?

Maybe @Zenzen can tell you if adding this ppa would be a good idea to get samba 4.21.

I just did

sudo add-apt-repository ppa:linux-schools/samba-latest
sudo apt install samba

and is destroyed the whole system many things now not work, I do now a backup of everything and I will install 18 again

I was just going to say, do not do this. Dependencies link software in the system and upgrading carelessly can break things...

So, to answer the question if it's safe to do, no it's not:

The following packages will be REMOVED:
gnome-control-center gvfs-backends libsmbclient0 python3-samba samba-common samba-common-bin samba-dsdb-modules samba-libs zorin-os-desktop

yes I just did a new installation of 18 and the result is

E: Sub-process /usr/bin/dpkg returned an error code (1)

Mean I can install 18 again,
But when someone of you in the dev team got it to work then there have to be a solution. Try to find out what is at you enviroment different then at ours

I'm very sorry.
I'm not yet experienced enough to know which ppas can be safely used and which cannot.
@zenzen How can one see that it's dangerous? It was listed for Ubuntu Jammy and Noble.

I found for ME a workaround until this issue with Samba under 18 is not solved. I have install VMware, and installed 17.3 in minimal as a VM, I have mounted the drives I need and use samba there for share and it is working just fine, so until under 18 the Samba problem is not solved I will run like this for the time beeing.

1 Like

This is definitely an issue, and recall that Zorin OS 17 is still well supported until 2027, so it might be best to stick to that for now if you rely on Samba.

Best way is to just try it, but I did it inside a virtual machine. I'm very careful with third party repositories and PPAs that I don't know where they come from. Even with the best of intentions, the packages might break things on the system. For example, if the underlying dependencies aren't the same in Zorin OS as they are for Ubuntu.

1 Like

It was just a try to see if the issue can be fixed, but now we need to wait what the devs will find out, I mean he wrote me that on his 18 it is working fine, so why it is not working for us, what are the differences. And once this differences are discovered we will have a solution.

Samba does work for me as well, as I've been tracking this issue for a few days at this point and I've tried to make it work. I still have to try it with Windows machines, but between Linux hosts it does work. However, the main issue that I see is that the GUI integration doesn't work, and it has to be done through the command line and editing configuration files manually.

I do it over Terminal and it is not working. But yes try it under Windows let's see what you will have

Thank you for the reminder that Zorin OS 17 is still supported until 2027. Trying to get Zorin to work with VNC is not for the faint of heart (read: Windows users). This was a key reason I am using Zorin: easy sharing with VNC.

1 Like

I might be able to try over the weekend. I'll try also with VNC, though I've never used that before.

hmm there was a kernel update this morning not sure if it helped but its possible

I still didn't got any now answere from the Support also, I still wait.
But I still wonder how some get it to work and other like us not. Where is the difference.

Bonjour tous le monde,

J'ai constaté depuis la version Ubuntu 24.04 des soucis quand au partage de fichier utilisateur. Idem sous Zorin Os 18.
La configuration de nautilus + nautilus-share et samba est différente des versions Ubuntu 22.04 et Zorin Os 17.
Sous Ubuntu 24.04 aprÚs installation de nautilus-share qui installe à la suite samba les configurations ne sont pas terminées.
J'ai du ajouter ces commandes :

  • sudo smbpasswd -a l'utilisateur (qui crĂ©e l'utilisateur pour samba)
  • sudo adduser l'utilisateur sambashare ( ajouter l'utilisateur au groupe sambashare)
  • Ensuite reboot du systeme.

A ce moment là je peux créer des partages dans mon home et vu sur le réseau.

J'ai lu sur un forum et constaté par la suite que le partage utilisateur ne s'appuie pas sur smb.conf de samba, mais lors de la création du partage, sur l'ajout de fichier dans le répertoire /var/lib/samba/usershares de fichier au nom du partage créer.
Pour information ces soucis n'exitent pas dans l'environnement KDE, sous Ubuntu 24.04, 25.10 ou Debian 13.1. Lors de la créations de partages la config est demandé au fur et à mesure et à la sortie tout est ok. Ce qui suppose que la config sous Gnome n'est pas totalement fonctionnelle.

Je continue les investigations. A suivre
Cordialement

1 Like