User Tools

Site Tools


documents:101213imagej_silent

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
documents:101213imagej_silent [2010/12/13 13:52] – created kotadocuments:101213imagej_silent [2011/12/15 13:26] kota
Line 1: Line 1:
 ====== ImageJ with fake X server ====== ====== ImageJ with fake X server ======
  
-Ruben found a way to setup fake X-server in server side, that one could use ImageJ silently from client. In a sense, ImageJ head is existing so it's not really headless but it might be even less problem than using headless.jar since the silent mode described below could handle awt instances within faxe-X so that ImageJ works as same as what you see on your local machine (but silently).+Ruben found a way to setup fake X-server in server side, that one could use ImageJ silently from client. In a sense, ImageJ head is existing so it's not really headless but it might be even less problem than using headless.jar since the silent mode described below could handle awt instances within fake-X so that ImageJ works as same as what you see on your local machine (but silently).
  
 Startup your ssh client (putty or so) and connect to a server. Foe example Startup your ssh client (putty or so) and connect to a server. Foe example
Line 10: Line 10:
  
 >setenv DISPLAY :1 >setenv DISPLAY :1
->Xvfp :1 &+>Xvfb :1 &
 (error, but return) (error, but return)
 then invoke ij such as then invoke ij such as
Line 18: Line 18:
 with this, nothing happens but imagej is running remotely. You could then pass macro or scripts by adding argument.  with this, nothing happens but imagej is running remotely. You could then pass macro or scripts by adding argument. 
  
-after finishing the process, terminate the Xvfp by+after finishing the process, terminate the Xvfb by
 >fg >fg
  
 to bring the X forward, to bring the X forward,
 then kill the session if you are done.  then kill the session if you are done. 
 +
 +An example command could be
 +<code>
 +fiji -macro whatevermacro.ijm
 +</code>
 +
  
  
  
documents/101213imagej_silent.txt · Last modified: 2016/05/24 12:46 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki