sedwards2009 / extraterm

The swiss army chainsaw of terminal emulators
https://extraterm.org
MIT License
2.54k stars 115 forks source link

Extraterm fails to launch WSL shells #251

Closed JosephRoundtree closed 4 years ago

JosephRoundtree commented 4 years ago

Yes, this has been error has been discussed before, where: extraterm_err

My question is what SOLUTION is there such that I can overcome this and have zsh running in a WSL NOT a CMD/Powershell session type.

Steps to be taken. Please gentlemen & ladies

sedwards2009 commented 4 years ago

Sorry for the delay. Do you have Python installed inside that WSL environment?

joshieecs commented 4 years ago

Have you by chance enabled systemd support in order to run snaps? That will cause this error.

For example this script: https://github.com/DamionGans/ubuntu-wsl2-systemd-script

If so, you can disable it by commenting out the line that starts the systemd namespace in /etc/bash.bashrc

# Start or enter a PID namespace in WSL2
#source /usr/sbin/start-systemd-namespace

Of course, your snap will not work in this configuration.

sedwards2009 commented 4 years ago

WSL support was changed in version 0.52.0 to not require Python to around inside the WSL or WSL2 environment, and more checks for installed WSL distros were added.

If there are more WSL then just open a new issue.