External Email - Use Caution
If you search the freesurfer mail archives for WSL you should find postings about how to setup an X-server on the windows host in order for Linux applications to run in WSL and use X-Windows to display images. We provide some documentation, however we cannot guarantee these settings work with the current version of the 2nd iteration of WSL, i.e., WSL2, which you are running. See,https://secure-web.cisco.com/11H-L4FbGidKmZY-de-JntjYeQLAeVrQ1XgpdUHaMqg8CCo... Some people have found Moba X-term to be easier to setup and use compared to Xming for the X-server.https://secure-web.cisco.com/1wbbTwhirUX48Lj_j7Zcog0e6ACmMB4oLvaYMUSE6loHwKK... Before trying to run freeview, check that simple X-windows programs like “xclock” or “glxgears” run directly from the terminal window inside linux, i.e., you should see a clock displayed,$ xclock… and spinning gears ...$ glxgears An alternative to WSL is to run the VirtualBox VM we provide with freesurfer 7.2.0 pre-installed running on Ubuntu 18,https://secure-web.cisco.com/1vK-WU9hm5IesyZObbEUx1tWoPmNR_OvT3eg0YDwj-sSQIX... You can upgrade the VM from Ubuntu 18, to 20, etc…. Similarly you can uninstall freesurfer 7.2.0 and install the latest 7.4.1 rpm matching the Ubuntu OS you are running from the Freesurfer downloads page,https://secure-web.cisco.com/1m70yw-FWa8H1WUCpyYEQ2AgIFTjm9W5pcTX0PejadT4Xt5... Advantages to the VM are it will run (thru Virtualbox) on most Linux, Mac, or Windows hosts and since the X-server is built into the VM, there is no need to install and configure a 3rd party X-server on a Windows host. Some users have switched to VirtualBox because they found it easier to use. See,https://secure-web.cisco.com/1vK-WU9hm5IesyZObbEUx1tWoPmNR_OvT3eg0YDwj-sSQIX... - R.
freesurfer@nmr.mgh.harvard.edu