Skip to content
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

Admin user does not see a Ubuntu installation #8890

Closed
1 of 2 tasks
toncho11 opened this issue Sep 26, 2022 · 4 comments
Closed
1 of 2 tasks

Admin user does not see a Ubuntu installation #8890

toncho11 opened this issue Sep 26, 2022 · 4 comments

Comments

@toncho11
Copy link

toncho11 commented Sep 26, 2022

Version

Microsoft Windows [version 10.0.19042.1706]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.10.102.1

Distro Version

Ubuntu-20.04

Other Software

Docker version 20.10.12, build e91ed57

Repro Steps

I installed Ubuntu 20.04 as either normal user or Administrator.

Expected Behavior

wsl -l -v to list "Ubuntu" as available distro after installation.

Actual Behavior

wsl -l -v does NOT list "Ubuntu" as available distro after installation when using the administrative account. Even if I install it as an administrator it still does not appear. It only lists Ubuntu when using a non-administrative account.

I need to run usbipd wsl attach --busid 2-14 as an administrator user, but when I use an admin cmd or powershell wsl does not see Ubuntu 20.04. It only sees some docker distros.

Diagnostic Logs

No response

@benhillis
Copy link
Member

WSL distros are per-user. Are you running a separate user account, or the same user account as Elevated?

@toncho11
Copy link
Author

toncho11 commented Sep 27, 2022

This is the problem. It seems it only works if you login as an administrator and not as an elevated administrator account.

@ghost ghost removed the needs-author-feedback label Sep 27, 2022
@dorssel
Copy link

dorssel commented Oct 23, 2022

I need to run usbipd wsl attach --busid 2-14 as an administrator user

Not true. Only the binding part has to be run as an admin. You can first --bind as an admin, and then wsl --attach as a normal user.

Copy link
Contributor

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!

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

No branches or pull requests

3 participants