Page 1 of 1

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

PostPosted: 2021-02-12 15:09
by thornbush
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:

Code: Select all
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 Debian WSL with XFCE, Gnome and/or Kde?


The following link has a batch file for KDE, but it is for the Fedora distribution: Windows 10 + WSL2 + Fedora Remix + KDE + X410

Observation: I'm still newbie.

thanks for you attention.

Re: WSL Debian - How to launch KDE (and Gnome) in WSL

PostPosted: 2021-02-12 15:31
by RU55EL
If you are refering to Windows Subsystem for Linux, you should ask on a Microsoft Windows forum.

Re: WSL Debian - How to launch KDE (and Gnome) in WSL

PostPosted: 2021-02-12 18:49
by thornbush
RU55EL wrote:If you are refering to Windows Subsystem for Linux, you should ask on a Microsoft Windows forum.


because of your word, I have tryed these: https://docs.microsoft.com/en-us/answers/questions/271300/wsl-how-to-launch-kde-and-gnome-in-wsl.html and https://forum.kde.org/viewtopic.php?f=59&t=170036

thanks anyway

Re: WSL Debian - How to launch KDE (and Gnome) in WSL

PostPosted: 2021-02-12 21:37
by Head_on_a_Stick
Try 'startx' instead of 'xfce4-session'.

Thread moved to the Offtopic section.

Re: WSL Debian - How to launch KDE (and Gnome) in WSL

PostPosted: 2021-02-13 22:03
by LE_746F6D617A7A69
thornbush wrote:It is possible to launch Ubuntu and Kali, but not Debian

Thanks God(s)!
Hopefully WSL will never be able to launch Debian!

Re: WSL Debian - How to launch KDE (and Gnome) in WSL

PostPosted: 2021-02-17 13:58
by trinidad
Consider the limitations of the whole pointless endeavour that WSL is in the first place, and just use qemu and xming to begin with, or even ssh, qemu and x11 forwarding to xming. WSL is NOT a true cross platform integrated system on either end of its stupid code, and does not really use kernel mods and packages during installation. Every single thing it aims to accomplish, including its touted convenience for developers can be achieved in a better more efficient way by thinking through what you want to do and using the correct setup and software for cross platform connections. It's really just a novelty directed at dawdling hobbyists. Of any MS actual progress toward desktop modernization one can only wryly comment on the age of the bungled overwritten code base involved, and the only "improvement" toward using its archaic base with any actual promise is power shell.

TC