Installation Error on WSL: System has not been booted with systemd as init system (PID 1) #2714
Unanswered
benhovinga
asked this question in
Q&A
Replies: 1 comment
-
There are some ideas here which I think might help: #1868 I also found this but I can't vouch for it: https://gist.github.com/djfdyuruiry/6720faa3f9fc59bfdf6284ee1f41f950 I think we output the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Installing code-server on WSL2 so I can use my more powerful desktop computer to do dev work while on the road or when I cannot use my personal laptop (ie. at work).
I ran
curl -fsSL https://code-server.dev/install.sh | sh
to install and then tried to runsudo systemctl enable --now code-server@$USER
to have it auto boot. But when I do I get this errorMaybe I don't fully understand how WSL works or maybe there is another command I could use. I did some googleing and some posts recommend using
service
for other applications running on WSL but I don't think that will work for code-server.How can I make this work? or do I need to?
code-server --version
: 3.8.1PS: running
code-server
works great and I am able to access it in my browser.Beta Was this translation helpful? Give feedback.
All reactions