Get X11 Forwarding In macOS High Sierra
- Choose the natural elegance and long-lasting beauty of Pavestone's 11.5 in. Sierra Blend Concrete Wall Block for your next landscape creation. The perfect complement to residential landscape design, these low maintenance, easy-to-install stones are a beautiful solution for any project, from gardens and tree rings to curved walls.
- Imagine, Stack, Enjoy, reminiscent of our fondest childhood toys. Pavestone Company's innovative RumbleStone Series provides a set of rustic building block for your outdoor hardscape projects. Simple to complex, large or small, the possibilities for creative expression are as far and wide as that inner child's imagination.
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.
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.
The X11 program that I most highly recommend is GIMP (GNU Image Manipulation Program). It’s a great image editor that’s actually comparable in some ways to Adobe Photoshop. If you download it.
X11 Server Wsl
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.
X11 Server Log
Steps to get X11 Forwarding in macOS High Sierra
X11 Server Ipad
- 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. 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:
X11 Server Ios
- 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:
X11 Server
That’s it for today!