External Email - Use Caution
Dear Freesurfer community:
I've been trying so hard to install your Freesurfer software on my computer. I followed all the instructions (of windows subsystem for Linux install and setup by WSL). I finally get writing the code but at the last steps ($freeview and then changing the Xming hosts file from the windows side to contain my IP address) still don't work. It still not connecting to display but it detect the IP. Please could you help me? I'll attach a photo of the final steps that I'm referring (those at your web https://secure-web.cisco.com/1WV7Cdioq6kj3slC7muFCJEaztv3vP3PVEC9wjnYKOWbs_O...).
Thank you very much and i hope you will be able to answer soon,
Maite
External Email - Use Caution
Hi Maite, Apologies, forgot the final step in my last email - make a shortcut to the new 'config.xlauch' file and use this shortcut to start Xming when needed. You can also put the shortcut in your Windows start up folder if you would prefer Xming to start whenever Windows boots up (see: https://secure-web.cisco.com/1S3WrI1po1H5aOL8dIUWcbTzycoP0S2KBxXHtIlj16cwhd5...) for the steps.
Hope this helps.
Andrew ---- *Andrew Beaudin, PhD* | Postdoctoral Scholar University of Calgary | Cumming School of Medicine Department of Clinical Neurosciences HSC Rm 2935J, 3330 Hospital Drive N.W. | Calgary, AB | T2N 4N1 Phone: (403) 210-6273
-------------------------------------------------------------------------------------------------------------- *From:* Andrew Beaudin [mailto:abeaudin@ucalgary.ca] *Sent:* Tuesday, July 19, 2022, 09:52 *To:* a904665@alumni.unav.es *Cc:* freesurfer@nmr.mgh.harvard.edu *Subject:* [Freesurfer] Error connecting Ubuntu 18 to X-server Xming
Hi Maite, I just set my Ubuntu system up last night. The solution for me was to start XLaunch and on the 3 step (Specify parameter settings), check the "No Access Control", then save the configuration file. You will get a warning about using the '-ac' flag, but it was the only way I could get Xming to work properly.
Then in my .bashrc file, I added the following lines to automatically load the display IP address:
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0.0
Remember, when you modify the Xming configuration file through XLaunch, make sure that Xming is not running or the updated config file will not be saved.
Hope this helps.
Andrew ---- *Andrew Beaudin, PhD* | Postdoctoral Scholar University of Calgary | Cumming School of Medicine Department of Clinical Neurosciences HSC Rm 2935J, 3330 Hospital Drive N.W. | Calgary, AB | T2N 4N1 Phone: (403) 210-6273
freesurfer@nmr.mgh.harvard.edu