Native desktop client for Linux to connect to Microsoft Windows 365 Cloud PCs and Azure Virtual Desktop workspaces.
- Embedded Entra ID Authentication: Direct Microsoft work/school account sign-in via embedded WebView with OAuth 2.0 PKCE.
- Silent Session Re-auth: Injects session identity into FreeRDP
/sec:aadtoken requests with encrypted, machine-bound cookie persistence. - Optimized FreeRDP 3 Engine: H.264 video decoding (
/gfx:AVC420,progressive), RemoteFX (+rfx), software GDI compositing, and VSync enabled by default to prevent tearing and flicker. - Prevent Idle Session Lock: Injects periodic fake mouse motion (
/prevent-session-lock:120) to keep remote Cloud PC sessions alive, avoiding screen lock and 20-second reconnection freezes. - Dynamic Resolution & Multi-Monitor: Automatically adapts remote resolution to Linux window size; supports multi-monitor spanning and fullscreen modes.
- Audio & Peripheral Redirection: PulseAudio/PipeWire 48kHz audio output and microphone input, clipboard synchronization, smartcard redirection.
- Self-Contained Packages: Bundled Java 25 runtime image via
jlink. No local JRE installation required. Available as Flatpak,.deb,.rpm, and portable.tar.gz.
Download packages from the GitHub Releases page.
Flatpak bundle bundles FreeRDP 3.31+ and requires no system dependencies:
flatpak install --user build/distributions/jw365.flatpak
flatpak run io.github.alaurie.JW365sudo apt install ./jw365_*_amd64.debsudo dnf install ./jw365-*.x86_64.rpmtar -xzf jw365-*-linux-x64.tar.gz
cd jw365
# Optional: register desktop launcher and icon
./install-desktop.sh
# Run directly
./bin/jw365The Flatpak package includes its own FreeRDP engine. If using .deb, .rpm, or .tar.gz, install FreeRDP 3:
# Ubuntu / Debian
sudo apt update && sudo apt install freerdp3-sdl freerdp3-x11
# Fedora
sudo dnf install freerdp
# Arch Linux
sudo pacman -S freerdpYou can also use Flathub's FreeRDP:
flatpak install --user flathub com.freerdp.FreeRDPIn Settings > FreeRDP Client Engine, choose between system, Flatpak, or custom binaries.
Signing in with a USB security key (FIDO2 passkey) needs fido2-tools. JW365 detects it at start-up; without it the Microsoft sign-in page offers your other methods. Not available in the Flatpak yet.
# Ubuntu / Debian
sudo apt install fido2-tools
# Fedora
sudo dnf install fido2-tools
# Arch Linux
sudo pacman -S libfido2FreeRDP uses Right Ctrl as the local client modifier key:
- Right Ctrl + Return: Toggle fullscreen
- Right Ctrl + M: Minimize window
- Right Ctrl + D: Disconnect session
- Right Ctrl + G: Toggle keyboard and mouse grab
- Right Ctrl + R: Toggle resizable window
(The modifier was remapped from Right Shift to Right Control so typing capital letters like G and D does not trigger local shortcuts).
- Runtime: Java 25 (
jlinkminimal image, ~90 MB). - UI Toolkit: OpenJFX 25 (JavaFX) with custom dark stylesheet.
- Concurrency: Loom Virtual Threads for workspace discovery, feed parsing, and FreeRDP output streaming.
- Session Auth: Intercepts FreeRDP AAD token requests on stdout, authenticates silently in WebView, and feeds redirect codes to FreeRDP over a PTY.
- Token Storage: AES-256-GCM encrypted local store keyed to host machine ID and user identity (
0600permissions), with Secret Service (secret-tool) fallback. - Resource Tuning: Serial GC (
-XX:+UseSerialGC) with aggressive heap uncommit bounds (-Xms24m -Xmx192m).
Requirements: JDK 25, Linux x86_64.
# Run unit & integration test suite (55 tests)
./gradlew test
# Format Java source code (Netflix jfmt)
./gradlew format
# Run verification checks and format verification
./gradlew check
# Run application in dev mode
./gradlew run
# Build release packages (outputs to build/distributions/)
./gradlew packageDeb
./gradlew packageRpm
./gradlew packagePortableTar
# Build Flatpak bundle
./gradlew flatpakBuild flatpakBundleApache License 2.0. See LICENSE for details.

