WSL Fedora 42 - Windowed (GUI) apps -- Success !!!


jimbo45

Well-known member
Pro User
VIP
Local time
12:28 AM
Posts
4,981
Location
Hafnarfjörður IS
OS
Windows XP,7,10,11 Linux Arch Linux
Hi folks
This seems much easier now -- for W11 Pro versions at least

Simply a) create a file called .wslconfig at c:\users\youruserid (don't forget the '.').
[wsl2]
guiapplications=false

b) install the application with sudo dnf install <application>

c) start it in the wsl console window <application> &

ignore all the console messages = you should see your app

e.g Dolphin (KDE filemanager)

Screenshot 2025-05-09 090413.webp


or if you like old solitaire type games

sudo dnf install kpat

kpat &

then I selected Spider solitaire

Screenshot 2025-05-09 091023.webp

I haven't yet got "Multiple windows" so far - each windowed app has to be closed before another one can be initiated -- but I'm working to see if I can get a "Workspace" desktop e.g kde plasma or Gnome etc.

I think also you can't get access to this wsl from elsewhere in your network - it's host only sharing -- (remember it's not a VM !!). Still a lot of experimenting to do but seems fun -- the trick initially was that .wslconfig file -- But Ms has never been that great on documentation !!!!!

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Hi folks
This seems much easier now -- for W11 Pro versions at least

Simply a) create a file called .wslconfig at c:\users\youruserid (don't forget the '.').
[wsl2]
guiapplications=false

Hi jimbo45,

Actually you should set guiapplications to true, if you want to run Linux GUI software in WSL2.
 

My Computer

System One

  • OS
    Manjaro Linux with GNOME desktop environment, Windows 11 Pro with Debian Linux in WSL 2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Build to Order machine
    CPU
    Intel Core i7-4790 (Haswell Refresh)
    Motherboard
    MSI Z97 Gaming 7
    Memory
    32 GB
    Graphics Card(s)
    GIGABYTE NVIDIA GeForce RTX 2060 GAMING OC PRO 6G
    Monitor(s) Displays
    LG 27GN650-B IPS HDR Gaming Monitor 27" FHD
    Screen Resolution
    1080p
    Hard Drives
    2 x Samsung 860 EVO SATA SSD 1TB
    1 x Samsung 870 EVO SATA SSD 2TB
    PSU
    Corsair 1000 Watt
    Case
    Corsair Obsidian Series 750D full tower ATX case
    Cooling
    CORSAIR Hydro Series H80i v2
    Internet Speed
    1 Gbps / 1 Gbps symmetrical FTTH (GPON)
    Browser
    Microsoft Edge

Latest Support Threads

Back
Top Bottom