All Projects → DesktopECHO → kWSL

DesktopECHO / kWSL

Licence: other
KDE Neon 5.25+ installer for WSL1. Does not require Linux kernel, SystemD, hypervisor, container, or X11 server.

Programming Languages

Batchfile
5799 projects
powershell
5483 projects

Projects that are alternatives of or similar to kWSL

KDynamic
An Alternative to MacOS Mojave Dynamic Theme and Wallpaper Changer
Stars: ✭ 48 (-50%)
Mutual labels:  kde-desktop, kde-neon
doslinux
Run Linux programs on DOS
Stars: ✭ 1,272 (+1225%)
Mutual labels:  wsl
Lxrunoffline
A full-featured utility for managing Windows Subsystem for Linux (WSL)
Stars: ✭ 3,005 (+3030.21%)
Mutual labels:  wsl
dotfiles
~/.dotfiles
Stars: ✭ 28 (-70.83%)
Mutual labels:  wsl
Emacs Wsl
Install and run Emacs with the Windows Subsystem for Linux (WSL) in Windows 10.
Stars: ✭ 234 (+143.75%)
Mutual labels:  wsl
Pengwin
A Linux distro optimized for WSL based on Debian.
Stars: ✭ 1,415 (+1373.96%)
Mutual labels:  wsl
Alpinewsl
Alpine Linux based WSL distribution. Supports multi-install. Lightest WSL distribution.
Stars: ✭ 203 (+111.46%)
Mutual labels:  wsl
konfsave
Easy saving and switching between multiple KDE configurations.
Stars: ✭ 42 (-56.25%)
Mutual labels:  kde-desktop
dotfiles
My shell configuration and scripts. My "dotfiles". ... Over a decade of tuning my environments. ⌚😮🤯
Stars: ✭ 20 (-79.17%)
Mutual labels:  wsl
panon
An Audio Visualizer Widget in KDE Plasma
Stars: ✭ 113 (+17.71%)
Mutual labels:  kde-desktop
Archwsl
ArchLinux based WSL Distribution. Supports multiple install.
Stars: ✭ 3,667 (+3719.79%)
Mutual labels:  wsl
Fedora-KDE-Minimal-Install-Guide
Guide to install KDE Plasma desktop environment on a minimal Fedora installation
Stars: ✭ 125 (+30.21%)
Mutual labels:  kde-desktop
cxfuse
Crossmeta FUSE Windows Port
Stars: ✭ 55 (-42.71%)
Mutual labels:  wsl
Wsl Dotfiles
My dotfiles for running an i3-based environment within the Windows Subsystem for Linux (WSL).
Stars: ✭ 211 (+119.79%)
Mutual labels:  wsl
portabledevops
A portable devops tool set on windows, easy customization of cmder/console+msys2/cygwin/wsl
Stars: ✭ 53 (-44.79%)
Mutual labels:  wsl
.tmux
🇫🇷 Oh my tmux! My self-contained, pretty & versatile tmux configuration made with ❤️
Stars: ✭ 15,594 (+16143.75%)
Mutual labels:  wsl
memealyzer
Memealyzer is an app built to demonstrate some the latest and greatest Azure tech to dev, debug, and deploy microservice applications.
Stars: ✭ 97 (+1.04%)
Mutual labels:  wsl
wsl-clock
A utility to automatically correct clock drift in WSL 2 using Windows Events to detect points where clock drift may have occurred
Stars: ✭ 77 (-19.79%)
Mutual labels:  wsl
wsl-distrod
Distrod is a meta-distro for WSL 2 which installs Ubuntu, Arch, Debian, Gentoo, etc. with systemd in a minute for you. Distrod also has built-in auto-start feature on Windows startup and port forwarding ability.
Stars: ✭ 1,637 (+1605.21%)
Mutual labels:  wsl
convey
Communication through a serial port or named pipe
Stars: ✭ 46 (-52.08%)
Mutual labels:  wsl

kWSL.cmd - KDE Neon for WSL

  • Net-install of KDE Neon on WSL1 using xRDP. If you prefer GTK, see xWSL or Kali-xRDP
  • Runs on Windows 10 and Server 2019/2022 (including Hyper-V Core)
  • xRDP Display Server; no additional Xserver download/configuration required
  • High-quality RDP audio playback; video playback and YouTube work well and maintains audio sync.
  • If you want to accesss kWSL remotely, Chrome Remote Desktop is pre-installed (Never expose RDP servers to the Internet.) Configuration steps are here

image

IMPORTANT!

  • Windows 11 requires 22H2 Update (Sun Valley 2, September 2022)
  • Windows Server / Windows 10 require latest updates from Windows Update.

INSTALL INSTRUCTIONS

From an elevated CMD.EXE prompt change to your desired install directory and type/paste the following command:

PowerShell -executionpolicy bypass -command "wget https://github.com/DesktopECHO/kWSL/raw/master/kWSL.cmd -UseBasicParsing -OutFile kWSL.cmd ; .\kWSL.cmd"

You will be asked a few questions. The install script will determine current DPI scaling, or set your own value if preferred:

[kWSL Installer 20210609]

Enter a unique name for your kWSL distro or hit Enter to use default.
Keep this name simple, no space or underscore characters [kWSL]: Neon
Port number for xRDP traffic or hit Enter to use default [3399]: 13399
Port number for SSHd traffic or hit Enter to use default [3322]: 13322
Set a custom DPI scale, or hit Enter for Windows default [1.5]: 1.25
[Not recommended!] Type X to eXclude from Windows Defender:

Installing kWSL Distro [Neon] to "C:\WSL Distros\Neon"
This will take a few minutes, please wait...

The installer will download all the necessary packages to transform the Focal base image into KDE Neon User Edition. Reference times will vary depending on system performance and the presence of antivrirus software. A fast system/network can complete the install in about 10 minutes.

[ 2:47:40] Installing Ubuntu 20.04 LTS (~1m30s)
[ 2:48:48] Git clone and update repositories (~1m15s)
[ 2:49:49] Remove un-needed packages (~1m30s)
[ 2:50:28] Configure apt-fast Downloader (~0m45s)
[ 2:50:42] Remote Desktop Components (~2m45s)
[ 2:52:22] KDE Neon 5.22 User Edition (~11m30s)
[ 2:58:14] Install Web Browser and CRD (~1m30s)
[ 2:58:41] Final clean-up (~0m45s)

Near the end of the script you will be prompted to create a non-root user. This user will be automatically added to sudo'ers.

Open Windows Firewall Ports for xRDP, SSH, mDNS...
Building RDP Connection file, Console link, Init system...
Building Scheduled Task...
SUCCESS: The scheduled task "Neon" has successfully been created.

      Start: Thu 07/01/2021 @  2:46
        End: Thu 07/01/2021 @  2:58
   Packages: 1360

  - xRDP Server listening on port 13399 and SSHd on port 13322.

  - Links for GUI and Console sessions have been placed on your desktop.

  - (Re)launch init from the Task Scheduler or by running the following command:
    schtasks /run /tn Neon

 Neon Installation Complete!  GUI will start in a few seconds...

When the script completes you will be logged-in to your KDE Neon Desktop.

Configure kWSL to start at boot (like a service, no console window)

  • Right-click the task in Task Scheduler, click properties
  • Click the checkbox for Run whether user is logged on or not and click OK
  • Enter your Windows credentials when prompted

Reboot your PC when complete and kWSL will startup automatically.

Convert WSL Instance

Example of conversion to WSL2:

  • Stop WSL instance (Using default instance name NeonWSL in this example): wslconfig /t NeonWSL
  • Convert the instance to WSL2: wsl --set-version NeonWSL 2
  • Restart KDE Neon Instance: schtasks /run /tn NeonWSL

Restart the instance when the conversion is complete: schtasks.exe /run /tn NeonWSL

Procedure is the same for switching back to WSL1: wsl --set-version NeonWSL 1

Make it your own

From a security standpoint, it would be best to fork this project so you (and only you) control the packages and files in the repository.

  • Sign into GitHub and fork this project
  • Edit kWSL.cmd. On line 2 you will see SET GITORG=DesktopECHO - Change DesktopECHO to the name of your own repository.
  • Customize the script any way you like.
  • Launch the script using your repository name: PowerShell -executionpolicy bypass -command "wget https://github.com/YOUR-REPO-NAME/kWSL/raw/master/kWSL.cmd -UseBasicParsing -OutFile kWSL.cmd ; .\kWSL.cmd"

Quirks / Limitations / Additional Info:

  • When you log out out of a KDE session the WSL instance is restarted. This is the equivilent to having a freshly-booted desktop environment at every login, but the 'reboot' process only takes about 5 seconds.
  • kWSL should work fine with an X Server instead of xRDP but this has not been thoroughly tested. The file /etc/profile.d/kWSL.sh contains WSL-centric environment variables that may need adjustment such as LIBGL_ALWAYS_INDIRECT.
  • Plasma-discover doesn't work in Server 2019 / Win 10 v.1809 -- The installer will remove it if you're running an affected OS.
  • WSL1 Doesn't work with PolicyKit. Enabled kdesu for apps needing elevated rights (plasma-discover, ksystemlog, muon, root console.)
  • KDE Lockscreen is disabled (due to policykit)
  • Patched KDE Activity Manager to disable WAL in sqlite3.
  • Mozilla Seamonkey is included as a stable/maintained browser.
  • QtWebEngine (Chromium-based) browsers like Falkon and Konqueror now work. (July/21)
  • Installed image consumes approximately 3 GB of disk space.
  • Apt-fast added to improve download speed and reliability.
  • Default installation uses the Breeze theme and Windows fonts (Segoe UI / Cascadia Code)
  • Compositor replaced with Picom for better RDP performance and includes the Klassy window decoration / application style plugin
  • This is a basic installation of KDE to save bandwidth. If you want the complete KDE Desktop environment (+3GB Disk) run sudo pkcon -y install neon-all

image

image

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].