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

If it doesn't relate to Debian, but you still want to share it, please do it here

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

Postby thornbush » 2021-02-12 15:09

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.
AMD Duron, Debian Squeeze, GNOME desktop environment.
God became flesh so that man may become God in life and nature, but not in the Godhead.
thornbush
 
Posts: 115
Joined: 2008-03-08 05:00
Location: Jundiaí, São Paulo, Brazil

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

Postby RU55EL » 2021-02-12 15:31

If you are refering to Windows Subsystem for Linux, you should ask on a Microsoft Windows forum.
User avatar
RU55EL
 
Posts: 530
Joined: 2014-04-07 03:42
Location: /home/russel

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

Postby thornbush » 2021-02-12 18:49

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
AMD Duron, Debian Squeeze, GNOME desktop environment.
God became flesh so that man may become God in life and nature, but not in the Godhead.
thornbush
 
Posts: 115
Joined: 2008-03-08 05:00
Location: Jundiaí, São Paulo, Brazil

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

Postby Head_on_a_Stick » 2021-02-12 21:37

Try 'startx' instead of 'xfce4-session'.

Thread moved to the Offtopic section.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13450
Joined: 2014-06-01 17:46
Location: /dev/chair

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

Postby LE_746F6D617A7A69 » 2021-02-13 22:03

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!
Bill Gates: "(...) In my case, I went to the garbage cans at the Computer Science Center and I fished out listings of their operating system."
The_full_story and Nothing_have_changed
LE_746F6D617A7A69
 
Posts: 470
Joined: 2020-05-03 14:16

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

Postby trinidad » 2021-02-17 13:58

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
You can't believe your eyes if your imagination is out of focus.
trinidad
 
Posts: 167
Joined: 2016-08-04 14:58


Return to Offtopic

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable