documents:101213imagej_silent
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| documents:101213imagej_silent [2010/12/13 13:52] – created kota | documents:101213imagej_silent [2016/05/24 12:46] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| 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 | + | 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 |
| 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 | ||
| + | < | ||
| + | fiji -macro whatevermacro.ijm | ||
| + | </ | ||
| + | |||
documents/101213imagej_silent.1292248349.txt.gz · Last modified: 2016/05/24 12:46 (external edit)
