For Nemo file sharing I need Samba. Several guides on file sharing and forum posts suggest various commands to start Samba server and name server and to ensure they restart next boot, such as
sudo systemctl enable smbd
sudo systemctl enable nmbd
sudo systemctl start smbd
sudo systemctl start nmbd
However this webpage
suggests that they should start by default on UB
“Most Linux distributions provide a samba package, which does most of the server setup and starts up smbd, the Samba server, and nmbd, the netbios name server, at boot time by default.”
sudo systemctl status smbd
sudo systemctl status nmbd
shows that this seems to be the case
Jan 16 12:32:40 desktop systemd: Starting Samba SMB Daemon…
Jan 16 12:32:42 desktop systemd: Started Samba SMB Daemon.
I’ve tested that by running UB off a live CD and those processes both start by default on UB.
This is followed by:
Jan 16 12:33:56 desktop smbd: pam_unix(samba:session): session closed for user nobody
Jan 16 12:34:02 desktop smbd: pam_unix(samba:session): session closed for user nobody
I’ve no idea what that means, and it’s not really a good idea to ignore anything that looks like an error message, but it seems to work, so I’m not going to worry about it.