I want to install LXDE in my Debian subsystem
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
WSL doesn't officially support running X/GUI apps. However, many people enjoy running various Linux desktops/apps on WSL via one of the several available Windows XServers.
Look at the Kali site. They show how to install and run an X-window system as a remote desktop connected through localhost. (With a video of it working.) I haven't (yet) tried it, but it seem an approach that should work.
Download and Install Xming. Then type "export DISPLAY=:0" on Linux and start your GUI soft each time you use GUI soft.
It is not over until it is over, trying the Xming trick but so far having to do this ...
8964@DESKTOP~$ sudo cinnamon
Cinnamon warning: Software rendering detected: llvmpipe (LLVM 6.0, 256 bits)
Failed to connect to session bus: Failed to execute child process “dbus-launch” (No such file or directory)hack8964@DESKTOP-HDIVCI5:~$
8964@DESKTOP~$
8964@DESKTOP~$ dbus-launch
Command 'dbus-launch' not found, but can be installed with:
sudo apt install dbus-x11
hack8964@DESKTOP-HDIVCI5:~$ sudo apt install dbus-x11
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
dbus-x11
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Lots of advice on how to get GUI working in WSL, so I'll mark this issue as closed. Thanks!
Most helpful comment
It is not over until it is over, trying the Xming trick but so far having to do this ...
8964@DESKTOP~$ sudo cinnamon
Cinnamon warning: Software rendering detected: llvmpipe (LLVM 6.0, 256 bits)
Failed to connect to session bus: Failed to execute child process “dbus-launch” (No such file or directory)hack8964@DESKTOP-HDIVCI5:~$
8964@DESKTOP~$
8964@DESKTOP~$ dbus-launch
Command 'dbus-launch' not found, but can be installed with:
sudo apt install dbus-x11
hack8964@DESKTOP-HDIVCI5:~$ sudo apt install dbus-x11
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
dbus-x11
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.