External Email - Use Caution
Hello Maaike, If you have not already done so, I would try, $ export DISPLAY=:0.0 See if you get the same IP address you used below from the ip route command. If you don’t see the ip command is installed with, $ which ip/bin/ip … then sudo (or as root) to install it by doing, $ sudo apt install iproute2 … when done you should see $ which ip/bin/ip Then see what you get for an IP address with the command below. Just as an example let’s say the result was 172.40.20.10 $ ip route|awk '/^default/{print $3}'172.40.20.10 If you get a different IP address as the result from the ip command compared to the IP address you already tried setting in DISPLAY, then try setting DISPLAY with the above address - appending :0.0 to it, e.g., using my pretend IP address result, $ export DISPLAY=172.40.20.10:0.0 If this does not work with Xming, then try using MobaXterm. Some people have found MobaXTerm to be more reliable and easier to setup compared to Xming. https://secure-web.cisco.com/1PqVMG91VpcP_-hOrawBKaVjEi3Gmb_gU5j7isLHOirjuOJ... FYI, if you are OK with running Freesurfer 7.2.0, then if you have not already done so, I would suggest you try installing and running the Ubuntu 18 Freesurfer debian package on Ubuntu 20. … download from,https://secure-web.cisco.com/1rvaTELxM79WMd_dCOCgo8HxuoY20rI0XiWNF-o3ojqojnZ... … then to install$ sudo apt install ./freesurfer_7.2.0_amd64.deb - R. On May 2, 2022, at 15:32, Maaike Oosterling <maaikeoosterling@hotmail.com> wrote: External Email - Use Caution Hello everyone,As I currently do not have any access to university servers, I am trying to install Freesurfer on my own personal Windows laptop, mostly just to experiment in between doing actual studies.I followed the FS7_wsl_ubuntu guide, running it on WSL2/Ubuntu 20 and as I am not really that good with computers at all, I was already impressed with myself I got this far... until I hit the error predicted in the guide. I followed the guide's steps to edit $DISPLAY and I have also edited the Xming X0.hosts file to represent my own localhostmaaikeo@LAPTOP-EA4GL46K:/mnt/c/Program Files (x86)/Xming$ cat X0.hostslocalhost172.27.128.1maaikeo@LAPTOP-EA4GL46K:~ echo $DISPLAY172.27.128.1:0Yet I am still getting the same error as before (although I feel the 'No protocol specified' is new....)maaikeo@LAPTOP-EA4GL46K:~$ freeviewNo protocol specifiedQXcbConnection: Could not connect to display 172.27.128.1:0Could not connect to any X display.I've looked all over and have found numerous threads that slightly relate to this issue, but none of the fixes listed there. I have double checked my Xming install and it is definitely running in the background.. Is there anything I might have missed? Or is this an indicator that my laptop is just not up for the task?Thanks in advance!Maaike Oosterling_______________________________________________Freesurfer mailing listFreesurfer@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer