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

Open
opened 2026-01-31 05:22:47 +00:00 by claunia · 0 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:47 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16787