AFNI crashes from terminal!

Rick,

Hmm, didn’t work either: [spower48@du-hpc ~]$ ssh -X node37
Warning: No xauth data; using fake authentication data for X11 forwarding.
Last login: Mon Jun 1 12:10:10 2020 from du-hpc
[spower48@node37 ~]$ module load apps/afni-19.2.04
[spower48@node37 ~]$ afni
Precompiled binary linux_openmp_64: Jul 19 2019 (Version AFNI_19.2.04 ‘Claudius’)

** Version check disabled: AFNI_VERSION_CHECK forbids
Thanks go to W Gaggl for useful feedback

Initializing: X11Error: Can’t open display: :0.0
++ AFNI is detached from terminal.
[spower48@node37 ~]$ cd ‘/data2/psychology/kimlab/fmri/Analysis/IDEA/InfantCry/ShP_PastDep’
[spower48@node37 ShP_PastDep]$ afni
Precompiled binary linux_openmp_64: Jul 19 2019 (Version AFNI_19.2.04 ‘Claudius’)

** Version check disabled: AFNI_VERSION_CHECK forbids
Thanks go to K Kuhns for great efforts

Initializing: X11Error: Can’t open display: :0.0
++ AFNI is detached from terminal.
[spower48@node37 ShP_PastDep]$

Can you run any other X11 program? I suspect not. Try running “gedit” for example.

This may be something you have to verify with your HPC group, or someone that has done similar things.

  • rick

[spower48@node37 ShP_PastDep]$ gedit

(gedit:6634): Gtk-WARNING **: 13:05:01.301: cannot open display: :0.0
[spower48@node37 ShP_PastDep]$

Unfortunately it looks like I can’t, I seem to be the only one having this issue! I will check in with them and see if they have any suggestions. Thanks Rick!

Shannon

it didn’t work but I can make it work if I type

export DYLD_LIBRARY_PATH=/opt/X11/lib/flat_namespace
afni

I guess I will always do it in this way haha

Thank you Rick for your time

It is strange that it does not work. It might require actually rebooting the computer.

If you would like me to look at the dot files, please feel free to run:

afni_system_check.py -dot_file_pack dotfiles

and send me the resulting dotfiles.tgz via email.

  • rick