AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
November 26, 2014 05:28AM
Hi,

a recently changed AFNI default is to auto-detach from terminal, which is probably more convenient for most users. There is just one small limitation if you use drive AFNI in a virtual X11 server environment (Xvfb) executed e.g. like this:
xvfb-run -a --server-args='-screen 0 1280x1024x24' afni -com 'SAVE_JPEG A.axialimage sss.jpg' -com 'QUIT'
> more details [afni.nimh.nih.gov]

If you use a fresh AFNI version, you potentially get the following error:
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":100"
after 16152 requests (16109 known processed) with 0 events remaining.


My bug fix was rather simple and easy to share - just add the flag '-no_detach' to the afni drive command and all works as in previous versions.
xvfb-run -a --server-args='-screen 0 1280x1024x24' afni -no_detach -com 'SAVE_JPEG A.axialimage sss.jpg' -com 'QUIT'

Bernhard
Subject Author Posted

drive AFNI in Xvfb mode requires no_detach

bernhard November 26, 2014 05:28AM

Re: drive AFNI in Xvfb mode requires no_detach

Emperor Zhark November 27, 2014 03:21PM

Re: drive AFNI in Xvfb mode requires no_detach

Peter Molfese November 28, 2014 10:25AM