I am getting this message when trying to start AFNI:
Initializing: X11Error: Can’t open display:
++ AFNI is detached from terminal.
Any ideas how to fix it?
Story behind:
AFNI Installed on Win10/WSL/Ubuntu a few months ago, without major problems (there was a dependency problem with encryption libraries, but good linux-knowing people helped me solve it)
I’ve been using AFNI since then, not very frequently, but usually keeping it open all the time (this is because in my hands AFNI loses most tweaks/settings between sessions, like data directories, added palettes, smoothing params, etc)
I’ve been alternating between using it locally and remotely, the latter via Windows Remote Destop from an off-campus location.
Last Wednesday, while AFNI was open, the machine restarted (probably a brief power outage).
I connected to it remotely, and AFNI would not start at all. When I typed afni it would say Command not found. Same when I tried to run AFNI update.
I ran AFNI install (remotely) and now it reports the X11Error as shown at the top.
I reinstalled VcXsrv Windows X Server, but nothing has changed.
I googled for answers and found posts that suggested that starting things remotely may be a problem (though the posts were about AFNI on Macs, so maybe not pertinent).
I went to the lab and started XLaunch and then AFNI locally, got the same error. Restarted the machine, tried again, same thing.
Can anyone help me please? (Side note, I know virtually nothing about linux, so please be very clear with instructions)