WSL2 starting directory doesn't work on Windows 11 ARM64 #16790

Closed
opened 2026-01-31 05:22:50 +00:00 by claunia · 2 comments
Owner

Originally created by @rustedwizard on GitHub (Feb 16, 2022).

Windows Terminal version

1.11.3471.0

Windows build number

22000.527

Other Software

No response

Steps to reproduce

On Windows 11 ARM64 computer with Windows Terminal:

  1. With a distribution of Linux installed in WSL2 (Ubuntu-20.04 for my case here)
  2. Set starting directory in setting to something like //wsl$/Ubuntu-20.04/home/myusername. ---> Start a new Ubuntu tab will always start at root directory
  3. Set starting directory in setting to something like \wsl$\Ubuntu-20.04/home/myusername. ---> Start a new Ubuntu tab will receive an error message say parameters are incorrect.
    PLEASE NOTE above configuration are done in Setting pane, the '' is properly escaped in json.

Expected Behavior

When starting directory is set, start a new linux tab would lead me to the directory I sat.

Actual Behavior

Both settings does not work in this case. One throw an error, the other always start at root directory.

Originally created by @rustedwizard on GitHub (Feb 16, 2022). ### Windows Terminal version 1.11.3471.0 ### Windows build number 22000.527 ### Other Software _No response_ ### Steps to reproduce On Windows 11 ARM64 computer with Windows Terminal: 1. With a distribution of Linux installed in WSL2 (Ubuntu-20.04 for my case here) 2. Set starting directory in setting to something like //wsl$/Ubuntu-20.04/home/myusername. ---> Start a new Ubuntu tab will always start at root directory 3. Set starting directory in setting to something like \\wsl$\Ubuntu-20.04/home/myusername. ---> Start a new Ubuntu tab will receive an error message say parameters are incorrect. PLEASE NOTE above configuration are done in Setting pane, the '\' is properly escaped in json. ### Expected Behavior When starting directory is set, start a new linux tab would lead me to the directory I sat. ### Actual Behavior Both settings does not work in this case. One throw an error, the other always start at root directory.
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 05:22:50 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Feb 16, 2022):

Thanks for the report! We actually noticed this a little while back in #12195. There seems to be a bug in WSL that caused this. It should be fixed now, bit I don't know if that's flowed up and out of the OS to Insiders quite yet.

I don't actually know if there's a good workaround - @cinnamon-msft what have you been using for your WSL profiles in the meantime?

/dup #12195

@zadjii-msft commented on GitHub (Feb 16, 2022): Thanks for the report! We actually noticed this a little while back in #12195. There seems to be a bug in WSL that caused this. It should be fixed now, bit I don't know if that's flowed up and out of the OS to Insiders quite yet. I don't actually know if there's a good workaround - @cinnamon-msft what have you been using for your WSL profiles in the meantime? /dup #12195
Author
Owner

@ghost commented on GitHub (Feb 16, 2022):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Feb 16, 2022): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16790