Subsystem for Linux - terminal window opens, closes immediately


  1. Posts : 1,783
    Windows 10 Pro
       #1

    Subsystem for Linux - terminal window opens, closes immediately


    I just installed the Ubuntu version of Windows Subsystem for Linux, version 1. As soon as I start the application a terminal windows opens but closes immediately.

    Moderators: I hope this forum is the right place to post this question.

    I did the download from the Canonical website, after following links from the Microsoft store.

    I have no current experience with Linux, but I'm an old UNIX (System 3, bsd extensions, etc) user. What do I need to do?

    Also, does anyone know where MS Store downloads go?
      My Computers


  2. Posts : 23,438
    Win 10 Home ♦♦♦19045.4412 (x64) [22H2]
       #2

    x509 said:
    I just installed the Ubuntu version of Windows Subsystem for Linux, version 1. As soon as I start the application a terminal windows opens but closes immediately.

    Moderators: I hope this forum is the right place to post this question.

    I did the download from the Canonical website, after following links from the Microsoft store.

    I have no current experience with Linux, but I'm an old UNIX (System 3, bsd extensions, etc) user. What do I need to do?

    Also, does anyone know where MS Store downloads go?



    Did you do this?


    FIRST you need to make sure you have enabled CPU virtualization in your BIOS. These instructions will depend on your hardware.

    For AMD CPUs, you will look for a feature called: "AMD (AMD Secure Virtual Machine, AMD SVM)"

    For Intel CPUs, you will look for a feature called: "Intel (Intel Virtualization Technology, Intel VT-x)"

    Here are the instructions for setting SVM on my computer. Note: this is for a MSI motherboard.

    Go to advanced settings.

    Go into the overclocking section.

    Go into the CPU Features section

    Toggle the CPU feature "SVM Mode" which enables CPU virtualization.

    SECOND you are going to have to enable the Hyper-V Windows feature.

    Here are my instructions (Note feel free to duckduckgo/google this separately):

    Search for "Windows Features" in your taskbar.

    Then look for "Hyper-V". Then enable it.

    At this point you should be done and no longer get this error.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:42.
Find Us




Windows 10 Forums