installation on Mac with intel chip:X11Error: Can't open display: /private/tmp/

I followed the installation instruction step by step, but still cannot start afni. I got the following error message:
Precompiled binary macos_12_x86_64: Feb 20 2024 (Version AFNI_24.0.07 'Caracalla')

** Version check disabled: AFNI_VERSION_CHECK forbids

I made sure that I used tcsh, restarted my Mac, and also re-installed xQuartz. Still the same thing

Thanks go to B Feige for advice and help

Initializing: X11Error: Can't open display: /private/tmp/

++ AFNI is detached from terminal.

can you help?

What is the output of:

launchctl getnev DISPLAY
  • rick