Re: ssh -Y from macOS (11.16.2 Bigsur) to FreeBSD box (12.3)

From: Valeri Galtsev <galtsev_at_kicp.uchicago.edu>
Date: Sat, 12 Feb 2022 14:59:19 UTC

On 2/11/22 1:36 AM, Doug McIntyre wrote:
> On Thu, Feb 10, 2022 at 01:38:27AM -0800, Patrick Mahan wrote:
>> On Thu, Feb 10, 2022 at 1:25 AM Christoph Kukulies <kuku@kukulies.org>
>> wrote:
> ...
>>> I’m not sure whether I installed XQuartz from Apple or XQuartz.org. It
>>> used to work. The only change were OS upgrades Catalina-Mojave-Bigsur.
>>> Looks like it’s Apple:
>>>
>>> I’m doing it from a Mac terminal not a xterm.
>>>
>>> I did not start X11 explicitly. I believe to recall that the macOS window
>>> manager accepts X-connections or laumches X11 automatically - Not sure
>>> though.
> 
> Not in my experience.
> 
> When I needed it in the past, I've always launched XQuartz first, and
> did the connection from the xterm that popped up. It never worked
> direct from an Terminal.app in my memory.
> 

My experience is different. You can ssh (with X forwarding) from MacOS 
terminal application to remote machine. When you start anything that 
sends back X11 stuff, then on local machine XQuartx starts, then X11 
stuff pops up. XQuartz stays up, so it is only the first X11 application 
started on remote machine that has a delay waiting for XQuartz to start. 
XQuartz stays up on local machine even after you disconnect from remote 
machine.

Valeri