Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

Sudo systemctl doesn't work #67

Open
lopugit opened this issue Sep 8, 2021 · 6 comments
Open

Sudo systemctl doesn't work #67

lopugit opened this issue Sep 8, 2021 · 6 comments

Comments

@lopugit
Copy link

lopugit commented Sep 8, 2021

I followed the instructions and running systemctl lists units, but sudo systemctl returns "Failed to connect to bus: No data available"

@Pikachu695
Copy link

I also I don’t know what’s bug cause it

@Pikachu695
Copy link

If the script can’t run in the root and I don’t necessary to install it
(Sorry my English is funny ,I am a Chinese middle student haha:)

@Pikachu695
Copy link

45F4BFE6-485D-44FC-B6B1-667E57F4358E

@zldodo
Copy link

zldodo commented Oct 29, 2021

I got the same error. Does anybody hear us and are going to solve it ?

@NCP-SBP
Copy link

NCP-SBP commented Nov 10, 2021

You can alternatively try genie, another alternative to installing systemd from within WSL which supports systemctl.

@lopugit
Copy link
Author

lopugit commented Nov 28, 2021

You can alternatively try genie, another alternative to installing systemd from within WSL which supports systemctl.

At the moment I'm using Distrod https://github.com/nullpo-head/wsl-distrod really cool, waiting on a reply whether I can get systemctl --user working though

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants