did you try to launch Flair directly from the WSL terminal?
Which X server (Xming, MobaXterm, etc.) are you using in windows?
Also, did you install flair and flair-geoviewer from the deb packages / repository, or did compile from source?
No, I launch Flair from Ubuntu Konsole using XRDP. When I tried launch Flair using WSL Terminal I got error:
*(flair.py:18201): Gdk-CRITICAL *: 15:48:45.742: gdk_cursor_new_for_display: assertion ‘GDK_IS_DISPLAY (display)’ failed no display name and no $DISPLAY environment variable
Please, try to follow guide below, by installing MobaXterm, and running the setup_wsl.sh script to set the $DISPLAY environment variable. This will allow to run Flair directly from the WSL Windows terminal.
that is strange. Try to update the installed packages of Ubuntu with:
sudo apt update
sudo apt upgrade
If it doesn’t work and you are not using WSL for other software, you could try resetting it (See section 5 of the guide) and reinstalling Flair (with the setup_wsl.sh script it is done automatically) and FLUKA.