{"id":25556884,"url":"https://github.com/kevin-doolaeghe/wsl2-linux-integration","last_synced_at":"2026-01-27T04:33:07.849Z","repository":{"id":181214655,"uuid":"450874640","full_name":"kevin-doolaeghe/wsl2-linux-integration","owner":"kevin-doolaeghe","description":"Windows Subsystem for Linux integration on Windows","archived":false,"fork":false,"pushed_at":"2022-01-23T11:19:35.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-31T11:37:49.295Z","etag":null,"topics":["documentation","wsl2"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kevin-doolaeghe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-01-22T16:38:11.000Z","updated_at":"2022-02-08T21:34:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"a4ad44e3-3c4b-4bff-8b85-aa19449775d7","html_url":"https://github.com/kevin-doolaeghe/wsl2-linux-integration","commit_stats":null,"previous_names":["kevin-doolaeghe/wsl2-linux-integration"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kevin-doolaeghe/wsl2-linux-integration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevin-doolaeghe%2Fwsl2-linux-integration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevin-doolaeghe%2Fwsl2-linux-integration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevin-doolaeghe%2Fwsl2-linux-integration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevin-doolaeghe%2Fwsl2-linux-integration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevin-doolaeghe","download_url":"https://codeload.github.com/kevin-doolaeghe/wsl2-linux-integration/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevin-doolaeghe%2Fwsl2-linux-integration/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28802064,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T03:44:14.111Z","status":"ssl_error","status_checked_at":"2026-01-27T03:43:33.507Z","response_time":168,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["documentation","wsl2"],"created_at":"2025-02-20T14:56:09.071Z","updated_at":"2026-01-27T04:33:07.835Z","avatar_url":"https://github.com/kevin-doolaeghe.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# WSL (Windows Subsystem for Linux) | Linux integration on Windows\n\n## References\n\n* [WSL Documentation](https://docs.microsoft.com/fr-fr/windows/wsl/)\n* [Activate WSL on Windows](https://lecrabeinfo.net/installer-wsl-windows-subsystem-for-linux-sur-windows-10.html)\n* [Docker Desktop WSL2 integration on Windows](https://docs.docker.com/desktop/windows/wsl/)\n* [Share USB devices with Hyper-V and WSL guests](https://github.com/dorssel/usbipd-win)\n* [Kali Linux desktop integration](https://www.kali.org/docs/wsl/win-kex/)\n* [Kali Linux Metapackages](https://www.kali.org/docs/general-use/metapackages/)\n\n## Share USB devices with WSL machines\n\n### Windows host :\n\n* Install `usbipd-win` via Powershell :\n```\nwinget install --interactive --exact dorssel.usbipd-win\n```\n\n* List all USB devices :\n```\nusbipd list\n```\n\n* Share `2-10` device :\n```\nusbipd bind --busid=2-10\n```\n\n### WSL host :\n\n* Install `usbip` package :\n```\nsudo apt update\nsudo apt install linux-tools-5.4.0-77-generic hwdata\nsudo update-alternatives --install /usr/local/bin/usbip usbip /usr/lib/linux-tools/5.4.0-77-generic/usbip 20\n```\n\n* List shared devices from `192.168.128.1` host (Windows host) :\n```\nusbip list -r192.168.128.1\n```\n\n* Attach `2-10` device from `192.168.128.1` host :\n```\nusbip attach -r192.168.128.1 -b2-10\n```\n\n## Add Windows integration for Kali Linux WSL2\n\n* Enable WSL on Windows\n* Install Kali on the Microsoft Store\n* Install entire Kali system :\n```\nsudo apt install -y kali-linux-large\n```\n\n* Install `Win-KeX` package :\n```\nsudo apt update\nsudo apt install -y kali-win-kex\n```\n\n* Start `Win-KeX` service :\n\u003e Window mode :\n```\nkex --win -s\n```\n\u003e Enhanced session mode :\n```\nkex --esm --ip -s\n```\n\u003e Seamless mode :\n```\nkex --sl -s\n```\n\n* Add following configuration to Windows terminal configuration JSON file :\n```\n{\n        \"guid\": \"{55ca431a-3a87-5fb3-83cd-11ececc031d2}\",\n        \"hidden\": false,\n        \"name\": \"Win-KeX\",\n        \"commandline\": \"wsl -d kali-linux kex --sl --wtstart -s\",\n        \"startingDirectory\" : \"//wsl$/kali-linux/home/kevin\"\n},\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevin-doolaeghe%2Fwsl2-linux-integration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevin-doolaeghe%2Fwsl2-linux-integration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevin-doolaeghe%2Fwsl2-linux-integration/lists"}