Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- π»π§ͺ **Mind-Blowing Hack: Full Ubuntu Desktop INSIDE Windows!** π₯
- You wonβt believe this β I just ran a **complete Ubuntu GNOME desktop** (not just the terminal) **right inside Windows**, side-by-side with my regular apps! π±π₯
- No virtual machine. No reboot. Just pure Linux magic. πͺ
- ### π **Step 1: Enable WSL (1-Click Setup)**
- **Easiest way:**
- π [Get WSL from Microsoft Store](https://apps.microsoft.com/detail/9pdxgncfsczv?hl=en-US&gl=US)
- **Or via PowerShell (Admin):**
- ```powershell
- wsl --install -d Ubuntu-24.04
- wsl --set-default-version 2
- ```
- Launch **Ubuntu** from Start Menu β finish setup. Done! β
- ### π₯οΈ **Pick Your Desktop Flavor**
- | Package | Desktop | Included in Ubuntu? |
- |---------------------|-------------------|---------------------|
- | `ubuntu-desktop` | **GNOME** (sleek & modern) | β Yes (default) |
- | `kubuntu-desktop` | KDE Plasma | β |
- | `xubuntu-desktop` | XFCE (lightweight)| β |
- | `lubuntu-desktop` | LXQt | β |
- ### βοΈ **Step 2: Launch Full GNOME Desktop**
- 1. Open **Ubuntu** in PowerShell:
- ```powershell
- wsl
- ```
- 2. Inside Ubuntu, run:
- ```bash
- sudo apt update && sudo apt upgrade -y
- sudo apt install ubuntu-desktop gnome-session gnome-terminal dbus-x11 x11-apps -y
- sudo service dbus start
- export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0
- gnome-session
- ```
- ### πͺ **Free X Server (Required!)**
- Download this **free, trusted X server** for Windows:
- π [VcXsrv X Server](https://apps.microsoft.com/detail/9pm8lp83g3l3?hl=en-US&gl=US)
- **Quick Start:**
- 1. Launch VcXsrv β choose **"Multiple windows"** β **Display 0** β **Start no client** β
- 2. Run `gnome-session` in WSL
- **BOOM!** Full Ubuntu desktop pops up β drag, resize, multitask like a pro! π―
- π‘ **Pro Tip:** Pin both Windows & Ubuntu apps to your taskbar. Switch in 1 click!
- No performance hit β WSL 2 uses hardware acceleration. π
Advertisement
Add Comment
Please, Sign In to add comment