GWSL-Source
GWSL-Source copied to clipboard
Apps Cannot Connect to GWSL Xserver? Allow GWSL through the firewall.
Hi, today all ubuntu application are not starting, I suppose there was an updated since I see some changes in the dashboard. In any case while checking the logs I noticed the following message:
service.log
2021-05-25 14:18:42,761 - __main__ - ERROR - Exception occurred - Cannot Start Service. Make sure the settings file is not corrupted.
Traceback (most recent call last):
File "main.py", line 561, in main
SystemExit
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "main.py", line 642, in <module>
File "main.py", line 567, in main
SystemExit
I didn't make any changes to the settings file and at the same time I don't see any issue with it
{
"conf_ver": 4,
"general": {
"clipboard": true,
"start_menu_mode": false,
"shell_gui": "cmd",
"acrylic_enabled": true
},
"graphics": {
"window_mode": "multi",
"hidpi": true
},
"putty": {
"ip": null,
"ssh_key": null
},
"distro_blacklist": [
"docker"
],
"app_blacklist": [
"exampleblock"
],
"xserver_profiles": {
"Plain VcXsrv": []
}
}
dahsboard.log is empty instead
Huh.. Do you see any errors when you start GWSL but run the programs from bash directly?
Maybe try right clicking the systray menu --> Log and Configuration Cleanup.
Also, Dashboard --> GWSL Distro Tools --> Distro --> and export the display again.
I added audio support in this update which means it should have asked you to allow it through the firewall too. If this is being blocked by the firewall or av, it may be causing a crash. To allow it through the firewall: Dashboard --> About --> Allow GWSL through the Firewall.
(And make sure pulseaudio has public access)
Amazing it was a firewall issue it missed the permission for the public network, yes after the update it asked me the firewall config again but I forgot to add public network as well. Thanks a million!
No problem ;) Glad it worked.
It shouldn't have made GWSL crash though so I'll see if I can quickly add some code to make it more lenient with this change
Wait, can I ask a quick question? When it ran after the update, did it ask for permission for the vcxsrv server again or just for pulseaudio?
Of course and thanks a lot for this app! Well I don't remember exactly I remember it re-asked again the permission only once and when I checked the firewall setting I noticed two entries without appropriate network access
If I remember correctly Gwsl Pulseaudio didn't have any permission at all (private, domain and public) Gwsl xcxsrv missed the public checkbox
I would say it asked the permission only for vcxsrv but I wouldn't rely too much on my limited short term memory :O
I'll check again tomorrow the firewall settings window as soon as I'm on the work laptop and post an update if it refresh some memories
Thanks :)
looks like a knowledge base entry to me. "audio support should have asked to allow it through the firewall too. If this is being blocked by the firewall or av, it may be causing a crash. To allow it through the firewall: Dashboard --> About --> Allow GWSL through the Firewall. make sure pulseaudio has public access
@Pololot64 would you mind to stick to the agreed process?
Yes, but I did say that I am still extremely busy :)
Hello! I'm having the same issue, even with Firewall disabled and the exceptions added.
`2022-02-10 17:39:09,215 - main - ERROR - Exception occurred in main loop Traceback (most recent call last): File "main.py", line 615, in main SystemExit 2022-02-10 17:39:09,428 - main - ERROR - Exception occurred - Cannot Start Service. Make sure the settings file is not corrupted. Traceback (most recent call last): File "main.py", line 615, in main SystemExit
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "main.py", line 697, in
@enterTheCloud I am assuming you pressed the auto export display button already?
I am experiencing the same issue. exactly the same error message. @enterTheCloud have you resolved it?
@enterTheCloud I am assuming you pressed the auto export display button already?
Yes, I remember messing with that, but it didn't work either way
I am experiencing the same issue. exactly the same error message. @enterTheCloud have you resolved it?
Sorry, but no. Haven't tried again since I commented