Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bad X server connection for WMA pipeline #24

Open
kavandeloo97 opened this issue Jul 5, 2024 · 3 comments
Open

bad X server connection for WMA pipeline #24

kavandeloo97 opened this issue Jul 5, 2024 · 3 comments

Comments

@kavandeloo97
Copy link

Hi there, I get the following error when attempting to run the first step in the WMA pipeline (https://whitematteranalysis.readthedocs.io/en/latest/subject-specific-tractography-parcellation.html). I do personally have XQuartz running on my local, but I am assuming this is related to the docker. Any insight is appreciated!

(pnlpipe3) [root@49026ee06aa7 dwi]# wm_quality_control_tractography.py /home/pnlbwh/myData/test-jun16/sub-HV101/ses-01/dwi/ukf/ /home/pnlbwh/myData/test-jun16/sub-HV101/ses-01/dwi/WMA
Importing whitematteranalysis package.
<quality_control> Starting...
<quality_control> Found 1 subjects in input directory: /home/pnlbwh/myData/test-jun16/sub-HV101/ses-01/dwi/ukf/
<quality_control> Testing all files for quality control (computing fiber length measurements and rendering to make sure header and gradient orientations are ok).
<quality_control> See the README.txt file in the output directory for more overview information.
Subject 1 / 1 ID: sub-HV101_ses-01_desc-UnXc_dwi_EdEp
ERROR: In ../Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx, line 452
vtkXOpenGLRenderWindow (0x55c3b7a1cc70): bad X server connection. DISPLAY=Aborted
(pnlpipe3) [root@49026ee06aa7 dwi]#

@tashrifbillah
Copy link
Contributor

Very normal. It won't run in a headless mode. You need to have GUI or GUI server for this.
Install WMA directly in your Linux computer and run it there.

@kavandeloo97
Copy link
Author

Thanks. Can it be run on a Mac?

@tashrifbillah
Copy link
Contributor

Ask whitematteranalysis folks. Sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants