X11 Macos Catalina

  • According to Wikipedia, from v10.3 (Panther) to v10.7 (Lion) of macOS, Apple at least included a Mac-compatible X11 server as an optional install. However, since v10.8 (Mountain Lion), Apple has stopped providing its own release of the X11 server and advises all users to download the newest version of a compatible X11 server directly from upstream.
  • I wanted to run a Windows machine on my Mac OS X. So obvious choice was using WineHQ. Ideally, it should have been 1/ Download, 2/ Install and 3/ Run. However, it is never that simple, isn’t it!? Configuration of iMac macOS Catalina (10.15.1) iMac (21.5-inch, Late 2102) Steps for Running WineHQ on macOS Catalina.
  • Gretl on macOS Gretl: Gnu Regression, Econometrics and Time-series Library for macOSThis page offers gretl for macOS 10.6 ('Snow Leopard', released 2009) orhigher. If you're running a version of OS X prior to 10.6 please see ourpage.Getting gretlYou have a choice of the latest 'official' release or the current'snapshot'.

I cannot open X11 when I connect to OS X Sierra from OS X El Capitan (or from any older OS Xs).

Once I 'ssh -X' or 'ssh -Y' into Sierra I get

Support Communities / Mac OS & System Software / macOS High Sierra. Putty on Mac OS Catalina. Including X11 tunneling, generic tunnels, Jump Hosts, running.

Mac

'X11 forwarding request failed on channel 0'

If I type 'echo $DISPLAY' I get an empty line.

Macos


I tried to follow the suggestions from

but that discussion applied to Yosemite. I still tried to modify the Yosemite file /etc/sshd_config which I think is now the Sierra file /etc/ssh/sshd_config and add the lines


X11Forwarding yes

X11DisplayOffset 10

X11UseLocalhost no


although I noticed the Sierra file has a bit different names, e.g., ForwardX11 instead of X11Forwarding.

How Large Is Macos Catalina

X11 on macos catalina


Adding the above three lines did not solve the problem. Interestingly, when I tried to restart the ssh service following the suggestions from the above discussion:


cd /System/Library/LaunchDaemons

launchctl unload ssh.plist

launchctl load ssh.plist


I noticed the following: after typing 'launchctl unload ssh.plist' I got


'Could not find specified service'


and after typing 'launchctl load ssh.plist' I got

Macos


'Service is disabled'

X11 On Macos Catalina


I then rebooted the computer but that did not help either.


I would appreciate any input.

Mac Pro, macOS Sierra (10.12)

Posted on Jun 9, 2017 11:43 AM