DamionGans / ubuntu-wsl2-systemd-script

[Does not work anymore!] Script to enable systemd support on current Ubuntu WSL2 images
1.56k stars 382 forks source link

This systemd killed by xclock Can't open display: :0 how to remove it? #90

Open tadam98 opened 1 year ago

tadam98 commented 1 year ago

Folowing the script by x-apps stopped working. How can the script be removed?

It can be commented in /etc/bash.bahrc

# System-wide .bashrc file for interactive bash(1) shells.

# Start or enter a PID namespace in WSL2
# source /usr/sbin/start-systemd-namespace <<== comment 
LegationPro commented 1 year ago

either edit with vim or nano comment it out like stated or rm -rf file_name if it's a single file and you don't have any useful code in there besides that.