External Email - Use Caution
Hi, when I try to use freeview on ubuntu under WSL, I’m getting a brief show of a X window and then an ABORT.
I’m running in ubunto 22.04 (jammy) under WSL on windows using an Xming 6.9.0.31
xMing is configured with a X11 server on localhost:0.0
I did a clean install of ubunto using:
Cmd> wsl –install ubuntu
Then in ubunto:
$ sudo apt update -y
$sudo apt-get upgrade -y
$sudo apt install x11-apps
$sudo apt install xterm
I installed freesurfer using:
$sudo apt install ./freesurfer_ununtu22-7.3.2_amd64.deb
Then added:
$export DISPLAY=”:0.0”
$export FS_LICENSE=<location of my license file>
$export FREESURFER_HOME=/usr/local/freesurfer/7.3.2
$export XDG_RUNTIME_DIR=/home/<myaccount>/.xdg
$export SUBJECTS_DIR=<location of subjects>
$source $FREESURFER_HOM/SetUpFreeSurfer.sh
$ freeview
Aborted
$sudo apt install gdb
$gdb freeview
(gdb) run
An Xwindow pops up which is blank/black that has the title “FreeView”.
And gdb reports:

I’m sort of stuck… any idea what to try next?
Keith Moore