Skip to content

Conversation

oesteban
Copy link
Contributor

This PR fixes #1155. Additionally, CommandLineInterface has been also modified to be run with the xvfb-run script.

  • Two tests checking 1) BaseInterface redirection, and 2) CommandLineInterface after this change.
  • The code may fail when running many BaseInterfaces at the same time, but at least the workflow doesn't fail.

Question: maybe the approach should be opening just one virtual display and redirecting all the nodes with redirect_x in the host to that display. What do you think? Currently, a lot of new virtual displays need to be open, but only one per host is enough.

@satra
Copy link
Member

satra commented Jul 29, 2015

yes, i think each host should open a single display. we could check if there is a host display running under the users uid. would probably need some local locking mechanism to ensure two jobs don't start creating displays concurrently.

@oesteban
Copy link
Contributor Author

Should we merge this as a temporary patch? Is there a place to list the different feature requests apart from the issue tracker?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since we are moving this, i think this could be a standalone function.

satra added a commit that referenced this pull request Jul 29, 2015
[FIX] Improve redirections of X
@satra satra merged commit afae53c into nipy:master Jul 29, 2015
@oesteban oesteban deleted the fix/RedirectX branch July 29, 2015 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants