On Mon, 09 May 2022 01:31:35 +0200
Hussein Yahia <h.ya...@orange.fr> wrote:

> > What exactly do you mean by "connect"? SSH? ping? If you mean via
> > SMB,
> > that suggests you successfully set the Linux computer up as an SMB
> > server. Did you?  
> 
> I don't remeber to have installed smb on my Linux. I just downloaded
> the packages. On the mac, I click on the Linux Desktop'name, (which
> appears in any window), a window appears, I can login in the Desktop
> Linux with my name and password, and I see my files, when I'm on the
> mac.

I should probably clarify: SMB (Service Message Block) is the protocol,
originally from IBM, later Microsoft. Samba is a server and client
suite of programs for Linux and Unix that implement SMB. Microsoft has
its own suite. Apple has at least a client. SMB is also known as CIFS
(Common Internet File System, I think).

You downloaded the packages, but didn't install them. Gnome might
include a Samba client, I don't know. I doubt it includes a server.

The best way to tell if a Samba server is running is to check to see if
there is one or more processes running. Run in a terminal:

ps aux | grep -i smbd

If it's running, you should get something like:

root@hawk:~# ps aux | grep -i smb
root        1433  0.0  0.0  82592 14004 ?        Ss   May03   0:01 
/usr/sbin/smbd --foreground --no-process-group
root        1490  0.0  0.0  80424  6164 ?        S    May03   0:00 
/usr/sbin/smbd --foreground --no-process-group
root        1492  0.0  0.0  80432  5244 ?        S    May03   0:00 
/usr/sbin/smbd --foreground --no-process-group
root        1520  0.0  0.0  82664  9332 ?        S    May03   0:03 
/usr/sbin/smbd --foreground --no-process-group
root        2875  0.0  0.0      0     0 ?        I<   May03   0:00 
[smb3decryptd]
root        2883  0.0  0.0 100080 13004 ?        S    May03   0:03 
/usr/sbin/smbd --foreground --no-process-group
root       25184  0.0  0.0  91804 13512 ?        S    May04   0:03 
/usr/sbin/smbd --foreground --no-process-group
root       73157  0.0  0.0  83084 11740 ?        S    May06   0:01 
/usr/sbin/smbd --foreground --no-process-group
root       73160  0.0  0.0  82960 11768 ?        S    May06   0:01 
/usr/sbin/smbd --foreground --no-process-group
root      137417  0.0  0.0  83088 13844 ?        S    09:49   0:00 
/usr/sbin/smbd --foreground --no-process-group
root      141258  0.0  0.0  83088 14552 ?        S    12:08   0:00 
/usr/sbin/smbd --foreground --no-process-group
root      147939  0.0  0.0   6312   716 pts/8    S+   19:49   0:00 grep 
--colour=auto -i smb
root@hawk:~# 

(And I have no idea what that will look like on your mail program
because it consists of a lot of long lines which your mail program will
probably mangle.)

Otherwise you'll get only a few lines.

If it isn't running, I have no idea why you are seeing on the Mac.

> 
> > When you go to what "Network" directory? How do you go to it? Is
> > this in the GUI or command line? What GUI are you using? XFCE?
> > Gnome? KDE?  
> I have Gnome only only on the Linux desktop. You see, the is a
> "Network" in the GUI, I expect the mac to appear here. 

Unfortunately I don't know either Gnome or Macs at all. I suspect that
the reason you don't see the Mac from the Linux desktop is that it
doesn't have a server running, or you haven't authorized it to share
files.

You might find the Debian wiki useful: https://wiki.debian.org/Samba

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

Reply via email to