Install Ubuntu 24.04 on Windows 11 with GUI using WSL
Step 1:Enable Hardware Virtualization
To use WSL, hardware virtualization must be enabled. This feature is usually on by default, but if it’s not, you’ll need to enable it in your BIOS settings.
Look for Intel VT-d, AMD-V, or SVM features and activate them. Verify the status by opening Task Manager, selecting the CPU tab, and checking if virtualization is enabled
Step 3: Install WSL Feature
- Open the search bar, type “Turn Windows features on or off”, and select it.
- Enable the “Virtual Machine Platform” and “Windows Subsystem for Linux” options.
- Click Apply and reboot your computer.
Step 4: Update WSL
After rebooting, right-click on the desktop, open the terminal, and update WSL to the latest version with the following command
wsl --update
Verify the update by typing:
wsl --version
Step 5: Install Ubuntu 24.04
You can either use Micrsoft store or throug powershell
Use powershell with Administrative privellage.
Install Ubuntu 24.04 LTS by typing:
PS C:\Windows\system32> dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
Deployment Image Servicing and Management tool
Version: 10.0.22621.2792
Image Version: 10.0.22631.3880
Enabling feature(s)
[==========================100.0%==========================]
The operation completed successfully.
PS C:\Windows\system32> dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Deployment Image Servicing and Management tool
Version: 10.0.22621.2792
Image Version: 10.0.22631.3880
Enabling feature(s)
[==========================100.0%==========================]
The operation completed successfully
Step 6: Now start Ubuntu from start menu / Apps / Ubuntu
Step7:Running Linux GUI Applications
Install applications like GIMP, Blender, Kdenlive, and Krita with:
sudo apt install gimp blender kdenlive krita
sudo apt update && sudo apt full-upgrade
sudo apt install xfce4 xfce4-goodies
sudo apt install xrdp
Configure XRDP
sudo cp /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.ini.bak
Follow instructions to configure xrdp by typing the below commands
sudo sed -i 's/3389/3390/g' /etc/xrdp/xrdp.ini
sudo sed -i 's/max_bpp=32/#max_bpp=32\nmax_bpp=128/g' /etc/xrdp/xrdp.ini
sudo sed -i 's/xserverbpp=24/#xserverbpp=24\nxserverbpp=128/g' /etc/xrdp/xrdp.ini
sudo /etc/init.d/xrdp start
Then configure the XRDP window manager :
sudo nano /etc/xrdp/startwm.sh
then uncomment the lines by seeing the screen shot below by adding a HASH tag at the beginning of each statement, Then at the bottom a statement to startxfce4
You can find and Open these applications from the start menu under the Ubuntu group.