hkroeger / insightcae

InsightCAE
http://silentdynamics.de
80 stars 15 forks source link

Issue with XMing #11

Open AndrewLindsay opened 4 years ago

AndrewLindsay commented 4 years ago

When I try to start workbench, I get the error : QXcbConnection: Could not connect to display Aborted (core dumped)

I am using Windows 10, Ubuntu subsystem, as per all the previous installation steps.

hkroeger commented 4 years ago

Hi Andrew, thanks for the report. We are investigating the issue.

zommuter commented 4 years ago

Works for me using WSL2 and VcXsrv and DISPLAY=$(grep -m 1 nameserver /etc/resolv.conf | awk '{print $2}'):0 (as per https://discourse.ubuntu.com/t/getting-graphical-applications-to-work-on-wsl2/11868 and see also https://github.com/microsoft/WSL/issues/4106, though there seems to be some inconsistency whether I need to append an explicit screen selection .0 to that). LIBGL_ALWAYS_INDIRECT=1 is also necessary at least using WSL2.

hkroeger commented 4 years ago

Thank you for the hint!