External Email - Use Caution
I don’t think you told us what you installed for freesurfer in WSL. The freesurfer installation should match the version of Ubuntu Linux that WSL installed. You can check the Ubuntu OS version in the Ubuntu terminal window with, $ cat /etc/os-releaseNAME="Ubuntu"VERSION="20.04..4 LTS (Focal Fossa)”. <—- Ubuntu OS version = 20ID=ubuntuID_LIKE=debianPRETTY_NAME="Ubuntu 20.04.4 LTS"VERSION_ID="20.04"HOME_URL="https://secure-web.cisco.com/1bVGj42N9EXVJFRZ7YL0IHj3ZYnjuVnNPLHNWkT-3uhiq6L7h9sN45hYiXV3Pd2V9J875qc-JBl9Tqt3UW2-YFbfENbpMYKffxCCGjQ06zKLwod7Q_JQGE4wByDfutTxeGYCmuIqtI7SzB9_uci0U9V-QpVsNxDUNY7O6guwj8kwphlSkuvBCTMIqfVNQGBtzzpsktGWscaG2P2EA1-qDf9FO8zMgdj_dAyVFJ9Im1k5JqsgNC7NsmMljgT3OXGo0Q7mPx-P0HD7xeLczNB1HHPTSPKpoLtCi8i2WDCK9BX5XQmIYzS7363K01hkUhjFoG8LeE6W-jm7kIAxmKjGU3g/https%3A%2F%2Fwww.ubuntu.com%2F"SUPPORT_URL="https://secure-web.cisco.com/12UtwR8986v4WnSkHQkzTHdLViFU2xy4D4gPieyqjFBGaUQm9SdqsxP46X32ln5PDRPOUrHicYocOH2L1hwKgbvD3w9U0VkIYbV4CTFhr6Hhf-nG5kKgj1fz-XIurMxIjURcu2gA5nuWphwwqE3ZkbtJc5Em2l6Em2rXM_Mv2hlsMTS9P3WR48Y5nkdBMkONJI824C3CsoHWluEVdL9mvzacA_M_i3BmabrSeQ0AZC_TY8_0tDgQZqLLYdI_FxemGPuGNG-8rZABngQkDjtZPbJW3yTUJrCgc-4EjIAKfaQvkA4H6wSmXbofi1e_KkuSD7R5KDW-hESL1Nqp-d1DwcA/https%3A%2F%2Fhelp.ubuntu.com%2F"BUG_REPORT_URL="https://secure-web.cisco.com/1ovllB_ySt3ww3AwjGhOIt_eu_N2HW4iWf5szA8QTOw55-PRuQZz3ZLpB4w7cxz3FrFMPPMH71GXeyyhNfXl0hvfucoA6lByiy6VU0_Gn61wilEzNPto1d7gUKGm-FIqG_iL-dlTfQuvVXqPPKNw15envffK_8vXlgDXKfU9B5sk_LqGtaSy_NnUMLobghmWkoB4fSLI-71vWMhOX15rguf4LkRNf7ZqZVdNI9J7TGLb1_FBxbcP97TQ4FnBmJqor_EUOvgjx3_ccpTyAAkjZYElwWzaVpz_v0ic0PZp9tPRitW-jqkrRYbI1AA21Dq6dFUzU2eMRjvYs8ZrtIZNnEA/https%3A%2F%2Fbugs.launchpad.net%2Fubuntu%2F"PRIVACY_POLICY_URL="https://secure-web.cisco.com/1gsSaM6y5sGY58Zoe__dEZ5uF1C7Q91HlD5GBMyNhKdRRciBtH5S1o48IydYVZJpfO4VDzGHjpxNm7cN_weTNNjndXUe-Wt_ExcsnbGitQtWH41HzTXNEr9kjBYnAC21Avcq_bECC792lqQO97bDGdh-X1ogJo4RvcMSzJzQFDLD0C1uGdANIb0skCCrS-1UaA6QcE0C2stQTchmfJpw0zqIS5VrVYWD8FSQqS4bC_EX01eSUdSmeLvv0pPOjv9ajiICZozd_7e2cjaCOH-CqfxTYt38iRuXKoA8P8vMD-HTZSfBrDTG-q4oTH2-yZkRzAN0VxYTZfe1jxneAvbnvGA/https%3A%2F%2Fwww.ubuntu.com%2Flegal%2Fterms-and-policies%2Fprivacy-policy"VERSION_CODENAME=focalUBUNTU_CODENAME=focal With the above version info, you can use the debian package installer (.deb file), e.g., from https://secure-web.cisco.com/1suBrY-ijWwnSebRIO5a6tmmiUPrI9YyHka5F3mVaW4EnbxeV7rRdvWIOMgbVvcZqj1zwLYm7MmIFr6q5tJwIbAg1f3RqAwcy6uPcrMadB7sC3jFtmy9Qx-Rk9wWABvuRmD6mYZdeowemlWPRRwxOO1v4Voh0hsTf_JphGDQ9UPmUtm_Bc31ftltQ2ZPxaMtRKNBbFEdtYbxDMrbYxkTA51NhX5PNWukbYyKXQ6iCm5VWhzPLL6cnFnPXhqMhUu21GttqYVbuyuuyqesW1KpjInNTju23w21vzESLlu4dN3lp8IMm4SmXcUWBHJ4YoXeM/https%3A%2F%2Fsurfer..nmr.mgh.harvard.edu%2Ffswiki%2Frel7downloads, that matches your version of Ubuntu. For Freesurfer 7.3.2 the choices are: freesurfer_ubuntu18-7.3.2_amd64.debfreesurfer_ubuntu20-7.3.2_amd64.debfreesurfer_ubuntu22-7.3.2_amd64.deb For the output above, you would choose freesurfer_ubuntu20-7.3.2_amd64.deb to match the version of Ubuntu Linux. … cd in Ubuntu linux to where you downloaded or copied in the freesurfer_ubuntu20-7.3.2_amd64..deb file …… and install it with ...$ sudo apt install ./freesurfer_ubuntu20-7.3.2_amd64.deb … and if the install succeeds then freesurfer would be installed under …/usr/local/freesurfer/7.3.2 … and to remove the install above you would do …$ sudo apt remove freesurfer If you didn’t use the “apt install” command above to install freesurfer, then I would remove your current copy of the ./freesurfer tree, and do the “apt install”. Then you could source the freesurfer setup script and try running freeview again. Microsoft can change the WSL environment without notice when your Windows machine updates. The version of Ubuntu linux installed in WSL depends upon when you set it up on your machine. We try to troubleshoot issues users report back to us, but we can’t always remotely debug every interaction between WSL, different X servers (X-ming, Moba Xterm) and your machines graphics card. We have written up some of workarounds at the bottom of this page, https://secure-web.cisco.com/1Wk9iTNOO9n-TGjUWv3BghCeFjAi82pV6d2_DiVsToobAk3JeVZwflclvI4UX-bexunNh4zfn2cUTgKsbqsCcQyA3h8A5mlBqdKhRa_w2nbR0RK13SVjyUWKuomeXRYT5EWIHJGYShx2_sV6OWd1zwMfUPGEPRUL0VThpkdKxzwUjFd-0s4uyLwMFszqKkVgB8Tvt8QKbllUDLHMXJarF6XeboFO1uhE5diy294c_TItL24tIgwITgkUl_uHG5bXQ3KY-U6TcyjlSQpj--lZMhaGdLlYpAlSUlDwbP-JuuN_V9-zo2Ku_9AJk2UyCNV-MKaZDfBg97tIyMeDNKtm4Ag/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FFS7_wsl_ubuntu But some users are not able to get a 3rd party X-server running on Windows to work with every graphics application they run in WSL. A simpler alternative is to use the VirtualBox VM as it has both freesurfer and an X-server pre-installed matching the OS provided in the VM. - R. On Oct 6, 2022, at 04:28, Justina Lee <justinale...@gmail.com> wrote: External Email - Use Caution To whom this may concern and can help, I am currently trying to run Freeview under the Windows Subsystem Linux System. I can successfully download and open images, but nothing seems to be showing on my end (see image attached at the end). In order to find out what is preventing the X-server from correctly displaying graphics, I have tried to run the $ xeyes command and the eyes pop up, meaning that the X-windows server is working fine.Upon checking the WSL Version, I am currently using the WSL version 2.I have entered the two commands as follows:$ echo "export XDG_RUNTIME_DIR=$HOME/.xdg" >> $HOME/.bashrc$ echo "export DISPLAY=:0" >> $HOME/.bashrcThen I exited Ubuntu, and tried to run freeview again (attempting to open a data file T1.mgz.) This still did not produce any image in freeview, although it opened it up. I tried changing the window, contrast, and brightness but to no avail. Is there another solution?Terribly sorry and thank you so much for your time.Sincerely,Justina <Freeview image display.png>_______________________________________________Freesurfer mailing listfreesur...@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline <https://www.massgeneralbrigham.org/complianceline> . Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.