WSL - How to launch KDE (and Gnome) in WSL

Adriano Trentini 1 Reputation point
2021-02-12T19:27:40.883+00:00

Greetings.

I have installed WSL and Ubuntu, Kali and Debian Linux. It is possible to launch Ubuntu and Kali, but not Debian, as I have tryed, with XFCE graphical environment, by a batch script file with these commands:

start /B x410.exe /desktop
ubuntu2004.exe run "if [ -z \"$(pidof xfce4-session)\" ]; then export DISPLAY=127.0.0.1:0.0; xfce4-session; pkill '(gpg|ssh)-agent'; fi;"

Can you help me with a batch scrit file to launch WSL with Gnome and/or Kde?

thanks for you attention.

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,389 questions
{count} votes