Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSL Debian installation and Legacy console mode #5001

Closed
rei-vilo opened this issue Mar 21, 2020 · 9 comments
Closed

WSL Debian installation and Legacy console mode #5001

rei-vilo opened this issue Mar 21, 2020 · 9 comments

Comments

@rei-vilo
Copy link

Configuration

  • Your Windows build number: 10.0.18363.720

What you're doing and what's happening:

I'm following the procedure Windows Subsystem for Linux Installation Guide for Windows 10

  • Launch PowerShell with Legacy console on
  • Run Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
  • Open Windows Store
  • Download Debian
  • Launch Debian

What's wrong / what should be happening instead:

I've tried each of the possibilities listed below:

  • Option 1

    • Turn Legacy console off
    • Type in the user name
    • Same error message is promtped
  • Option 2

    • Turn Legacy console off
    • Reboot as mentionned in the Properties panel
    • Launch Debian
    • The screen is empty.
  • Option 3

    • Turn Legacy console off
    • Close the console
    • Launch Debian
    • The screen is empty.

How to solve this issue? Please clarify the installation procedure. Thank you.

@DHowett-MSFT
Copy link

This is a bug in the Console. After you turn off legacy console mode, please go to the “terminal” tab and turn off the “use separate foreground”, “use separate background” and the cursor color options. This is fixed in the next version of Windows.

@rei-vilo
Copy link
Author

rei-vilo commented Mar 21, 2020

Thank you fro your prompt answer.

Unfortunately, turning off the legacy console mode and then the “use separate foreground”, “use separate background” and the cursor colour options has no effect. Still the same error message. Moreover, opening the Terminal pane show them checked again.

How to force the installation of WSL Debian?

Is there a selective update of the console available?

@DHowett-MSFT
Copy link

They will be reset to on and the colors set to black whenever you have the legacy console turned on. You should not be using the legacy console option. It is intended for legacy application compatibility.

@rei-vilo
Copy link
Author

The legacy console mode is turned off.

@rei-vilo
Copy link
Author

I closed the Debian console and opened it again.

Surprise, Debian shows off with default user root!

root@myPC:~# uname -a
4.4.0-18362-Microsoft #476-Microsoft Fri Nov 01 16:53:00 PST 2019 x86_64 GNU/Linux

@WSLUser
Copy link

WSLUser commented Mar 24, 2020

Surprise, Debian shows off with default user root!

That is no longer a Console issue but a WSL issue which I solved in WhitewaterFoundry/Pengwin#595 with the help of crramirez.

@rei-vilo
Copy link
Author

Is WSL ready for prime-time?

@DHowett-MSFT
Copy link

The distribution's setup application aborting in a weird state when you close it has no bearing on whether WSL is ready for prime-time.

@DHowett-MSFT
Copy link

(These applications are owned by the distribution.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants