External Email - Use Caution        

Hello FreeSurfer Developers, According to your reply, I found that xeyes 
worked, but there was no license file. I thought the license file would be 
created automatically after installation of freesurfer, or by the command "echo 
"export FS_LICENSE=$HOME/license.txt" >> $HOME/.bashrc". Do I need to create a 
license file manually?


-----原始邮件-----
发件人:fsbuild <[email protected]>
发送时间:2021-11-17 10:16:00 (星期三)
收件人: [email protected]
抄送: [email protected]
主题: Re: [Freesurfer] freeview error after installation: Segmentation fault(core 
dumped) / free( ): invalid pointer, Aborted(core dumped)



        External Email - Use Caution        




Hello Xuxiao,



In a terminal window in Ubuntu running under WSL, please try just running a 
simple X windows program like xeyes to test that your X-server is running on 
Windows, 


$ xeyes


(see attachment for what it should look like)



Keep an eye out for a flashing X server icon at the bottom of your Windows 
desktop.  You may have to click on that flashing icon for the xeyes X window to 
open.  But if you can’t display something simple like xeyes with the X server 
on Windows 10, then freeview is not going to work.


If you installed the Xming X-server on Windows, then you should see an X icon 
on your desktop that you can click on to start the X-server.  And you can check 
you see the X icon in the “hidden” area at the bottom of the screen which shows 
the X server is running on Windows.  See the bottom of this page for how to see 
Xming is running and then scroll up to see the X windows desktop icon, 
MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" 
claiming to be 
https://secure-web.cisco.com/1ysFQMH5-3PjGsAtjRCyqR6tLEu576gjQo1Oa6S4YqfU8M46EFmftbnJSYl-FgENkNOcglwUy2Xl9QGw3VvItHf1he2SjG05OXmjKAFLxfAnISkt8daucJVpXy-As3Rc0D2D8Va9jiKZUk6Psp1pVAMfS7i2J58rC__U6sE3YyBjuF3BOq6p3CDxJnRa5_bNvA6sV681TFEzjLrpin9jEBf7vFH2x6C5lDqoy7HwHet9kh_iDPQR8JHOZJ7Ar9yQqEmu99IkGov2WCOD4Sc7TMg/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FFSL_wsl_xming


If xeyes works, then check your freesurfer license file can be found.  One way 
to do that is to set the environment variable FS_LICENSE to the absolute path 
to your license file.  So you could for example call your license file 
“license.txt” and copy it into your home directory (denoted by the environment 
variable $HOME).  You can also set FS_LICENSE in your shell init file.


$ cd $HOME
$ pwd
<output deleted>

$ ls license.txt
license.txt
$ export FS_LICENSE=$HOME/license.txt


… check it can be read …


$ cat $FS_LICENSE
<output deleted>


Now set FREESURFER_HOME, source the setup environment script as you did in the 
screenshot you sent below, and try running freeview with no arguments to see if 
a blank window opens.


$ freeview


Another thing to consider is to try and install the latest version of 
freesurfer (7.2.0) using the Ubuntu .deb package installer from 
https://secure-web.cisco.com/1vUB0SIgaD7Aa_vdzXHRIqptu1j91bTzpsQFynE-rpn8jtlbmWFgPyISNROG_qJ8dem80ftsxmCbMcDaNYkkwofPBMCsSJoFU_GgAlR5Wm4_8Tu0vSB2o9INcRCiPcoTfpjL2PaEG74OFXyxtMuznKOve4ZXqDmFZxJRYoBAiIzcQUxvahij6rnuzc6bFte271nbgV21-o4BGFQQbgXjZQvJxTrnNLTf57oW6xJHbmfZQgAh09PSnIey5MKTcUFBepNZfXwkrjkBhvT13UnkC0Q/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Fpub%2Fdist%2Ffreesurfer%2F7.2.0%2Ffreesurfer_7.2.0_amd64.deb
 and install it with,


$ sudo apt-get install ./freesurfer_7.2.0_amd64.deb


Then you should see 7.2.0 installed as something like 
/usr/local/freesurfer/7.2.0 which you would use for FREESURFER_HOME



- R.


On Nov 16, 2021, at 07:26, 许霄 <[email protected]> wrote:



        External Email - Use Caution        



Hello FreeSurfer Developers,

I can't access the website of archives, so I have to ask questions in this way. 
I installed freesurfer7-dev in Ubuntu18 in wsl according to the tutorials  
FS7_wsl - Free Surfer Wiki (harvard.edu) and FS7_wsl_ubuntu - Free Surfer Wiki 
(harvard.edu). After adding the license, when I tried to run the 'freeview' 
command to test if everything works well, an error popped out: Segmentation 
fault(core dumped). more information about my freesurfer environment is shown 
as attached. Could anyone help me figure it out? Thanks in advance.
<freeview-Segmentation fault.png>_______________________________________________
Freesurfer mailing list
[email protected]
https://secure-web.cisco.com/1dWhyPS-KCpAkRXuNYV7jS4mkrkxfdk1QgZeSNSZXoCHCB2tZDpVcM-PcBf0DyP-KP6IpEqpE-N16z2BGGt-O6PYFKC5qZLdawF7z_0U1JobUhDzHlV0D1hFCh98K4M5Sn0exWDqbsxx7kGaegwGIVHfoa8SImAtpO3K5tv4hh4Qo37QVudijFu8Utu793pa-Ae8PhKpQJJxS7wfgUWaYEbc1hSzEI5TjZFzE43KWdkjzjfIegVCgOsDOn6P-UBMpjxNyyOh0JoosBdpmBhDnAA/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer

_______________________________________________
Freesurfer mailing list
[email protected]
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to