X11Error: Can't open display :0.0

This is a new issue for my macbook which was working fine about a month ago. I'm running a local version of AFNI, but the GUI will not open.

I've reviewed all the other threads about this, and determined that I needed to add
setenv DISPLAY :0.0
to my .cshrc

However, that does not fix the problem, because I still get this error:
[LSI-02D52D0ML86:~] m699a262% afni &

[1] 2283

[LSI-02D52D0ML86:~] m699a262% Precompiled binary macos_10.12_local: Jan 15 2025 (Version AFNI_25.0.00 'Severus Alexander')

** Version check disabled: AFNI_VERSION_CHECK forbids

Thanks go to KR Hammett for useful feedback

Initializing: X11Error: Can't open display: :0.0

++ AFNI is detached from terminal.

When I click XQuartz in Applications, it bounces in the tray for a few seconds and then disappears. So, this leads me to wonder if this isn't an AFNI issue but might be something with my system.

I already tried reinstalling XQuartz using brew. Didn't work.

System configuration:
Macbook processor:
2.3 GHz Quad-Core Intel Core i7
macOS:
Sequoia 15.3

Thanks in advance!