{"id":26164860,"url":"https://github.com/sileshn/manjarowsl2","last_synced_at":"2026-05-01T01:04:59.412Z","repository":{"id":64080829,"uuid":"567099183","full_name":"sileshn/ManjaroWSL2","owner":"sileshn","description":"Manjaro for WSL2 using wsldl","archived":false,"fork":false,"pushed_at":"2025-09-01T01:04:06.000Z","size":1633,"stargazers_count":288,"open_issues_count":0,"forks_count":14,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-10-08T07:47:19.256Z","etag":null,"topics":["bash-on-windows","manjaro","manjaro-linux","windows-subsystem-for-linux","windows-subsystem-linux","wsl2","wsldl"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sileshn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-11-17T04:04:29.000Z","updated_at":"2025-10-02T09:16:10.000Z","dependencies_parsed_at":"2023-02-17T00:45:22.099Z","dependency_job_id":"ab0013bd-0d34-496f-b983-2532b58afb48","html_url":"https://github.com/sileshn/ManjaroWSL2","commit_stats":null,"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"purl":"pkg:github/sileshn/ManjaroWSL2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sileshn%2FManjaroWSL2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sileshn%2FManjaroWSL2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sileshn%2FManjaroWSL2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sileshn%2FManjaroWSL2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sileshn","download_url":"https://codeload.github.com/sileshn/ManjaroWSL2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sileshn%2FManjaroWSL2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281071720,"owners_count":26439042,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-26T02:00:06.575Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash-on-windows","manjaro","manjaro-linux","windows-subsystem-for-linux","windows-subsystem-linux","wsl2","wsldl"],"created_at":"2025-03-11T15:57:05.467Z","updated_at":"2025-10-26T07:18:08.836Z","avatar_url":"https://github.com/sileshn.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Disclaimer\n\nThis project is in no way related to or created by the official Manjaro team or its members. It is solely a project of mine. Do not go around spamming the Manjaro forum if you come across any issues. You certainely won't receive any help. Mention your issues here and I'll try to find a solution.\n\n## ManjaroWSL2\nManjaro on WSL2 (Windows 10 FCU or later) based on [wsldl](https://github.com/yuk7/wsldl).\n\n[![Screenshot-2022-11-17-155106.png](https://i.postimg.cc/YCk0Gs9H/Screenshot-2022-11-17-155106.png)](https://postimg.cc/sv6sbK76)\n[![Github All Releases](https://img.shields.io/github/downloads/sileshn/ManjaroWSL2/total?logo=github\u0026style=flat-square)](https://github.com/sileshn/ManjaroWSL2/releases) [![GitHub release (latest by date)](https://img.shields.io/github/v/release/sileshn/ManjaroWSL2?display_name=release\u0026label=latest%20release\u0026style=flat-square)](https://github.com/sileshn/ManjaroWSL2/releases/latest)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) [![License](https://img.shields.io/github/license/sileshn/ManjaroWSL2.svg?style=flat-square)](https://github.com/sileshn/ManjaroWSL2/blob/main/LICENSE)\n\n## Features and important information\nManjaroWSL2 may not properly load the Intel WSL driver by default which makes it impossible to use the D3D12 driver on Intel graphics cards. This is because the Intel WSL driver files link against libraries that do not exist on Manjaro. You can manually fix this issue using `ldd` to see which libraries they are linked, eg: `ldd /usr/lib/wsl/drivers/iigd_dch_d.inf_amd64_49b17bc90a910771/*.so`, and then try installing the libraries marked `not found` from the Manjaro package repository. If the corresponding library file is not found in the package repository, it may be that the version suffix of the library file is different, such as `libedit.so.0.0.68` and `libedit.so.2`. In such a case, you can try to create a symlink.\n\nManjaroWSL2 has the following features during the installation stage.\n* Increase virtual disk size from the default 256GB\n* Create a new user and set the user as default\n* ManjaroWSL2 Supports systemd natively if you are running wsl v0.67.6 (more details [here](https://devblogs.microsoft.com/commandline/systemd-support-is-now-available-in-wsl/)) and above. For earlier versions of wsl, systemd is supported using diddledani's [one-script-wsl2-systemd](https://github.com/diddledani/one-script-wsl2-systemd). This is done automatically during initial setup.\n* ManjaroWSL2 includes a wsl.conf file which only has [section headers](https://i.postimg.cc/MZ4DC1Fw/Screenshot-2022-02-02-071533.png). Users can use this file to configure the distro to their liking. You can read more about wsl.conf and its configuration settings [here](https://docs.microsoft.com/en-us/windows/wsl/wsl-config).\n\n## Requirements\n* For x64 systems: Version 1903 or higher, with Build 18362 or higher.\n* For ARM64 systems: Version 2004 or higher, with Build 19041 or higher.\n* Builds lower than 18362 do not support WSL 2.\n* If you are running Windows 10 version 2004 or higher, you can install all components required to run wsl2 with a single command. This will install ubuntu by default. More details are available [here](https://devblogs.microsoft.com/commandline/install-wsl-with-a-single-command-now-available-in-windows-10-version-2004-and-higher/).\n\t```cmd\n\twsl.exe --install\n\t```\n* If you are running Windows 10 lower then version 2004, follow the steps below. For more details, check [this](https://docs.microsoft.com/en-us/windows/wsl/install-manual) microsoft document.\n\t* Enable Windows Subsystem for Linux feature.\n\t```cmd\n\tdism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart\n\t```\n\t* Enable Virtual Machine feature\n\t```cmd\n\tdism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart\n\t```\n\t* Download and install the latest Linux kernel update package from [here](https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi).\n\n## How to install\n* Make sure all the steps mentioned under \"Requirements\" are completed.\n* [Download](https://github.com/sileshn/ManjaroWSL2/releases/latest) installer zip\n* Extract all files in zip file to same directory\n* Set version 2 as default. Note that this step is required only for manual installation.\n  ```dos\n  wsl --set-default-version 2\n  ```\n* Run Manjaro.exe to extract rootfs and register to WSL\n\n**Note:**\nExe filename is using the instance name to register. If you rename it you can register with a diffrent name and have multiple installs.\n\n## How to setup\nManjaroWSL2 will ask you to create a new user during its first run. If you choose to create a new user during the first run, the steps below are not required unless you want to create additional users.\n\nOpen Manjaro.exe and run the following commands.\n```dos\npasswd\nuseradd -m -g users -G wheel -s /bin/bash \u003cusername\u003e\necho \"%wheel ALL=(ALL) ALL\" \u003e/etc/sudoers.d/wheel\npasswd \u003cusername\u003e\nexit\n```\n\nYou can set the user you created as default user using 2 methods.\n\nOpen Manjaro.exe, run the following command (replace username with the actual username you created).\n```dos\nsed -i '/\\[user\\]/a default = username' /etc/wsl.conf\n```\n\nShutdown and restart the distro (this step is important).\n\n(or)\n\nExecute the command below in a windows cmd terminal from the directory where Manjaro.exe is installed.\n```dos\n\u003eManjaro.exe config --default-user \u003cusername\u003e\n```\n\nSet up pacman mirrors before you proceed using ManjaroWSL2. Pacman is configured to use the Global mirror by default. Switch to the mirror/mirrors of your choice or reset to use all mirrors before you update. More information on how to use pacman-mirrors is available [here](https://wiki.manjaro.org/index.php/Pacman-mirrors).\n```dos\n$sudo pacman-mirrors --country \u003cname\u003e\n$sudo pacman -Syu\n```\n\n## How to use installed instance\n#### exe Usage\n```\nUsage :\n    \u003cno args\u003e\n      - Open a new shell with your default settings.\n        Inherit current directory (with exception that %%USERPROFILE%% is changed to $HOME).\n\n    run \u003ccommand line\u003e\n      - Run the given command line in that instance. Inherit current directory.\n\n    runp \u003ccommand line (includes windows path)\u003e\n      - Run the given command line in that instance after converting its path.\n\n    config [setting [value]]\n      - `--default-user \u003cuser\u003e`: Set the default user of this instance to \u003cuser\u003e.\n      - `--default-uid \u003cuid\u003e`: Set the default user uid of this instance to \u003cuid\u003e.\n      - `--append-path \u003ctrue|false\u003e`: Switch of Append Windows PATH to $PATH\n      - `--mount-drive \u003ctrue|false\u003e`: Switch of Mount drives\n      - `--wsl-version \u003c1|2\u003e`: Set the WSL version of this instance to \u003c1 or 2\u003e\n      - `--default-term \u003cdefault|wt|flute\u003e`: Set default type of terminal window.\n\n    get [setting [value]]\n      - `--default-uid`: Get the default user uid in this instance.\n      - `--append-path`: Get true/false status of Append Windows PATH to $PATH.\n      - `--mount-drive`: Get true/false status of Mount drives.\n      - `--wsl-version`: Get the version os the WSL (1/2) of this instance.\n      - `--default-term`: Get Default Terminal type of this instance launcher.\n      - `--wt-profile-name`: Get Profile Name from Windows Terminal\n      - `--lxguid`: Get WSL GUID key for this instance.\n\n    backup [file name]\n      - `*.tar`: Output backup tar file.\n      - `*.tar.gz`: Output backup tar.gz file.\n      - `*.ext4.vhdx`: Output backup ext4.vhdx file. (WSL2 only)\n      - `*.ext4.vhdx.gz`: Output backup ext4.vhdx.gz file. (WSL2 only)\n      - `*.reg`: Output settings registry file.\n\n    clean\n      - Uninstall that instance.\n\n    help\n      - Print this usage message.\n```\n\n#### Run exe\n```cmd\n\u003eManjaro.exe\n[root@PC-NAME user]#\n```\n\n#### Run with command line\n```cmd\n\u003eManjaro.exe run uname -r\n4.4.0-43-Microsoft\n```\n\n#### Run with command line using path translation\n```cmd\n\u003eManjaro.exe runp echo C:\\Windows\\System32\\cmd.exe\n/mnt/c/Windows/System32/cmd.exe\n```\n\n#### Change default user(id command required)\n```cmd\n\u003eManjaro.exe config --default-user user\n\n\u003eManjaro.exe\n[user@PC-NAME dir]$\n```\n\n#### Set \"Windows Terminal\" as default terminal\n```cmd\n\u003eManjaro.exe config --default-term wt\n```\n\n## How to update\nUpdating Manjaro doesn't require you to download and install a newer release everytime. Usually all it takes is to run the command below to update the instance.\n```dos\n$sudo pacman -Syu\n```\n\nSometimes updates may fail to install. You can try the command below in such a situation.\n```dos\n$sudo pacman -Syyuu\n```\n\nYou may need to install a newer release if additional features have been added/removed from the installer.\n\n## How to uninstall instance\n```dos\n\u003eManjaro.exe clean\n\n```\n\n## How to backup instance\nexport to backup.tar.gz (WSL1 or 2)\n```cmd\n\u003eManjaro.exe backup backup.tar.gz\n```\nexport to backup.ext4.vhdx.gz  (WSL2 only)\n```cmd\n\u003eManjaro.exe backup backup.ext4.vhdx.gz\n```\n\n## How to restore instance\n\nThere are 2 ways to do it. \n\nRename the backup to rootfs.tar.gz and run Manjaro.exe\n\n(or)\n\n.tar(.gz)\n```cmd\n\u003eManjaro.exe install backup.tar.gz\n```\n.ext4.vhdx(.gz)\n```cmd\n\u003eManjaro.exe install backup.ext4.vhdx.gz\n```\n\nYou may need to run the command below in some circumstances.\n```cmd\n\u003eManjaro.exe --default-uid 1000\n```\n\n## How to build from source\n#### prerequisites\nDocker, tar, zip, unzip, bsdtar need to be installed.\n\n```dos\ngit clone git@gitlab.com:sileshn/ManjaroWSL2.git\ncd ManjaroWSL2\nmake\n```\nCopy the Manjaro.zip file to a safe location and run the command below to clean.\n```dos\nmake clean\n```\n\n## How to run docker in ManjaroWSL2 without using docker desktop\nInstall docker.\n```dos\nsudo pacman -S docker\n```\n\nFollow [this](https://blog.nillsf.com/index.php/2020/06/29/how-to-automatically-start-the-docker-daemon-on-wsl2/) blog post for further details on how to setup. Alternatively, if using systemd, use the commands below to setup and reboot.\n```dos\nsudo systemctl start docker.service\nsudo systemctl enable docker.service\nsudo usermod -aG docker $USER\n```\n[![Screenshot-2022-11-17-155326.png](https://i.postimg.cc/Pq7d43tN/Screenshot-2022-11-17-155326.png)](https://postimg.cc/5Hwc9mQM)\n\n## How to setup a desktop environment\n\nYou need to follow the [official instructions](https://wiki.manjaro.org/index.php/Install_Desktop_Environments#KDE_Plasma_5) to setup desktop environment.\n\nTake Plasma 5 as an example, first install the desktop environment:\n```shell\nsudo pacman -S plasma kio-extras\nsudo systemctl enable sddm.service --force\n```\n\nSecond, you need to install the xorg and xrdp.\n```shell\npacman -S xorg xorg-server\n```\nxorgxrdp is in AUR so you can install it with yay or pamac.\n```shell\nyay -S xorgxrdp xrdp\n```\nThen you need to enable and start xrdp service.\n```shell\nsudo systemctl enable xrdp.service\nsudo systemctl start xrdp.service\nsudo systemctl reboot\n```\n\nYou will need to add below code to your ~/.xinitrc file. Create the file if it doesn't exist.\n```shell\n#!/bin/sh\n/usr/lib/plasma-dbus-run-session-if-needed startplasma-x11\n```\n\nFinally, execute `ip addr | grep eth0` to get the IP address. You should be able to press `Win+R` and run `mstsc` to connect to your RDP server with the ip:3389 as target input. Remember to select the `xvnc` option to log in, you should be able to see the desktop after it.\n\nRefer to the following links for more information.\n\n`https://www.reddit.com/r/ManjaroLinux/comments/iu1mxb/manjaro_running_on_wsl_2_windows_subsystem_for/`\n`https://wiki.archlinux.org/title/xrdp#Black_screen_with_a_desktop_environment`\n\n[![299938465-44a7d727-5383-40e9-bc86-6f5f6bd92043.png](https://i.postimg.cc/RZcBpWTw/299938465-44a7d727-5383-40e9-bc86-6f5f6bd92043.png)](https://postimg.cc/NKfS5fS0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsileshn%2Fmanjarowsl2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsileshn%2Fmanjarowsl2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsileshn%2Fmanjarowsl2/lists"}