Open gtsteffaniak opened 3 years ago
Perhaps the environment variables mentioned here: https://github.com/microsoft/wslg#wslg-system-distro
Need to be be added here:
I can confirm that it does not work with wslg. Tried using it following this approach containing the script and added the error I got there and I think the solution to THE PARENT INIT PROCESS AND SHARED DBUS INSTANCE PROBLEM should finally make this script obsolete for wslg.
There are a few more things you have to do to get WSLg fully operational under systemd. Here's a description of how I solved it for genie:
https://github.com/microsoft/wslg/discussions/144#discussioncomment-685578
Same issue all microsoft apps crashing had to uninstall Kali from app store and reinstall Win 10 Pro 19042.985
Running the script works to enable systemd. In both 18.04 and 20.04 , this breaks the environment variables that enable wsl gui apps provided by microsoft.
Intead you get display errors when starting from the terminal:
When running using the wslg shortcuts, it works: