I am reviving this thread because I ran into the same problem though in a new installation and under different circumstances.
So I just installed AFNI on a windows computer, using instructions from
[
afni.nimh.nih.gov]
and
[
afni.nimh.nih.gov]
The installation went kind of OK, bdrm would not install despite trying the suggested fix
(If you are using Windows Subsystem Linux (WSL), and/or if your ‘brms’ package fails to install (as checked in the “Evaluation” step below)...), but I googled around, tried other solutions, and ultimately
afni_system_check.py -check_all said:
========================= summary, please fix: =========================
* just be aware: login shell 'bash', but our code examples use 'tcsh'
But if I try:
afni
I get
Precompiled binary linux_ubuntu_16_64: Nov 12 2020 (Version AFNI_20.3.02 'Vespasian')
** Version check disabled: AFNI_VERSION_CHECK forbids
Thanks go to MM Klosek for inspiration
Initializing: X11Error: Can't open display: :0.0
++ AFNI is detached from terminal.
And yes I did start VcXsrv \ XLaunch prior to starting Ubuntu.
Here is other possibly relevant info:
Windows
Microsoft Windows 10 Enterprise 10.0.20262 Build 20262
wsl --status
Default Distribution: Ubuntu-18.04
Default Version: 2
Windows Subsystem for Linux was last updated on 11/26/2020
Kernel version: 5.4.72
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
I did run
echo "export DISPLAY=:0.0" >> ~/.bashrc
echo "setenv DISPLAY :0.0" >> ~/.cshrc
echo "export NO_AT_BRIDGE=1" >> ~/.bashrc
echo "setenv NO_AT_BRIDGE 1" >> ~/.cshrc
and closed Ubuntu terminal afterwards (also restarted the computer)
$ echo $DISPLAY
:0.0
echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program Files/WindowsApps/CanonicalGroupLimited.Ubuntu18.04onWindows_1804.2020.824.0_x64__79rhkp1fndgsc:/mnt/c/Program Files/Python38/Scripts/:/mnt/c/Program Files/Python38/:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/mnt/c/ProgramData/Oracle/Java/javapath:/mnt/c/Program Files (x86)/Common Files/Intel/Shared Files/cpp/bin/Intel64:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/Program Files/MATLAB/R2020a/bin:/mnt/c/Program Files/MATLAB/R2019a/bin:/mnt/c/Program Files/MATLAB/R2019a/bin/win64:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/Pawel/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/Pawel/AppData/Local/Microsoft/WindowsApps:/snap/bin:/home/pawel/abin
I would be grateful for any suggestions how to fix it.
I also have an unrelated question:
The instructions for installing AFNI on windows only mention Ubuntu 16.04 and 18.04. But after I installed specifically Ubuntu 18.04 and AFNI, I saw that you are also providing instructions for installing AFNI on Ubuntu 20.04. Is there any reason why one should not install AFNI on Ubuntu 20.04 on Windows/WSL - or is it just an oversight and the link to 20.04 instructions has not been added to Windows instructions?
P.S. funny I am posting exactly 2 years after the previous post in the thread
Edited 1 time(s). Last edit at 11/26/2020 05:18PM by Pawel.