AlexP прокомментировал:
An X client does not need to open a window; there are many utilities, e.g., xdpyinfo or xwininfo, which talk to the X server but don't open windows. A process which use a GUI window to interact with the user may or may not be an X client, depending on what mechanism is uses to use that window. For example, a shell uses a terminal emulator window to interact with the user, but it's not an X client. An X client may or may not have a controlling terminal; for example, run xclock from the command line in a terminal emulator, and press Ctrl-C to check whether xclock terminates or not.
Not to mention that on some moderny Linux distributions there are many graphical programs which don't use X at all, because for example they use Wayland.
Вам нужен обратный туннель. В следующем примере вы переадресуете локальный порт 22 с вашего ноутбука MacOS на порт 2222 на удаленном сервере. Предполагая, что удаленный сервер имеет статический IP-адрес X.X.X.X, вы можете создать обратный туннель, используя следующую команду на своем ноутбуке:
ssh -fnN -R 2222:localhost:22 server-user@X.X.X.X
На другом конце (на стороне сервера )пользователи будут подключаться по SSH к серверу Linux, как обычно, а затем они начнут новый сеанс SSH с вашим ноутбуком, используя следующую команду (из Linux. сервер)
ssh -p 2222 laptop-user@localhost