How to add ubuntu terminal support to my windows terminal ? & Solution that can't open #1152

Closed
opened 2026-01-30 22:17:40 +00:00 by claunia · 5 comments
Owner

Originally created by @ghost on GitHub (May 16, 2019).

I've got windows executable files from Internet so I can install successfully by steps that follows:

  • Install CascadiaPackage*.cer with option Trusted Institutional Certificate
  • Double click the execuable file and then start

To get platform_x64 execuable files, contact me at swmdxbg@163.com.

I'd like to firgure out solution about how to add ubuntu terminal support to my windows terminal. Great thanks !

What's more, you may find that if you modified profile.json uncorrectly before unable to reopen it.

Solution to *unable to open windows terminal` is :

Delete C:\Users\YourName\AppData\Local\Packages\Microsoft.WindowsTerminal_* . Then click Windows Terminal Icon. (Directory varies according to Your Account and computer)

You'll see it works again !

Originally created by @ghost on GitHub (May 16, 2019). I've got windows executable files from Internet so I can install successfully by steps that follows: - Install `CascadiaPackage*.cer` with option `Trusted Institutional Certificate` - Double click the execuable file and then `start` > To get platform_x64 execuable files, contact me at swmdxbg@163.com. I'd like to firgure out solution about how to add **ubuntu termina**l support to my windows terminal. Great thanks ! What's more, you may find that if you modified `profile.json` uncorrectly before unable to reopen it. Solution to *unable to open windows terminal` is : > Delete `C:\Users\YourName\AppData\Local\Packages\Microsoft.WindowsTerminal_*` . Then click `Windows Terminal` Icon. (Directory varies according to Your Account and computer) You'll see it works again !
Author
Owner

@mKay00 commented on GitHub (May 16, 2019):

Don't use random executables from random sources! And don't give them away if they ask you on your contact. You could help spread a virus.

To get Linux, you have to use Windows Subsystem for Linux (https://docs.microsoft.com/en-us/windows/wsl/install-win10). This has nothing to do with the Windows Terminal.

@mKay00 commented on GitHub (May 16, 2019): Don't use random executables from random sources! And don't give them away if they ask you on your contact. You could help spread a virus. To get Linux, you have to use Windows Subsystem for Linux (https://docs.microsoft.com/en-us/windows/wsl/install-win10). This has nothing to do with the Windows Terminal.
Author
Owner

@ghost commented on GitHub (May 16, 2019):

Don't use random executables from random sources! And don't give them away if they ask you on your contact. You could help spread a virus.

To get Linux, you have to use Windows Subsystem for Linux (https://docs.microsoft.com/en-us/windows/wsl/install-win10). This has nothing to do with the Windows Terminal.

Thanks for your care. But I have picked a new problem as I run bash.exe in Windows Terminal :

/mnt/c/WINDOWS/system32$
sudo chmod -R 777 /mnt/c/Users/nestripo/AppData/Local/Packages/CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc/LocalState/rootfs/home/nestripo/                                                  chmod: cannot access '/mnt/c/Users/nestripo/AppData/Local/Packages/CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc/LocalState/rootfs/home/nestripo/': Permission denied

And I've given absolutely control permission to that DIRECTORY in windows 10. When I try to source .bashrc, I got :

/mnt/c/WINDOWS/system32$ 
source /mnt/c/Users/nestripo/AppData/Local/Packages/CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc/LocalState/rootfs/home/nestripo/.bashrc                                                      -bash: /mnt/c/Users/nestripo/AppData/Local/Packages/CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc/LocalState/rootfs/home/nestripo/.bashrc: Permission denied

I have no idea about it. May I ask for your help ?

@ghost commented on GitHub (May 16, 2019): > Don't use random executables from random sources! And don't give them away if they ask you on your contact. You could help spread a virus. > > To get Linux, you have to use Windows Subsystem for Linux (https://docs.microsoft.com/en-us/windows/wsl/install-win10). This has nothing to do with the Windows Terminal. Thanks for your care. But I have picked a new problem as I run `bash.exe` in `Windows Terminal` : ``` /mnt/c/WINDOWS/system32$ sudo chmod -R 777 /mnt/c/Users/nestripo/AppData/Local/Packages/CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc/LocalState/rootfs/home/nestripo/ chmod: cannot access '/mnt/c/Users/nestripo/AppData/Local/Packages/CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc/LocalState/rootfs/home/nestripo/': Permission denied ``` And I've given absolutely control permission to that DIRECTORY in **windows 10**. When I try to `source .bashrc`, I got : ``` /mnt/c/WINDOWS/system32$ source /mnt/c/Users/nestripo/AppData/Local/Packages/CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc/LocalState/rootfs/home/nestripo/.bashrc -bash: /mnt/c/Users/nestripo/AppData/Local/Packages/CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc/LocalState/rootfs/home/nestripo/.bashrc: Permission denied ``` I have no idea about it. May I ask for your help ?
Author
Owner

@mKay00 commented on GitHub (May 16, 2019):

As I said, this has nothing to do with Windows Terminal and belongs to https://github.com/microsoft/WSL

@mKay00 commented on GitHub (May 16, 2019): As I said, this has nothing to do with Windows Terminal and belongs to https://github.com/microsoft/WSL
Author
Owner

@ghost commented on GitHub (May 16, 2019):

As I said, this has nothing to do with Windows Terminal and belongs to https://github.com/microsoft/WSL

I just installed the Windows Subsystem for Linux . I've found the final solution that is :

cd $HOME

And then command source .bashrc runs properly !

@ghost commented on GitHub (May 16, 2019): > As I said, this has nothing to do with Windows Terminal and belongs to https://github.com/microsoft/WSL I just installed the Windows Subsystem for Linux . I've found the final solution that is : ``` cd $HOME ``` And then command `source .bashrc` runs properly !
Author
Owner

@zadjii-msft commented on GitHub (May 16, 2019):

I'm gonna re-emphasize this here, because some people aren't getting the picture.

DO NOT install binaries from untrusted 3rd party sources.

There's no way for you to guarantee that the application you installed from them did not also secretly include some sort of virus, compiled in by the distributor of the binary.

If you don't want to build the terminal from source, please be patient as we continue polishing the terminal for a preview release this summer.

@zadjii-msft commented on GitHub (May 16, 2019): I'm gonna re-emphasize this here, because some people aren't getting the picture. # DO NOT install binaries from untrusted 3rd party sources. There's no way for you to guarantee that the application you installed from them did not also secretly include some sort of virus, compiled in by the distributor of the binary. If you don't want to build the terminal from source, please be patient as we continue polishing the terminal for a preview release this summer.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#1152