123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <!DOCTYPE html>
- <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Install a Desktop Environment on Windows Subsystem for Linux (WSL)</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta charset="UTF-8">
- <meta name="keywords" content="Windows,Linux,Ubuntu,Debian,WSL,Subsystem,Linux On Windows,Desktop Environment,User Interface,UI,Home Lab,Home Lab Ideas,Install Guide,Windows Subsystem For Linux,WSL Desktop,WSL Desktop Environment,WSL Desktop GUI,How To,Tutorial,i12bretro">
- <meta name="author" content="i12bretro">
- <meta name="description" content="Install a Desktop Environment on Windows Subsystem for Linux (WSL)">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="revised" content="01/07/2023 09:48:37 AM" />
- <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
- <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
- <script type="text/javascript" src="includes/js/steps.js"></script>
- <link href="css/steps.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="gridContainer">
- <div class="topMargin"></div>
- <div id="listName" class="topMargin">
- <h1>Install a Desktop Environment on Windows Subsystem for Linux (WSL)</h1>
- </div>
- <div></div>
- <div id="content">
- <ol>
- <li>Download VcXsrv <a href="https://sourceforge.net/projects/vcxsrv/" target="_blank">Download</a></li>
- <li>Install VcXsrv</li>
- <li>Launch WSL environment</li>
- <li>Run the following commands in the WSL terminal to install the lightweight LXDE desktop environment
- <div class="codeBlock">sudo apt-get install lxde<br />
- export DISPLAY=:0<br />
- export LIBGL_ALWAYS_INDIRECT=1</div>
- </li>
- <li>Run VcXsrv</li>
- <li>Select how to display the Linux environment (Windowed, Full Screen, etc)</li>
- <li>Select No Client</li>
- <li>Click Next to accept the default values</li>
- <li>Click the Save Configuration button and save the .xlaunch configuration file</li>
- <li>Click Finish</li>
- <li>Back in the WSL terminal run the following command to launch the LXDE desktop environment
- <div class="codeBlock">startlxde</div>
- </li>
- <li>Enjoy your Linux desktop environment running natively on Windows</li>
- </ol> </div>
- </div>
- </body>
- </html>
-
|