-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
SystemExit Exception #154
Comments
Seeing the same issue: App closed because the X server service fails.
|
Hmm. Is this only on exit @jrtokarz ? |
@Pololot64 no, this is on starting GWSL |
After the 1.4.5 update, it stopped working for me with this same issue, Installed through the windows store version Dashboard log is empty service log
happy to provide with any other info |
Could you upload your settings file? (Make sure there is no personal info in it first) |
is it the settings.json file stored in the same dir as logs ? (i.e at %AppData%/GWSL/), I suppose so |
Wait. Is gwsl failing to run or are Linux apps failing to run? |
It appears the gwsl is giving those errors when it starts, basically, when I run gwsl at the windows startup it appears in the tray but viewing its logs shows the above errors. Opening wsl and running GUI apps don't work either and don't add any errors to the log. exiting the gwsl from the tray and relaunching it again appends same error in the log. I do have enabled the wslg GUI in the .wslconfig file but the shell configuration by default exports the DISPLAY to point to GWSL, DISPLAY=:0 xclock they run successfully in wslg |
Can you re-verify that gwsl is allowed through the firewall? That is likely the issue. (See the manual for details or click the button in GWSL Dashboard / about ) |
I rechecked the firewall settings, looks like I've allowed it, for good measure I allowed all gwsl and related apps both public and private access then exited and restarted gwsl. Still does not seem to work and produce same errors in the log. |
Well one thing I know is that the issue is kind of "fake" because GWSL tends to spam that error message. It generally means nothing. I can fix it but since it does not affect functionality I don't have time at the moment. So, just to clarify, GWSL is not crashing in any way? It may also be wslg conflicting with it. I would recommend disabling it to check. |
ok i'll try to reinstall gwsl and also try disabling the wslg and see if it works. |
Disabled wslg, reinstalled Gwsl, restarted the system but still cant make it work unfortunately |
I'll do some more thinking 🤔 |
Are you using a VPN anywhere or anything? |
no, I am not using VPN. |
only thing i remember that may have effect is updating gwsl from store, otherwise I had running it fine and had no other environmental change whatsoever |
Now that wslg is disabled, what error do you get if you launch a GUI app directly from bash? |
when i launch an gui app through bash it does nothing just get stuck, no window pops up nothing, |
This is really strange. I know the xclock works so this makes it more strange. Maybe the new vcxsrv backend version has a bug. I doubt it but maybe |
i tried with xclock it hunged, so left it and after some time exited with
|
Aha... this is good information. Can you ping that IP address from inside wsl? Also, is your distro wsl1 or wsl2? |
its wsl2 and display was exported through the function auto inserted by GWSL in bashrc. ping output
it then hangs |
Aha. This is incredibly unrelated to the GWSL update then. I know you did it before but go into firewall settings and delete all rules related to GWSL. Something has likely gotten messed up. |
ok so there were multiple entries in the firewall for GWSL VCXsrv windows server HIDPI so I removed all except one and now it worked |
Awesome :) |
so what was the issue? how did those entries came there in first place, was it due to update or just some coincidence? |
Any way glad to have this finally sorted out and work. Thank you so much for the support here hope you have an awesome day. |
What happens is that sometimes, after an update, Windows detects GWSL as a new program and asks you to allow it through again. That second prompt can be easy to miss. It causes 90% percent of problems. |
Yes the rules will come back when you start GWSL the next time and give public access when it gives the prompts. Glad to help. Have a wonderful day too. |
If in windows I click the Exit button I got the following exception:
GWSL version 1.4.0 from Microsoft store
the issue could be here?
GWSL-Source/manager.py
Lines 1222 to 1227 in 20e53a8
The text was updated successfully, but these errors were encountered: