Hi, Both,
Thank you both very much for your advice. I did try the command separately, also both at the same time (copy and paste, so I have not changed anything - is this fine?),
echo "export DISPLAY=:0.0" >> ~/.bashrc
echo "setenv DISPLAY :0.0" >> ~/.cshrc
But none of them worked - the same error alarm: Initializing: X11Error: Can't open display. ++ AFNI is detached from terminal.
Per Rick's question, I am using SSH Secure Shell (https://www.ssh.com/ssh/). I am not sure what do you mean with "-X option applied". I installed this Xming long long ago, and it always worked in the past. I also recently downloaded and installed the X11 in another laptop. I am not sure how to ensure the -X option applied". Could you give me an example on this?
Thank you very much.
J