On the off chance that you are using a Mac - I had a similar issue with X11 and tksurfer becoming unresponsive at the tkoInitWindow stage. I think this is because a recent OS X update broke X11. This update (from X11 2.5.4 to 2.6.5) fixed the problem for me:

http://support.apple.com/kb/DL1605


Cheers,

Johan


Dear Freesurfer experts,

I have a problem with Tksurfer. Whereas this worked previously fine it suddenly 
crashes every time I try to start it. This happens with every subject or 
fsaverage.

A similar problem was reported before with similar terminal output but 
unfortunately I could not find a solution to this problem in the mailing list.

Any suggestions are welcome!

Ruthger Righart






Hi Michelle,

hmmm, no idea. Do you want to upload the the subject and we'll see if we can 
replicate the problem? Do you have enough memory on that machine?

Bruce


On Mon, 19 Mar 2012, Michelle Umali wrote:

Hi Freesurfers,
I've been using Freesurfer for a while, and have had no trouble with
launching tksurfer.  But recently I have tried to view an inflated
hemisphere of a subject  I have had no problem viewing  before.  The window
no longer opens.  This the case for all of my subjects, with whom I have had
no previous problems. 

Any suggestions would be most welcome.

Thanks very much.
Michelle

Below is the terminal output.  After this it just returns to the prompt
without any error message..

/usr/local/freesurfer/subjects> tksurfer ld07 lh inflated
subject is ld07
hemi    is lh
surface is inflated
surfer: current subjects dir: /usr/local/freesurfer/subjects
surfer: not in "scripts" dir ==> using cwd for session root
surfer: session root data dir ($session) set to:
surfer:     /usr/local/freesurfer/subjects
checking for nofix files in 'inflated'
Reading image info (/usr/local/freesurfer/subjects/ld07)
Reading /usr/local/freesurfer/subjects/ld07/mri/orig.mgz
surfer: Reading header info from
/usr/local/freesurfer/subjects/ld07/mri/orig.mgz
surfer: vertices=160638, faces=321272
surfer: double buffered window
surfer: tkoInitWindow(ld07)


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


--
Johan Carlin, PhD
Research Associate
MRC Cognition & Brain Sciences Unit
15 Chaucer Road
Cambridge CB2 7EF
UK

johan.carlin@mrc-cbu.cam.ac.uk
+44 (0)1223 355294 ext 278