Fórum Ubuntu Linux - PT
Suporte Técnico => Instalação e Atualização => Tópico iniciado por: thornbush em 28 de Janeiro de 2021, 19:43
-
Boa noite.
Instalei o Ubuntu pela Microsoft Store.
Ao executá-lo, num terminal tenho o seguinte diálogo:
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x8007019e
The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again.
See https://aka.ms/wslinstall (https://aka.ms/wslinstall) for details.
Press any key to continue...
A URL mencionada na última linha leva à página https://docs.microsoft.com/pt-br/windows/wsl/install-win10. Executei todos os comandos dessa página, até que, ao executar wsl --set-default-version 2, tive o erro abaixo:
[size=78%]wsl : O termo 'wsl' não é reconhecido como nome de cmdlet, função, arquivo de script ou programa operável. Verifique a[/size]
grafia do nome ou, se um caminho tiver sido incluído, veja se o caminho está correto e tente novamente.
No linha:1 caractere:1
+ wsl --set-default-version 2
+ ~~~
+ CategoryInfo : ObjectNotFound: (wsl:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> wsl --set-default-version 2
wsl : O termo 'wsl' não é reconhecido como nome de cmdlet, função, arquivo de script ou programa operável. Verifique a
grafia do nome ou, se um caminho tiver sido incluído, veja se o caminho está correto e tente novamente.
No linha:1 caractere:1
+ wsl --set-default-version 2
+ ~~~
+ CategoryInfo : ObjectNotFound: (wsl:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException [/size]
Depois disso, ao tentar executar o Ubuntu, continuo tendo a mesma mensagem de erro anteriormente mencionada:
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x8007019e
The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again.
See https://aka.ms/wslinstall for details.
Press any key to continue...
Será que alguém poderia me ensinar como sair desse embaraço para rodar o Ubuntu no Windows?
Tentei o Kali Linux em seguida e tem o mesmo resultado.
-
Por algum momento tentei outra vez e funcionou. agora não consigo entrar no ambiente gráfico, mas isso será outro tópico.
-
Não há ambiente gráfico e nenhuma razão para instalar um.
-
obrigado, mas o Xubuntu funcionou, sim.
https://x410.dev/cookbook/wsl/customizing-xfce-desktop-for-ubuntu-wsl/