Ubuntu Not Opening #1946

Closed
opened 2026-01-30 22:42:37 +00:00 by claunia · 12 comments
Owner

Originally created by @Sameer2307 on GitHub (Jun 23, 2019).

Ubuntu doesn't show up in the terminal. Its installed on my machine but the new terminal is recognizing it.

Originally created by @Sameer2307 on GitHub (Jun 23, 2019). Ubuntu doesn't show up in the terminal. Its installed on my machine but the new terminal is recognizing it.
claunia added the Issue-QuestionArea-SettingsResolution-AnsweredProduct-Terminal labels 2026-01-30 22:42:38 +00:00
Author
Owner

@Sameer2307 commented on GitHub (Jun 23, 2019):

The command wsl -l
gives me following Windows Subsystem for Linux Distributions: Ubuntu-18.04 (Default)

@Sameer2307 commented on GitHub (Jun 23, 2019): The command wsl -l gives me following Windows Subsystem for Linux Distributions: Ubuntu-18.04 (Default)
Author
Owner

@scottwmaxwell commented on GitHub (Jun 23, 2019):

Also Having this problem. Installed ubuntu. wsl -l gives me
Windows Subsystem for Linux Distributions: Ubuntu (Default)

@scottwmaxwell commented on GitHub (Jun 23, 2019): Also Having this problem. Installed ubuntu. wsl -l gives me Windows Subsystem for Linux Distributions: Ubuntu (Default)
Author
Owner

@Sh4d commented on GitHub (Jun 23, 2019):

Same here, window spawns momentarily but immediately quits. Launching wsl from a command prompt tab works fine. Also on ubuntu 18.04

@Sh4d commented on GitHub (Jun 23, 2019): Same here, window spawns momentarily but immediately quits. Launching wsl from a command prompt tab works fine. Also on ubuntu 18.04
Author
Owner

@KalyanVem commented on GitHub (Jun 23, 2019):

Same here, wsl -l lists Ubuntu as default. But the terminal is not showing it.

@KalyanVem commented on GitHub (Jun 23, 2019): Same here, wsl -l lists Ubuntu as default. But the terminal is not showing it.
Author
Owner

@DHowett-MSFT commented on GitHub (Jun 23, 2019):

If you installed and launched terminal before installing WSL/ubuntu, it doesn't currently autodetect outside of first launch. You can, of course, add a custom profile.

@DHowett-MSFT commented on GitHub (Jun 23, 2019): If you installed and launched terminal before installing WSL/ubuntu, it doesn't currently autodetect outside of first launch. You can, of course, add a custom profile.
Author
Owner

@Sameer2307 commented on GitHub (Jun 23, 2019):

How to add a custom profile

@Sameer2307 commented on GitHub (Jun 23, 2019): How to add a custom profile
Author
Owner

@Shorotshishir commented on GitHub (Jun 23, 2019):

I am trying to add a custom profile for my kali WSL, I tried kali.exe as the 'commandline' parameter of the profile, it didn't work. I think it has something to do with the guid or the 'commandline' parameter itself. the profile shows itself in the dropdown but doesn't work as linux terminal.
**edit: **
commandline parameter : wsl.exe -d kali-linux

@Shorotshishir commented on GitHub (Jun 23, 2019): I am trying to add a custom profile for my kali WSL, I tried `kali.exe` as the 'commandline' parameter of the profile, it didn't work. I think it has something to do with the `guid` or the 'commandline' parameter itself. the profile shows itself in the dropdown but doesn't work as linux terminal. **edit: ** commandline parameter : `wsl.exe -d kali-linux`
Author
Owner

@weems commented on GitHub (Jun 23, 2019):

Confirmed that re-installing the application adds WSL Installed Distros to the list.

@weems commented on GitHub (Jun 23, 2019): Confirmed that re-installing the application adds WSL Installed Distros to the list.
Author
Owner

@Shorotshishir commented on GitHub (Jun 23, 2019):

if reinstalling doesn't find the installed WSL (for some reason) , open appdata (windows+r, then type appdata, hit enter ) then go to Local>Packages>Microsoft.WindowsTerminal_8wekyb3d8bbwe>RoamingState and delete the package.json file. reopen the Terminal app. This will reset the settings to default and load all available terminals.

@Shorotshishir commented on GitHub (Jun 23, 2019): if reinstalling doesn't find the installed WSL (for some reason) , open `appdata` (windows+r, then type appdata, hit enter ) then go to `Local>Packages>Microsoft.WindowsTerminal_8wekyb3d8bbwe>RoamingState` and delete the package.json file. reopen the Terminal app. This will reset the settings to default and load all available terminals.
Author
Owner

@kn0rki commented on GitHub (Jun 23, 2019):

Doenst work for Powershell core that is not installed on default path :(

if reinstalling doesn't find the installed WSL (for some reason) , open appdata (windows+r, then type appdata, hit enter ) then go to Local>Packages>Microsoft.WindowsTerminal_8wekyb3d8bbwe>RoamingState and delete the package.json file. reopen the Terminal app. This will reset the settings to default and load all available terminals.

@kn0rki commented on GitHub (Jun 23, 2019): Doenst work for Powershell core that is not installed on default path :( > if reinstalling doesn't find the installed WSL (for some reason) , open `appdata` (windows+r, then type appdata, hit enter ) then go to `Local>Packages>Microsoft.WindowsTerminal_8wekyb3d8bbwe>RoamingState` and delete the package.json file. reopen the Terminal app. This will reset the settings to default and load all available terminals.
Author
Owner

@Shorotshishir commented on GitHub (Jun 23, 2019):

@kn0rki for not default location installations, u need to add a custom profile.
just make a duplicate of the default PowerShell profile and use the complete path of the .exe in the 'commandLine': parameter. It should work just fine.
Update: reference #1415

@Shorotshishir commented on GitHub (Jun 23, 2019): @kn0rki for not default location installations, u need to add a custom profile. just make a duplicate of the **default PowerShell profile** and use the **complete path of the .exe** in the **'commandLine'**: parameter. It should work just fine. Update: reference #1415
Author
Owner

@DHowett-MSFT commented on GitHub (Jun 24, 2019):

This seems solved?

@DHowett-MSFT commented on GitHub (Jun 24, 2019): This seems solved?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#1946