-
Notifications
You must be signed in to change notification settings - Fork 850
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to reboot windows with Bash On Windows #2533
Comments
Since I could be running multiple Linux terminals (say one copy of Fedora and one copy of Ubuntu) simultaneously, would it be desirable that This one doesn't make much sense to me, at least as WSL is now... Once WSL supports an Init daemon and automatically bringing up a bunch of services, this would make a lot more sense... At least to use reboot to restart all processes related to that WSL instance. Continuing to rely on |
@ryanerwin - Agreed. If we eventually do support running system I would expect the reboot command to terminate just the current WSL distribution, not reboot the entire Windows machine. |
Per Ben, rebooting Windows from within WSL with the reboot(8) command per the issue title was declined by-design. For shutting down the instance (contrast rebooting Windows) see #3253. Workaround (put in your
Or if you are a good person and haven't given yourself Windows Administrator privileges:
|
When using the reboot command in Bash On Windows I get the error
Failed to connect to bus: No such file or directory
The text was updated successfully, but these errors were encountered: