WSL: wsl --install will say 'Downloading GUI app support' and encounter an error when installing

Environment

Windows build number: 21337
WSL 2

Steps to reproduce

  • As an administrator run wsl --install.

Expected behavior

WSL is fully installed and displays no errors.

Actual behavior

An error message surrounding GUI app support is displayed.

image

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 23 (3 by maintainers)

Most upvoted comments

@yume-chan - yes we hoping to release soon, once we wrap up a few remaining work items.

image It seems this error persist. Windows 11 21996.1 Not sure it’s the same thing but I just could not install it.

image It seems this error persist. Windows 11 21996.1 Not sure it’s the same thing but I just could not install it.

you must run these 2 dism command :

  • Enable Windows Subsystem for Linux dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
  • Enable Virtual Machine for Linux dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

https://www.tecmint.com/install-windows-subsystem-for-linux/amp/

I ran these 2 commands. But I already had done “wsl --install” and GUI app support failed as it did for others. How do I re-install specifically GUI app support? doing “wsl --install” again does nothing…

Current build: 22000.120

UPDATE: got it working. uninstalled “Linux subsystem” and then did “wsl --update”

FYI: If you do not install the GPU driver before running wsl --instal, you will get error. Fixed after installing the Nvidia Preview Driver mentioned here: https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps

This has now been fixed in the latest insiders build.

Microsoft Windows [Version 10.0.21354.1] © Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>wsl --install Installing: Virtual Machine Platform Virtual Machine Platform has been installed. Installing: Windows Subsystem for Linux Windows Subsystem for Linux has been installed. Downloading: WSL Kernel Installing: WSL Kernel WSL Kernel has been installed. Downloading: GUI App Support A error was encountered during installation, but installation may continue. Component: ‘GUI App Support’ Error Code: 0x80072eff Downloading: Ubuntu The requested operation is successful. Changes will not be effective until the system is rebooted.

Does wsl support wayland?

It will be. https://www.youtube.com/watch?v=EkNBsBx501Q

I’m running the Windows Insider preview build 21343.100 and it is already here.