In order to run Xorg apps on macOS you will need to install xquartz
and configure it:
brew install --cask --no-quarantine xquartz
defaults write org.xquartz.X11 nolisten_tcp -bool false
defaults write org.xquartz.X11 no_auth -bool false
mkdir -p ~/.xinitrc.d