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

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

Open tadam98 opened this issue 3 years ago • 1 comments

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 

tadam98 avatar Nov 15 '22 09:11 tadam98

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.

LegationPro avatar Nov 17 '22 18:11 LegationPro