imagej DISPLAY environment

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

imagej DISPLAY environment

Lucy W Upchurch
Hi,

We are trying to run imagej on a remote computer (mac Leopard OS) and
display the images on a local computer (another mac) via ssh.  I have set
my environment variable to the local machine when I ssh to the remote
machine.  I can do an XClock or Xeyes on the remote machine and it displays
on the local machine.  However, if I run imageJ, my images are displayed on
the remote computer, not my local machine.  I can not change the shell to
anything else as tcsh is required for other scripts/programs.  Any ideas on
how to get java to change the DISPLAY setting?  Thanks.

Lucy








                 Lucy Upchurch
      DUMC Center for InVivo Microscopy-+
        Bryan Research Building Rm. 129
                 Research Drive
         Durham, North Carolina  27710
            Telephone:  919-684-7781
              Pager: 919-970-1893

         email:  [hidden email]
         http://www.civm.duhs.duke.edu







Reply | Threaded
Open this post in threaded view
|

Re: imagej DISPLAY environment

Philip Ershler
On Feb 24, 2009, at 11:13 AM, Lucy W Upchurch wrote:

> Hi,
>
> We are trying to run imagej on a remote computer (mac Leopard OS) and
> display the images on a local computer (another mac) via ssh.  I  
> have set
> my environment variable to the local machine when I ssh to the remote
> machine.  I can do an XClock or Xeyes on the remote machine and it  
> displays
> on the local machine.  However, if I run imageJ, my images are  
> displayed on
> the remote computer, not my local machine.  I can not change the  
> shell to
> anything else as tcsh is required for other scripts/programs.  Any  
> ideas on
> how to get java to change the DISPLAY setting?  Thanks.
>
> Lucy

What you are referring to with XClock and Xeyes is the X11 protocol.
ImageJ in Windows and OS X has nothing to do with X11. With
OS X 10.5.X you would have the option of using screen sharing
to do your task.

HTH,

Phil
Reply | Threaded
Open this post in threaded view
|

Re: imagej DISPLAY environment

Jeffrey B. Woodward
In reply to this post by Lucy W Upchurch
There was a posting about this near issue on the ImageJ mailing list not
too long ago. The short version of the answer is that Apple's native
Java *is not* an X-windows application but rather a native Apple
application that uses Aqua; Aqua can't be tunneled in this way (and
maybe it can't be tunneled at all, idk). There are alternate Java
distributes that you may consider; I know of no other workarounds short
of sharing the entire desktop from one system to another.

FYI: You may find it revealing to google for a few key search terms such
as: tunneling apple java display

Good luck,

-Woody


Lucy W Upchurch wrote:

> Hi,
>
> We are trying to run imagej on a remote computer (mac Leopard OS) and
> display the images on a local computer (another mac) via ssh.  I have set
> my environment variable to the local machine when I ssh to the remote
> machine.  I can do an XClock or Xeyes on the remote machine and it displays
> on the local machine.  However, if I run imageJ, my images are displayed on
> the remote computer, not my local machine.  I can not change the shell to
> anything else as tcsh is required for other scripts/programs.  Any ideas on
> how to get java to change the DISPLAY setting?  Thanks.
>
> Lucy
>
>
>
>
>                                                
>                                                
>                                                
>                                                
>                  Lucy Upchurch                  
>       DUMC Center for InVivo Microscopy-+      
>         Bryan Research Building Rm. 129        
>                  Research Drive                
>          Durham, North Carolina  27710          
>             Telephone:  919-684-7781            
>               Pager: 919-970-1893              
>                                                
>          email:  [hidden email]        
>          http://www.civm.duhs.duke.edu         
>                                                
>                                                
>                                                
>                                                
>
>
>
>
>
>  
Reply | Threaded
Open this post in threaded view
|

Re: imagej DISPLAY environment

Colin Poczatek
I think Woody and Philip are both right
I haven't tried this but VNC might be the easiest solution.

Turn on "Desktop Sharing" (VNC) on 10.4 and up.
http://www.dssw.co.uk/blog/2007/05/14/a-vnc-server-is-included-in-mac-os-x-104/

Chicken of the VNC (VNC client).  Which I've used to VNC to linux boxes
and it works well.
http://sourceforge.net/projects/cotvnc/


Jeffrey B. Woodward wrote:

> There was a posting about this near issue on the ImageJ mailing list
> not too long ago. The short version of the answer is that Apple's
> native Java *is not* an X-windows application but rather a native
> Apple application that uses Aqua; Aqua can't be tunneled in this way
> (and maybe it can't be tunneled at all, idk). There are alternate Java
> distributes that you may consider; I know of no other workarounds
> short of sharing the entire desktop from one system to another.
>
> FYI: You may find it revealing to google for a few key search terms
> such as: tunneling apple java display
>
> Good luck,
>
> -Woody
>
>
> Lucy W Upchurch wrote:
>> Hi,
>>
>> We are trying to run imagej on a remote computer (mac Leopard OS) and
>> display the images on a local computer (another mac) via ssh.  I have
>> set
>> my environment variable to the local machine when I ssh to the remote
>> machine.  I can do an XClock or Xeyes on the remote machine and it
>> displays
>> on the local machine.  However, if I run imageJ, my images are
>> displayed on
>> the remote computer, not my local machine.  I can not change the
>> shell to
>> anything else as tcsh is required for other scripts/programs.  Any
>> ideas on
>> how to get java to change the DISPLAY setting?  Thanks.
>>
>> Lucy
>>
>>
>>
>>
>>                                                
>>                                                
>>                                                
>>                                                                  Lucy
>> Upchurch                        DUMC Center for InVivo
>> Microscopy-+               Bryan Research Building Rm. 129        
>>                  Research Drive                          Durham,
>> North Carolina  27710                      Telephone:
>> 919-684-7781                          Pager:
>> 919-970-1893              
>>                                                          email:
>> [hidden email]                
>> http://www.civm.duhs.duke.edu         
>>                                                
>>                                                
>>                                                
>>                                                
>>
>>
>>
>>
>>  



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.