Running WSL2 for real work


smoketoxdoc

Active member
Local time
2:30 PM
Posts
35
OS
Windows 11
Running WSL2 in production on hp Laptop 17-cp3005dx. I do not know if setting memory and swap file size to 2X default is actually doing anything real or not. Running Firefox on WSL works, but appears to create conflict. Use WSL for Gnome Evolution, LibreOffice, Nemo (like file explorer), and Shotwell photo viewer. I can access exFAT partitions on Win 11 side.

Problems: 1) starting from cold boot means you have to go back and redo things, particularly to get Gnome Evolution working; 2) WSL side has problems sometimes connecting with the Internet.; getting error, "The feature you are trying to use that is on a network resource that is unavailable; refers to installation of wsl.2.5.7.0.x64.msii

Please let me know suggestions for making WSL work better. One thing that I want to do but do not know how is update Ubuntu 24.04 to 25.04. Normal procedures you would use from the CL prompt ($) with sudo do not work.

Thank you for reading.

John
 
Windows Build/Version
Version 10.0.22621 Build 22621

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Dell Precision 7720
    Memory
    32 gb
    Graphics Card(s)
    NVidia
    Monitor(s) Displays
    built on
    Screen Resolution
    1920 x 1080
    Browser
    Edge
    Other Info
    This is stock Dell 7720. Only thing not stock is that it is dual boot with Ubuntu Unity 25.04 and SSD has two exFAT partitions for my files. They can be accessed by both Ubuntu and Win software.
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    HP Laptop 17-cp3005dx
    Memory
    32 GB
    Browser
    firefox
    Other Info
    Every thing is stock HP. Don't know details. It works, BUT IT IS A DOG. SOMETHING IN PC IS KEEPING ME FROM INSTALLING UBUNTU, EVEN USING RUFUS
Running WSL2 in production on hp Laptop 17-cp3005dx. I do not know if setting memory and swap file size to 2X default is actually doing anything real or not. Running Firefox on WSL works, but appears to create conflict. Use WSL for Gnome Evolution, LibreOffice, Nemo (like file explorer), and Shotwell photo viewer. I can access exFAT partitions on Win 11 side.

Problems: 1) starting from cold boot means you have to go back and redo things, particularly to get Gnome Evolution working; 2) WSL side has problems sometimes connecting with the Internet.; getting error, "The feature you are trying to use that is on a network resource that is unavailable; refers to installation of wsl.2.5.7.0.x64.msii

Please let me know suggestions for making WSL work better. One thing that I want to do but do not know how is update Ubuntu 24.04 to 25.04. Normal procedures you would use from the CL prompt ($) with sudo do not work.

Thank you for reading.

John
Download Ubuntu 25.04 from this link. Uninstall your current distro using the instructions in this link and then install the distro you downloaded by double clicking it. WSL should now open and use 25.04
 

My Computers

System One System Two

  • OS
    Windows 11 build 10.0.26100.4061 / WSL 2 running Ubuntu
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron 14 5430
    CPU
    Intel i7-1355U
    Motherboard
    Dell 0GMW80
    Memory
    16GB
    Graphics Card(s)
    Intel Iris XE
    Sound Card
    Realtek
    Monitor(s) Displays
    Dell 14", LG 32" Curved Wide screen monitor and LG Ultrawide 26"
    Screen Resolution
    1920 x 1200 @ 60Hz, 1920 x 1080 @ 100Hz and 2560 x 1080 @ 60Hz
    Hard Drives
    Samsung 990 Pro 1TB NVME Gen 4 M.2 SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Keyboard
    Dell KM3322W
    Mouse
    Dell Trackpad or Dell KM3322W
    Internet Speed
    900mb down / 400mb up FTTP
    Browser
    Edge 132.0.2957.11
    Antivirus
    Windows Defender
    Other Info
    Windows 365
    1TB OneDrive
    Outlook Classic
    Visual Studio Code running in WSL
    Python 3.13
    Samsung Magician
    Garmin Express
    Dell TB16 Thunderbolt dock
    WSL
    WEI Score: 8.3
  • Operating System
    Windows 11
    Computer type
    Tablet
    Manufacturer/Model
    Microsoft Surface Pro 7
    CPU
    Core i5 - 1035G4
    Motherboard
    Microsoft
    Memory
    8GB
    Graphics card(s)
    Intel Iris Plus
    Monitor(s) Displays
    Surface touch
    Screen Resolution
    2736 x 1824
    Hard Drives
    128GB
    PSU
    Microsoft
    Case
    Microsoft Keyboard
    Cooling
    None
    Mouse
    Microsoft Arc Intellimouse
    Keyboard
    Microsoft Surface Keyboard
    Internet Speed
    900mb / 400mb FTTP
    Browser
    Edge
    Antivirus
    Windows Defender
Thank you very much for your help on getting 25.04. Unlike the first time I tried WSL, one had to do a sudo apt update before doing anything else. I have only focused on getting Synaptic, Evolution, Nemo, and Libreoffice running. I have not gotten any of the desktops to start. I generally use the Unity build of Ubuntu. Also, has anyone optimized the settings for the memory to be allocated to WSL and the size of the swap file?

John
 

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Dell Precision 7720
    Memory
    32 gb
    Graphics Card(s)
    NVidia
    Monitor(s) Displays
    built on
    Screen Resolution
    1920 x 1080
    Browser
    Edge
    Other Info
    This is stock Dell 7720. Only thing not stock is that it is dual boot with Ubuntu Unity 25.04 and SSD has two exFAT partitions for my files. They can be accessed by both Ubuntu and Win software.
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    HP Laptop 17-cp3005dx
    Memory
    32 GB
    Browser
    firefox
    Other Info
    Every thing is stock HP. Don't know details. It works, BUT IT IS A DOG. SOMETHING IN PC IS KEEPING ME FROM INSTALLING UBUNTU, EVEN USING RUFUS
Thank you very much for your help on getting 25.04. Unlike the first time I tried WSL, one had to do a sudo apt update before doing anything else. I have only focused on getting Synaptic, Evolution, Nemo, and Libreoffice running. I have not gotten any of the desktops to start. I generally use the Unity build of Ubuntu. Also, has anyone optimized the settings for the memory to be allocated to WSL and the size of the swap file?

John
If you are doing "production type work" on WSL I'd suggest you use something like Fedora since it's built by Redhat / IBM who have 100,000's of customers using their Enterprise server system based on Fedora. Otherwise you are probably better off with say HYPER-V and running a full blown Linux distro as a VM - server versions are better if you don't need a GUI for Linux -- ssh from windows into the command line. (Once you've connected to linux from windows you can then use sudo or su to get admin privileges -- ssh from windows needs to be in std "user" mode.

Otherwise you can get some decent GUI connections and management if you install cockpit on the Linux distro via your package manager and connect from windows / any other system via a browser. No need to install any window manager on the Linux system if you don't want to. To access cockpit -- simply https://<server or Ip address>:9090. On the panel there's an option also to sign in in admin / superuser mode if you need to.

Also works if you install Linux under HYPER-V as a VM - suggest though you use EXTERNAL switch for networking otherwise it's fiddly with NAT getting decent communication between HOST and GUEST.

e.g
Screenshot_20250613_095514.webp



Cheers
jimbo
 
Last edited:

My Computer

System One

  • OS
    Windows XP,10,11 Linux (Fedora 42&43 pre-release,Arch Linux)
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
    Screen Resolution
    4KUHD X 2
Thank you, jimbo, for your help. Right now, I am too far along the way to setting this laptop to be primary PC for a long trip beginning soon. Backujp laptop will be a small Lenovo one.

One very important thing I found out this morning is that install software from the Linux prompt can put it on the Windows side instead of the Ubuntu side. This is very important in the case of PDF Studio Pro 2024. It installs from a shell script. If you execute the script from the Linux prompt, it goes into wsl. Where it needs to go /usr/local. To do this, you need to copy the shell script into root and execute it there.
 

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Dell Precision 7720
    Memory
    32 gb
    Graphics Card(s)
    NVidia
    Monitor(s) Displays
    built on
    Screen Resolution
    1920 x 1080
    Browser
    Edge
    Other Info
    This is stock Dell 7720. Only thing not stock is that it is dual boot with Ubuntu Unity 25.04 and SSD has two exFAT partitions for my files. They can be accessed by both Ubuntu and Win software.
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    HP Laptop 17-cp3005dx
    Memory
    32 GB
    Browser
    firefox
    Other Info
    Every thing is stock HP. Don't know details. It works, BUT IT IS A DOG. SOMETHING IN PC IS KEEPING ME FROM INSTALLING UBUNTU, EVEN USING RUFUS
I don't understand why it's necessary.
You can buy an inexpensive laptop for linux or use dual boot.
Maybe there are some specific tasks?
When the IBM VM/370 was introduced, it was probably needed, but why would it be needed now?
 

My Computer

System One

  • OS
    Microsoft Windows 11 Home
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI MS-7D98
    CPU
    Intel Core i5-13490F
    Motherboard
    MSI B760 GAMING PLUS WIFI
    Memory
    2 x 16 Patriot Memory (PDP Systems) PSD516G560081
    Graphics Card(s)
    GIGABYTE GeForce RTX 4070 WINDFORCE OC 12G (GV-N4070WF3OC-12GD)
    Sound Card
    Bluetooth Аудио
    Monitor(s) Displays
    INNOCN 15K1F
    Screen Resolution
    1920 x 1080
    Hard Drives
    WD_BLACK SN770 250GB
    KINGSTON SNV2S1000G (ELFK0S.6)
    PSU
    Thermaltake Toughpower GF3 1000W
    Case
    CG560 - DeepCool
    Cooling
    ID-COOLING SE-224-XTS / 2 x 140Mm Fan - rear and top; 3 x 120Mm - front
    Keyboard
    Corsair K70 RGB TKL
    Mouse
    Corsair KATAR PRO XT
    Internet Speed
    100 Mbps
    Browser
    Firefox
    Antivirus
    Microsoft Defender Antivirus
    Other Info
    https://www.userbenchmark.com/UserRun/66553205
I don't understand why it's necessary.
You can buy an inexpensive laptop for linux or use dual boot.
Maybe there are some specific tasks?
When the IBM VM/370 was introduced, it was probably needed, but why would it be needed now?
You can actually run IBM MVS/SP or even IBM VM/370 on a PC !! using the Hercules emulator !! (FREE)

works great !!!



some retired IBM sysprogs might like to play with this stuff --works both on Windows and Linux.

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,10,11 Linux (Fedora 42&43 pre-release,Arch Linux)
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
    Screen Resolution
    4KUHD X 2
@smoketoxdoc

Another reason for using Fedora for this stuff -- very easy to update the system to newer release - couldn't be easier simply whether in wsl, a VM or as a HOST just type sudo dnf5 system-upgrade --releasever=43 --allowerasing and then restart the system and execute the command shown on the screen. "Seeeempleees" !!!!!!. Use the allowerasing parameter in case the upgrade leaves parts of packages without their component bits -- all works smoothly and without issues. When it comes to IBM (now owners of Redhat who develop Fedora as a test bed for their robust commercial servers) their software always works !!!.

Personally I'd chuck Ubuntu with Canonical the "owners" of the project (who are trying to "de-opensource" as much stuff as possible against the very spirit of Linux) into the nearest bin.

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,10,11 Linux (Fedora 42&43 pre-release,Arch Linux)
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
    Screen Resolution
    4KUHD X 2

Latest Support Threads

Back
Top Bottom