-
Notifications
You must be signed in to change notification settings - Fork 25
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
Issue installing HNN #313
Comments
This looks like an x-forwarding issue. Have you ever encountered this @ntolley? |
@oldgandalf as suggested above, you likely need to enable x-forwarding: Unfortunately this needs to be done every time you restart your computer (unless you automate the program on startup), one of the downsides of using WSL but it is rather useful in every other sense. Let me know if you already tried this and I can see if I can reproduce the error another way. |
Hello @rythorpe and @ntolley. Thanks for your comments. |
Have you gotten any firewall pop ups @oldgandalf? I wonder if there was a recent update somewhere on the windows or ubuntu side that is preventing communication between your WSL environment and your x-client. |
Hi @rythorpe, No, not any firewall pop-ups. Windows is always installing updates. But just the normal ones. I just installed Ubuntu for this purpose, so I have not tested this Ubuntu installation. Is there a way to test that? Also, is Ok the way I used to install Ubuntu, as an option in the WSL? |
Admittedly I'm a bit stumped, can you try launching a GUI app buy typing
In the short term this should work fine. Another option is to try WSL2: You can automate the export of Definitely let us know what you decide! |
@ntolley Thank you very much for your hewlp. jbosch@DESKTOP-CGD5VDN:~/hnn_source_code/hnn_source_code$ firefox So, I think the problem is deeper. I will try to use the WSL2 or install a VMWare virtual machine. |
Hello
I just finished installing the HNN software, following the webpage. I installed Ubuntu 18.4 under Windows 10. I closed the WSL and opened it again. Then I try to run the HNN. Here is the image of the error I get.
Any thought?
Thanks
You can reply to me at: [email protected]
jbosch@DESKTOP-CGD5VDN:
$ export DISPLAY=:0 # WSL 1$ cd hnn_source_code_sourcejbosch@DESKTOP-CGD5VDN:
python3 hnn.pyjbosch@DESKTOP-CGD5VDN:~/hnn_source_code$ python3 hnn.py
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Aborted
jbosch@DESKTOP-CGD5VDN:~/hnn_source_code$ ls
CODE_OF_CONDUCT.md _config.yml data hnn_qt5.py pmanu_gamma.py tests
CONTRIBUTING.md _layouts dipolefn.py init.py ppsth.py ubuntu_install.log
DataViewGUI.py ac_manu_gamma.py example_analysis.py installer praster.py visdipole.py
Gemfile assets feed.py lfp.py praw.py vislfp.py
L2_basket.py averaging.py fileio.py loadmodel_nrnui.py pspec.py visnet.py
L2_pyramidal.py axes_create.py filt.py mod ptest.py vispsd.py
L5_basket.py cartesian.py gutils.py morphology.py requirements.txt visrast.py
L5_pyramidal.py cell.py hnn netParams.py res visspec.py
LICENSE cfg.py hnn.cfg network.py run.py visvolt.py
Makefile cli.py hnn.desktop nsgr.py scripts x86_64
PT_example.py clidefs.py hnn.png param seg3d.py
README.md conf.py hnn.py paramrw.py simdat.py
init.py ctune.py hnn_docker.sh params_default.py specfn.py
pycache currentfn.py hnn_nrnui.py plotfn.py spikefn.py
The text was updated successfully, but these errors were encountered: