Flair couldn't connect to display (Docker)

Continuing the discussion from Flair can't connect to display using WSL2:


I followed the detailed instructions to download Fluka for Docker and after enabling Xming & Docker through Windows Firewall and launching Xming (via Xlaunch as indicated) I get a similar message to the one indicated in the aforementioned topic above, i.e. Error: couldn’t connect to display “”.

Unfortunately the instructions provided to solve this kind of problem, detailed on the topic above wont work in my case… Adding the line:

export DISPLAY="grep nameserver /etc/resolv.conf | sed 's/nameserver //':0"

to the /etc/profile.d/wsl.sh file, wont make a difference. Any further instruction would be gratefully accepted.

Thanks in advance.

Dear Nikos,

“Fluka for Docker” is not released or supported by CERN. To see the supported FLUKA versions on this Forum, please see. https://fluka.cern/

For installing on Windows, please follow these instructions: Installing FLUKA/Flair on Windows 10 using WSL | The official CERN FLUKA website