Are you having trouble with a or encountered a security permission error during the installation?

Apple macOS stopped bundling its own X11 server after OS X Mountain Lion (10.8). Since then, Apple has directed users to the open-source project , which is the official X11 server for macOS.

launchctl load /Library/LaunchAgents/org.xquartz.startx.plist

Expected output: /opt/X11/bin/Xquartz