External Email - Use Caution        

 
The info at the end of this posting about updating sshd_config in your Linux image might be helpful if you have not already tried it (enable X-forwarding, use local X11  host)
https://stackoverflow.com/questions/62363023/x11-forwarding-from-wsl2-fails

You could try updating WSL which I don’t think is updated along with the OS..  Looks like that command is,

 wsl —update

Some postings indicate that WSL2 now has its own X-server, WSLg,  but that it does not work as well as VcXsrv,
https://www..reddit.com/r/wsl2/comments/172urvu/wsl2_no_longer_requires_xserver_few_questions/

Another posting about using WSLg is,
https://superuser.com/questions/1682522/gui-apps-not-working-in-wsl2-for-windows-11

If the above does not work, maybe try uninstalling and re-installing VcXsrv.

-R.

On Jun 18, 2024, at 06:56, yunus soleymani <soleymani.yunus@yahoo.com> wrote:

        External Email - Use Caution        


hi everyone, 
recently after a major Windows 11 update, I can not launch Freeview in my WSL Ubuntu machine despite having VcXsrv working in the background,  and encountered the following error:

 
QXcbConnection: Could not connect to display 10.255.255.254:0
Could not connect to any X display.


do you have any idea to troubleshoot this error?

I appreciate any help you can provide
Best,
Yunus



_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer