Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

WSL2 works fine in 1 user buts fails in the other user #6965

Closed
1 of 2 tasks
nithinbharathwaj opened this issue May 21, 2021 · 0 comments
Closed
1 of 2 tasks

WSL2 works fine in 1 user buts fails in the other user #6965

nithinbharathwaj opened this issue May 21, 2021 · 0 comments

Comments

@nithinbharathwaj
Copy link

Windows Build Number

21H1

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

No response

Distro Version

Any Distribution

Other Software

No response

Repro Steps

Create 2 users. enable user1 with wsl2 and use it.

Try accessing already running instance of mysql from wsl with user1 ( Mysql is running on windows )

It works.

Donot logout user1. Switch to user2

Enable wsl2 and install ubuntu 20.04 or any distribution. There is no access to the host windows machine and Mysql access fails.

mysql is jst an example here. It fails for all localhost access from WSL2 on user2.

User1 works perfectly

Expected Behavior

Both user1 and user2 should be able to access windows host from wsl2

Actual Behavior

user2 has no access to windows host on wsl2

Diagnostic Logs

No response

@microsoft microsoft locked and limited conversation to collaborators May 21, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants