ubuntu-wsl2-systemd-script icon indicating copy to clipboard operation
ubuntu-wsl2-systemd-script copied to clipboard

[Does not work anymore!] Script to enable systemd support on current Ubuntu WSL2 images

Results 51 ubuntu-wsl2-systemd-script issues
Sort by recently updated
recently updated
newest added

I do the hack with the suggested change of -a to -m -p for the nsenter commands inside enter-systemd-namespace. The login shell timeouts and quits. C:\Users\tsmith>wsl Sleeping for 1 second...

   ~  cd ubuntu-wsl2-systemd-script/  ✔  with root@ubuntu  at 16:54:39     ~/ubuntu-wsl2-systemd-script  on   master  bash ubuntu-wsl2-systemd-script.sh ***It appears...

![image](https://user-images.githubusercontent.com/85006873/165426714-ea49bb63-d8d6-45fb-9546-cc880d0f0805.png)

C:\Users\Alexander>wsl -d Ubuntu-16.04 Cannot execute daemonize to start systemd.

I get these errors when trying to start Edge: [3553:3553:0810/070006.369723:ERROR:ozone_platform_x11.cc(247)] Missing X server or $DISPLAY [3553:3553:0810/070006.369854:ERROR:env.cc(226)] The platform failed to initialize. Exiting. Other GUI programs such as gedit work OK.

WSL Ubuntu 20.04 LTS, Windows 20H2 (OS Build 19042.1052) After installation, env variables defined in `WSLENV` are not present in bash environment. Before the installation: ``` mlembke@mlembke:~$ echo $WSLENV WT_SESSION:WT_PROFILE_ID...

Hi everyone! First of all, thanks for this script! It works... but very weird for me) My environment: Windows 10 OS version: 2004 OS build: 20190.1000 (insider preview "dev") WSL:...

Weirdest thing ever, Sometimes, I get this error when trying to run WSL: ``` nsenter: failed to parse pid: '48 49' ``` It is defiantly something related to that package...

When you open a terminal inside vscode within WSL2 it is defaulting to `/mnt/c/Users/username/.vscode/extensions/ms-vscode-remote.remote-wsl-0.44.3` not the folder you open it in. I understand that its getting it from the `~/.system-env`...

Dear Sir i install Ubutu 20.04 and then set systemd is ok but when i use "wsl --export" to export this env and then i use " wsl --import "...