ishwarjagdale / wslWithGUI

This is a detailed tutorial on How to install and use Ubuntu Gnome Desktop on Windows Subsystem Linux 2 using XRDP service.
https://ishwarjagdale.github.io/wslWithGUI/
13 stars 0 forks source link

[step 6]: Systemd is natively supported on most distros #1

Open TaciturnCoder opened 1 year ago

TaciturnCoder commented 1 year ago

Certain Linux distributions like Ubuntu, natively support systemd on WSL2 and it is no longer necessary to run systemd script as shown on step 6.

Instead: Add these lines to the /etc/wsl.conf (e.g: sudo nano /etc/wsl.conf):

[boot]
systemd=true

See Set the systemd flag set in your WSL distro settings