Home

Awesome

WSL2 Systemd by changing the user's shell

About

This repository includes the files to set-up WSL2 distro to run systemd.

What does it do?

Installing

  1. Clone the repository, or download the three scripts via a browser
  2. Execute either install-all.sh or install-systemd.sh.
    • The install-all.sh script will execute both install-systemd.sh and install-gui-support.sh to perform a complete install
    • install-systemd.sh will install just enough to get systemd operational, but will not enable GUI support via X11
    • If you install the GUI support by running install-all.sh (or install-gui-support.sh after running install-systemd.sh) it is advisable to ensure that you have an X11 server on your Windows system that is listening for connections while using your WSL2 distro, else you might find some Linux commands stall or fail
  3. Restart your WSL2 session

Alternatives