Please the flair is no longer displaying. The error says "couldn’t connect to display “172.17.107.49:0"”.
could you check the log file of Xming? (Right click on the icon on the task bar, then select View Log)
What is written in the line after XdmcpRegisterConnection:?
Thanks a lot for the prompt response.
The following is shown: XdmcpRegisterConnection: newAddress 172.31.176.1
you need to update the IP address in the file setting up DISPLAY environment variable with the command in the WSL’s Ubuntu terminal:
sudo nano /etc/profile.d/wsl.sh
Ctrl+S to save and CTRL+X to exit the editor. Then after restarting the terminal, Flair should work again.
By any chance do you have WSL2 installed?
Please check the output of this command in a Windows Command Prompt:
wsl -l -v
with WSL2, if you edit the
/etc/profile.d/wsl.sh file to have the line:
export DISPLAY="`grep nameserver /etc/resolv.conf | sed 's/nameserver //'`:0"
then the IP address will be automatically updated when you open Ubuntu.
Please remember, you instead of Xming, you need to start XLaunch and tick No Access Control.
Thank you so much for the help.