Features & Technology
Deep dive into Lamco RDP Server's capabilities
Jump to section:
Traditional Linux RDP vs. Lamco RDP Server
X11 + xrdp (legacy stack)
- — Requires an X11 session; won't run on modern Wayland-only distros
- — Software-only encoding, CPU-bound, no GPU path
- — Text-only clipboard; no file transfer, no image paste
- — No HDR, no 10-bit color, single monitor
- — Screen capture via X SHM — incompatible with Wayland security model
Lamco RDP Server (Wayland-native)
- — Runs natively on GNOME, KDE, sway, Hyprland, COSMIC, and every wlroots compositor
- — VA-API / NVENC hardware encoding; H.264, H.265, AV1
- — File clipboard via XDG Desktop Portal; image and text both work
- — 10-bit HDR, multi-monitor, per-output DPI
- — Capture via PipeWire screencast — the sanctioned Wayland path
Video Encoding
Sophisticated H.264 encoding pipeline with multiple encoder backends, intelligent codec selection, and bandwidth optimization that adapts to your content and network conditions.
AVC420 (H.264 4:2:0)
- ✓ Best compatibility with all RDP clients
- ✓ Lower bandwidth requirements
- ✓ Good for general desktop use, web browsing, media
- ✓ Automatic on all supported platforms
AVC444 (H.264 4:4:4)
- ✓ Crystal-clear text and UI rendering
- ✓ Full chroma resolution -- no color subsampling
- ✓ Perfect for programming, design, and document editing
- ✓ AVC444v2 aux omission -- skips unchanged chroma plane, saving significant bandwidth
| Parameter | Details |
|---|---|
| Encoders | OpenH264 (software), NVENC (NVIDIA GPU), VA-API (Intel/AMD GPU) |
| Frame Rate | 5-60 FPS adaptive -- full speed for video, power-saving for static content |
| Max Resolution | 4K UHD (3840x2160) |
| Color Spaces | BT.709, BT.601, sRGB |
| IDR Keyframes | Periodic IDR keyframes, configurable interval (default 5 seconds) |
| Compression | ZGFX compression support (MS-RDPEGFX) for graphics pipeline efficiency |
| Damage Tracking | SIMD-optimized tile differencing -- only encodes changed regions (90%+ bandwidth savings on static content) |
| Scene Detection | Automatic scene change detection triggers IDR keyframes for fast recovery |
Latency Modes
Interactive
16ms
Lowest latency for real-time interaction. Best for coding, terminal work, and precision mouse tasks.
Balanced
33ms
Good compromise between responsiveness and visual quality. Default mode, suitable for most workflows.
Quality
100ms
Maximum visual quality with larger frame buffers. Ideal for media viewing and design review.
Audio Playback
Desktop audio streams to RDP clients via the RDPSND channel with automatic codec negotiation based on client capabilities.
| Codec | Quality | Bandwidth | Best For |
|---|---|---|---|
| OPUS | Excellent | ~64 kbps (configurable) | Modern clients (recommended) |
| PCM | Lossless | ~1.5 Mbps | Highest quality, low-latency networks |
| ADPCM | Good | ~352 kbps | Legacy compatibility (MS-ADPCM, IMA-ADPCM) |
Auto-Negotiation
When a client connects, Lamco RDP Server queries the client's supported codec list and selects the best available codec automatically. OPUS is preferred when available, with PCM and ADPCM as fallbacks.
Configurable: Override auto-negotiation in config.toml to force a specific codec if needed.
Audio Input
Planned: Microphone redirection (audio input from client to server) is on the roadmap. Audio playback (server to client) is fully implemented and shipping.
Clipboard Synchronization
Bidirectional clipboard: text, HTML, RTF, and images, plus file copy in both directions (Windows to Linux, and Linux to Windows on native installs), MS-RDPECLIP compliant.
Supported Formats
Text
Plain text, Unicode
HTML
Rich web content
RTF
Rich Text Format
Images
PNG, JPEG, BMP, GIF
File Transfer
File copy in both directions: Windows to Linux, and Linux to Windows on native installs
15+ format conversions handled automatically between Linux and Windows clipboard formats.
Integration Strategies
- ✓ Portal Clipboard -- XDG Desktop Portal RemoteDesktop v2 clipboard interface
- ✓ Klipper D-Bus Cooperation -- KDE workaround for Portal Bug 515465, fixed in Plasma 6.6
- ✓ ext-data-control-v1 -- persistent clipboard monitor on native installs (KWin and wlroots expose this protocol); the Portal clipboard is the sandboxed fallback
Protocol Compliance
- ✓ MS-RDPECLIP compliant with lock/unlock semantics
- ✓ File contents request/response for drag-and-drop style transfers
- ✓ Loop detection prevents clipboard echo between local and remote
- ✓ Rate limiting and configurable size limits for safety
Input
Comprehensive input translation that bridges RDP scancode events to Wayland compositor input protocols.
Keyboard
Full scancode keyboard translation with layout-independent mapping. Supports international keyboards and special key combinations.
Mouse
Both absolute and relative mouse positioning. Pixel-accurate cursor placement with predictive compensation for network latency.
Multi-Monitor
Coordinate mapping across multiple monitors. Input events are correctly routed to the appropriate display in multi-monitor setups.
Touch
Touch input support for mobile and tablet RDP clients. Touch events are translated to the appropriate Wayland input protocol.
Security
Enterprise-grade security with TLS 1.3 encryption and Network Level Authentication support.
TLS Encryption
TLS 1.3 by default for all connections. All video, audio, clipboard, and input data is encrypted end-to-end.
Note: TLS 1.2 fallback is available for older clients but is not recommended. Configure via the Security tab in the GUI.
NLA Authentication
Network Level Authentication (NLA) is supported; enable_nla requires auth_method = "pam". Authentication methods are PAM (system accounts) or none (trusted networks only). On the hardened system service, PAM authenticates by having the unit join the shadow group so pam_unix reads /etc/shadow directly, keeping full seccomp hardening in place. The server prints a startup exposure warning if auth_method = "none" is combined with a non-loopback listen address.
enable_nla = true
auth_method = "pam"
Certificates
Auto-generated self-signed certificates on first run for immediate setup. Custom certificates from any CA (including Let's Encrypt) fully supported.
Generate via GUI wizard or provide your own PEM files in config.toml.
Configuration GUI
Professional dark theme graphical interface for managing all server settings without touching config files.
Comprehensive Management
- ✓ 11-tab interface covering 85+ configurable parameters
- ✓ TLS certificate generation wizard with guided setup
- ✓ Server process management -- start, stop, and restart from the GUI
- ✓ Live log viewer with real-time filtering and search
- ✓ Hardware capability detection -- auto-detects GPU encoders, PipeWire, and portal versions
Power User Features
- ✓ Import/export configuration for backup and deployment across machines
- ✓ Expert mode toggle reveals advanced parameters hidden in standard view
- ✓ Professional dark theme designed for extended use
- ✓ Built with Iced -- native Rust GUI framework for consistent cross-platform appearance
Service Registry
Automatic runtime service advertisement with capability detection per compositor, ensuring the server adapts to your environment.
18 Detected Services
On startup, Lamco RDP Server probes the system for available services and protocols. Each service is assigned a guarantee level based on the detected compositor and runtime environment.
Run lamco-rdp-server --show-capabilities to see all detected services
and their guarantee levels for your system.
4-Level Guarantee System
Guaranteed
Service is fully available and tested on this compositor
BestEffort
Service works but may have limitations on this platform
Degraded
Partial functionality due to compositor or portal limitations
Unavailable
Service cannot function on this platform (missing dependency)
Technology Deep Dives
Detailed technical articles covering the engineering behind each major subsystem.
Video Encoding
H.264 pipeline, AVC444, hardware acceleration, and bandwidth optimization.
Color Management
BT.709, BT.601, sRGB color spaces and chroma subsampling details.
Performance
Damage tracking, SIMD optimization, adaptive frame rate, and latency tuning.
Wayland Integration
XDG Desktop Portals, PipeWire, and compositor-specific protocol details.
Service Discovery
Runtime capability detection, service registry, and guarantee level system.
New in 1.4.4
Unified Multi-Transport
One binary accepts TCP, Unix socket, AF_VSOCK, and WebSocket connections through a single accept layer, and can take all of them as systemd socket-activation file descriptors. AF_VSOCK enables Hyper-V Enhanced Session Mode. WebSocket and RDCleanPath support browser and WASM clients and ship experimental in 1.4.4.
Vulkan Video Encoder
Cross-vendor hardware H.264 via VK_KHR_video_encode_h264 on NVIDIA, Intel, and AMD, alongside the existing VA-API and NVENC backends.
HTTP Metrics Server
Optional Prometheus /metrics and JSON /health endpoints for monitoring.
Session Health Sensors
PipeWire, Portal, Mutter, EGFX, and encoder sensors feed a live health picture surfaced in the GUI Status and Performance tabs.
Unicode Keyboard Input
XKB keysym mapping for non-ASCII characters.
GUI Ships by Default
A standard build produces both the server and the GUI. A headless, server-only build passes --no-default-features and re-enables what it needs.
Open Source Foundation
Lamco RDP Server is built on 7 open source Rust crates, each independently published and reusable in your own projects.
lamco-portal
XDG Desktop Portal integration for screen capture, input injection, and clipboard via the RemoteDesktop portal interface.
Portallamco-pipewire
PipeWire screen capture with DMA-BUF zero-copy frame acquisition. Handles PipeWire session lifecycle and buffer negotiation.
Capturelamco-video
Video frame processing including color space conversion, damage detection, H.264 encoding orchestration, and tile management.
Videolamco-rdp-clipboard
Clipboard synchronization implementing MS-RDPECLIP with format negotiation, loop detection, and bidirectional file transfer.
Clipboardlamco-rdp-input
Input event translation from RDP scancodes to Wayland-compatible keyboard, mouse, and touch events.
Inputlamco-rdp
Core RDP utilities including connection management, channel multiplexing, TLS setup, and protocol-level message handling.
Corelamco-wayland
Wayland protocol bindings for wlr-screencopy, wlr-virtual-pointer, virtual-keyboard, and other compositor-specific extensions.
Licensed under MIT OR Apache-2.0
Ready to Get Started?
Download Lamco RDP Server and experience professional remote desktop on Linux.