Get X11 Forwarding In macOS High Sierra
An Apple IIgs emulator for Mac OS X, Linux, and Unix/X11 Download version 1.13 - Mac Joystick support (improved) Download README.kegs from v1.13; Download the CHANGES file for v1.13; Download the KEGS v1.13 tar.gz file (Executables for Mac OS. For Mac OS 10.4, see below. Chimera on Mac OS 10.4 (Tiger) On Mac OS 10.4, Chimera version 1.2121 or later must be used. Chimera uses the X11 Window System. If you had X11 installed on OS X 10.3 and upgraded to Tiger, it should still be installed. If you bought a new Mac or did a fresh install of Tiger, X11 is not installed by default. Steps to get X11 Forwarding in macOS High Sierra. Download and install the latest release from xquartz.org website. IMPORTANT: verify xauth location SSH configuration file /etc/ssh/sshconfig might contain path to xauth tool, which may be incorrect depending on your OSX/MacOS version. Here’s how to check. How To Install Run XQuartz X11 Applications On Mac OS X 10 10 Yosemite Or Later.Here is the link to download Xquartz (which is also X11): http://xquartz.maco.
I needed to forward X11 output from one of my Linux servers recently to run virt-manager (manager for virtual machines in KVM), and because it’s been a while I had to download and install X11 server again.
X11 Osx
As some of you know, Xorg server is no longer shipped/installed with macOS by default. So you have to download it from XQuartz page: https://www.xquartz.org/releases/index.html. Usually you do it, install it and that’s it – no additional steps are needed.
But things are slightly different for the macOS High Sierra, apparently.
The latest release hasn’t been updated since 2016 which I believe is before High Sierra – which explains why things don’t “just work” anymore. Fear not though – I tracked the issue down and it’s explained below.
UPDATE 03/2019: MacOS Mojave works just great, you may skip Step 3 in the procedure below.
Steps to get X11 Forwarding in macOS High Sierra
- Download and install the latest release from xquartz.org website
- Start XQuartz
- IMPORTANT: verify xauth locationSSH configuration file /etc/ssh/ssh_config might contain path to xauth tool, which may be incorrect depending on your OSX/MacOS version. Here’s how to check:
if this returns nothing, you can skip to Step 4 below. How do i create an autoexec.cfg for mac. If this gives you an output, compare it to the path from the next command:
If the locations differ, update the /etc/ssh/ssh_config file:
- Connect to remote server using -X option which does X11 forwarding for SSH:[email protected]:~ $ ssh -X centos.unixtutorial.or
- Check the DISPLAY variable, it should now be set correctly:
That’s it for today!