Jon,
Here are my findings.
-If I ssh from Mac to Linux everything works as expecting, meaning I am running tkmedit on the remote machine but displaying it on the Mac client, and it appears as I would expect.
-If I ssh from Mac to Mac I am able to call the tkmedit command but it displays on the server side, not the client. This is definitely some issue relating to X11 (I have X11forwarding set to yes) but I just cant seem to figure it out the exact setting needed to get it to display on the client side.
Of course neither of these replicates your error... In your case the image window opens, but the image window is blank (white). If anyone one the list has experienced something similar I would interested to discover what if any remedy exists.
-Zeke
On 06/11/2013 12:53 PM, Jon Wieser wrote:
thanks zeke
----- Original Message ----- From: "Z K" zkaufman@nmr.mgh.harvard.edu To: "Jon Wieser" wieser@uwm.edu Cc: "freesurfer" freesurfer@nmr.mgh.harvard.edu Sent: Tuesday, June 11, 2013 11:30:50 AM Subject: Re: [Freesurfer] tkmedit on ssh remote machine error
Hi Jon,
I myself have not been able successful running tkmedit over an ssh session using Mac as both client and server... But I know it can be done. There's a lot of factors involved, many to do with Xwindows/Xforwarding/XQuartz/ssh and have nothing to do with freesurfer. So its been a bit of a challenge to debug. Ill follow up as soon as I reasonable can.
-Zeke
On 06/11/2013 10:28 AM, Jon Wieser wrote:
hi Zeke, were you able to find a solution to my problem with running tkmedit on a remote machine? thanks Jon
----- Original Message ----- From: "Z K" zkaufman@nmr.mgh.harvard.edu To: "Jon Wieser" wieser@uwm.edu Sent: Thursday, May 30, 2013 1:42:41 PM Subject: Re: [Freesurfer] tkmedit on ssh remote machine error
Hmm that is a very strange error you are encountering. Im trying to duplicate the issue on my end. I only have one Mac 10.6 and one Mac 10.7 machine but Ill let you know what I find and hopefully I can come up with a solution.
-Zeke
On 05/30/2013 02:37 PM, Jon Wieser wrote:
both machines have Mac OS X 10.6.8
the tkmedit works fine when not logged in remotely there is no error and the brain image is there Jon
----- Original Message ----- From: "Z K" zkaufman@nmr.mgh.harvard.edu To: "Jon Wieser" wieser@uwm.edu Cc: "freesurfer" freesurfer@nmr.mgh.harvard.edu Sent: Thursday, May 30, 2013 12:16:55 PM Subject: Re: [Freesurfer] tkmedit on ssh remote machine error
Jon,
I have not seen or heard of this error before... are both machines Mac OSX 10.6.8? Also, will the same command will produce a brain image when not logged in remotely?
-Zeke
On 05/30/2013 12:43 PM, Jon Wieser wrote:
hi freesurfer folks
I'm ssh'ing to from one MAc to another X11 is on both machines MAC OS X 10.6.8
When I start TKmedit with: (freesurfer files are in the freesurfer directory)
tkmedit freesurfer brainmask.mgz -aux T1.mgz
I get the errors: Thu May 30 11:34:50 cerebrum.uwm.edu tkmedit.bin[78500] <Error>: kCGErrorIllegalArgument: _CGSFindSharedWindow: WID 349 Thu May 30 11:34:50 cerebrum.uwm.edu tkmedit.bin[78500] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged. Thu May 30 11:34:50 cerebrum.uwm.edu tkmedit.bin[78500] <Error>: kCGErrorIllegalArgument: CGSSetWindowSendExposed: Invalid window 0x15d Thu May 30 11:34:50 cerebrum.uwm.edu tkmedit.bin[78500] <Error>: unknown error code: invalid drawable error: xp_attach_gl_context returned: 2
tkmedit GUI opens and the image window opens, but the image window is blank (white) , (no image of the brain)
i have set X11forwarding to yes in the /etc/sshd_config file so xeyes works ok remotely Jon
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
freesurfer@nmr.mgh.harvard.edu