Page 1 of 1

Display environment error

Posted: Wed Nov 11, 2020 11:34 am
by malihaahmed
Hi, I've installed NEURON 7.8 on macOS Catalina (10.15.7) following all the steps in the guidelines including installing XQuartz (and also Xcode 12.1 to be able to compile the mod files). I can see when I drag and drop any hoc file or any folder with all the mod files etc, everything runs without error except for the following:

Warning: no DISPLAY environment variable.
--No graphics will be displayed.


I've tried to set the DISPLAY environment in the Mac terminal window using
export DISPLAY=:0
and then when I type in nrngui into the terminal, I can see the GUI windows appear. However, when I drag and drop any hoc files onto nrngui, I continue to see the DISPLAY environment error as described above. How can I resolve this?

Any help would be greatly appreciated.

Re: Display environment error

Posted: Mon Nov 23, 2020 6:53 am
by hines
XQuartz is one of those installations that requires one to logout and log back in in order to activate it.

Re: Display environment error

Posted: Mon Nov 30, 2020 7:02 pm
by malihaahmed
Ah- I overlooked that post-installation! Thank you so much- it's up and running now :)