I've pasted the error message (and all the preceding command lines) below. I'm using the latest version of ubuntu in virtualbox. I made the .license file w/ pico, and it looks fine to me, but it's just not working.
Thanks for any help!
tracy
tracy@covet:~$ tcsh
covet:~> setenv FREESURFER_HOME /usr/local/freesurfer
covet:~> source $FREESURFER_HOME/SetUpFreeSurfer.csh
-------- freesurfer-Linux-centos4_x86_64-stable-pub-v4.5.0 --------
Setting up environment for FreeSurfer/FS-FAST (and FSL)
FREESURFER_HOME /usr/local/freesurfer
FSFAST_HOME /usr/local/freesurfer/fsfast
FSF_OUTPUT_FORMAT nii
SUBJECTS_DIR /usr/local/freesurfer/subjects
MNI_DIR /usr/local/freesurfer/mni
covet:~> more /usr/local/freesurfer/.license
tab2006@med.cornell.edu
8222
*CTAeXNprjJ6
covet:~> tkmedit bert orig.mgz
OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM.
--------------------------------------------------------------------------
ERROR: Invalid FreeSurfer license key found in license file /usr/local/freesurfer/.license
If you are outside the NMR-Martinos Center,
go to http://surfer.nmr.mgh.harvard.edu to
get a valid license file (it's free).
If you are inside the NMR-Martinos Center,
make sure to source the standard environment.
--------------------------------------------------------------------------
Hi Tracy,
it looks like there is some line before the email address, and before the other 2 lines as well. If you cat the .license they should show up as three consecutive lines with no blank lines between them. Try looking at it in emacs.
cheers Bruce
On Mon, 28 Dec 2009, tracy butler wrote:
I've pasted the error message (and all the preceding command lines) below. I'm using the latest version of ubuntu in virtualbox. I made the .license file w/ pico, and it looks fine to me, but it's just not working.
Thanks for any help!
tracy
tracy@covet:~$ tcsh
covet:~> setenv FREESURFER_HOME /usr/local/freesurfer
covet:~> source $FREESURFER_HOME/SetUpFreeSurfer.csh
-------- freesurfer-Linux-centos4_x86_64-stable-pub-v4.5.0 --------
Setting up environment for FreeSurfer/FS-FAST (and FSL)
FREESURFER_HOME /usr/local/freesurfer
FSFAST_HOME /usr/local/freesurfer/fsfast
FSF_OUTPUT_FORMAT nii
SUBJECTS_DIR /usr/local/freesurfer/subjects
MNI_DIR /usr/local/freesurfer/mni
covet:~> more /usr/local/freesurfer/.license
tab2006@med.cornell.edu
8222
*CTAeXNprjJ6
covet:~> tkmedit bert orig.mgz
OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM.
ERROR: Invalid FreeSurfer license key found in license file /usr/local/freesurfer/.license
If you are outside the NMR-Martinos Center,
go to http://surfer.nmr.mgh.harvard.edu to
get a valid license file (it's free).
If you are inside the NMR-Martinos Center,
make sure to source the standard environment.
freesurfer@nmr.mgh.harvard.edu