Install Ubuntu (GUI) on Windows 10 using the Windows Subsystem for Linux

Ubuntu Terminal

1. Open Windows Features, and enable the Windows Subsystem for Linux, then restart the PC.

Windows Features

2. Open the Microsoft Store and install Ubuntu App
Ubuntu App
3. Run Ubuntu App. The first time setup will ask to create a user account and password.
4. Update Ubuntu
sudo apt update
sudo apt upgrade

5. Install a Linux Desktop Environment
sudo apt install lxde

6. Configure Ubuntu to display the desktop though X Server
export DISPLAY=:0
export LIBGL_ALWAYS_INDIRECT=1

7. Install VcXsrv Windows X Server on Windows 10

8. Run VcXsrv, Select one large Window and enter 0 for the display number, Click Next and select 'Start no client' then click finish.
Display Settings

9. Start the Linux desktop environment
startlxde
Ubuntu Desktop







Comments