0145.html 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Install a Desktop Environment on Windows Subsystem for Linux (WSL)</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="How To,Tutorial,i12bretro,Windows,Linux,Ubuntu,Debian,WSL,Subsystem,Linux On Windows,Desktop Environment,User Interface,UI">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Install a Desktop Environment on Windows Subsystem for Linux (WSL)">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  12. <script type="text/javascript" src="includes/js/steps.js"></script>
  13. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  14. </head>
  15. <body>
  16. <div id="gridContainer">
  17. <div class="topMargin"></div>
  18. <div id="listName" class="topMargin">
  19. <h1>Install a Desktop Environment on Windows Subsystem for Linux (WSL)</h1>
  20. </div>
  21. <div></div>
  22. <div id="content">
  23. <ol>
  24. <li>Download VcXsrv <a href="https://sourceforge.net/projects/vcxsrv/" target="_blank">Download</a></li>
  25. <li>Install VcXsrv</li>
  26. <li>Launch WSL environment</li>
  27. <li>Run the following commands in the WSL terminal to install the lightweight LXDE desktop environment
  28. <div class="codeBlock">sudo apt-get install lxde<br />
  29. export DISPLAY=:0<br />
  30. export LIBGL_ALWAYS_INDIRECT=1</div>
  31. </li>
  32. <li>Run VcXsrv</li>
  33. <li>Select how to display the Linux environment (Windowed, Full Screen, etc)</li>
  34. <li>Select No Client</li>
  35. <li>Click Next to accept the default values</li>
  36. <li>Click the Save Configuration button and save the .xlaunch configuration file</li>
  37. <li>Click Finish</li>
  38. <li>Back in the WSL terminal run the following command to launch the LXDE desktop environment
  39. <div class="codeBlock">startlxde</div>
  40. </li>
  41. <li>Enjoy your Linux desktop environment running natively on Windows</li>
  42. </ol>
  43. </div>
  44. </div>
  45. </body>
  46. </html>