# Bioimage Analysis Wiki

### Sidebar

EMBL BioImage Data Analysis

EuBIAS

NEUBIAS

Popularity Ranking

 RT @KuglerElisabeth: One question I often get is "How do I assess my segmentation?" Together with Andrik Bin Rampun, .@Timchico, and Paul… About 4 hours, 7 mins ago by: Kota Miura (@cmci_) RT @clairebrown514: @cmci_ We use https://t.co/J9y0625zRl . People still need to be convinced and reminded to put the #RRID in the acknowled… About 5 hours, 7 mins ago by: Kota Miura (@cmci_) RT @Coronin: Wonderful historical perspective from Tom Pollard: Landmarks in the discovery of a role for actin in cell locomotion https://t… About 13 hours, 44 mins ago by: Kota Miura (@cmci_) RT @IAMichaelNelson: @cmci_ @CCI_liv I recommended to my old core https://t.co/mOai5Zez5b . A "how to use our core facility" protocol and ma… About 19 hours, 6 mins ago by: Kota Miura (@cmci_) RT @cmci_: @CCI_liv It’s an idea. What would you say? There are journals that allows versioning, so it can be updated every time when there… About 19 hours, 24 mins ago by: Kota Miura (@cmci_) @CCI_liv It’s an idea. What would you say? There are journals that allows versioning, so it can be updated every ti… https://t.co/xz3xKR243j About 19 hours, 34 mins ago by: Kota Miura (@cmci_)
documents:101213imagej_silent

# 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 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

ssh YOURNAME@clnode336

You need to enter password, then

setenv DISPLAY :1
Xvfb :1 &

(error, but return) then invoke ij such as

imagej

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 Xvfb by

fg

to bring the X forward, then kill the session if you are done.

An example command could be

fiji -macro whatevermacro.ijm