wslg
Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
File Explorer
Download Latest Version (.zip)- bug_report.yml
- config.yml
- feature_request.yml
- BUILD.md
- default_wslg.pa
- local.conf
- weston.ini
- wsl.conf
- xwayland_log.patch
- FreeRDP2.list
- FreeRDP3.list
- gen_debuginfo.sh
- rdpapplist.list
- strip_debuginfo.sh
- weston.list
- WSLGd.list
- get-nuget-version.sh
- version_functions.ps1
- install-sample-gui-apps.sh
- WSLg_ArchitectureOverview.png
- WSLg_IntegratedDesktop.png
- wslg.rdp
- wslg_desktop.rdp
- meson.build
- rdpapplist_main.c
- rdpapplist_main.h
- meson.build
- rdpapplist_common.c
- rdpapplist_common.h
- rdpapplist_protocol.h
- rdpapplist_server.h
- linux.png
- build.sh
- Containers.md
- run.sh
- .preserve
- cpp.hint
- dllmain.cpp
- framework.h
- pch.cpp
- pch.h
- rdpapplist.h
- RegisterWSLPlugin.reg
- resource.h
- UpdateRCVersion.ps1
- utils.cpp
- utils.h
- WSLDVCCallback.cpp
- WSLDVCCallback.h
- WSLDVCFileDB.cpp
- WSLDVCFileDB.h
- WSLDVCListenerCallback.cpp
- WSLDVCListenerCallback.h
- WSLDVCPlugin.cpp
- WSLDVCPlugin.def
- WSLDVCPlugin.h
- WSLDVCPlugin.rc
- WSLDVCPlugin.sln
- WSLDVCPlugin.vcxproj
- WSLDVCPlugin.vcxproj.filters
- WSLDVCPlugin.vcxproj.user
- common.h
- FontMonitor.cpp
- FontMonitor.h
- lxwil.h
- main.cpp
- Makefile
- meson.build
- precomp.h
- ProcessMonitor.cpp
- ProcessMonitor.h
- .dockerignore
- .gitignore
- build-and-export.sh
- cgmanifest.json
- CONTRIBUTING.md
- Dockerfile
- LICENSE
- Microsoft.WSLg.nuspec
- Microsoft.WSLg.targets
- NOTICE-mesa.txt
- README.md
- SECURITY.md
# Installation Guide
1. Get the code
git clone https://github.com/microsoft/wslg
Downloads the entire project code from GitHub to your computer.
cd wslg
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -t wslg .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 wslg
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. .NET
MediumPrerequisites
cd WSLDVCPlugin
This project's files live in a subfolder, so move into it first.
dotnet restore
Downloads the packages the project depends on.
dotnet run
Builds the project and runs it immediately.
After dotnet run, check the message or address shown in the terminal.
4. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
cd WSLGd
This project's files live in a subfolder, so move into it first.
make
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation
Was this content helpful?
(0 ratings)
