Files
brokenlander fe9608b2ab feat(web): add monitor layout extensions (#2423)
The web client sent no Client Monitor Data and only logged the server's
monitor layout, so an application could not span one session across
several screens or learn the layout the server applied.

`monitor_layout` sends up to 16 monitors as Client Monitor Data
(MS-RDPBCGR 2.2.1.3.6), five numbers each: left, top, right and bottom
(both inclusive) and flags.
A valid layout has exactly one primary monitor at (0, 0), ordered
rectangles, and a 200–32,766-pixel virtual desktop in each dimension.
The requested desktop size is derived from the monitor union, overriding
any configured size; an invalid list is logged and ignored.

`monitor_layout_callback` is called in the same form with the layout the
server sends during connection finalization, after a
deactivation-reactivation sequence, and in a Monitor Layout PDU during
the session.
`iron-remote-desktop-rdp` exports `monitorLayout` and
`monitorLayoutCallback`, which take and pass `MonitorRect` objects.
The TypeScript callback exposes only the primary flag.

---------

Co-authored-by: Marc-André Moreau <mamoreau@devolutions.net>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-11-15 18:18:01 -05:00
..

IronRDP Web Client

IronRDP also supports the web browser as a first class target.

Prerequisites

  • Node.js >= 24 LTS (type definitions target @types/node ^24.0.0)

Overview

See the iron-remote-desktop for the reusable Web Component, and iron-svelte-client for a demonstration.

Note that the demonstration client is not intended to be used in production as-is. Devolutions is shipping well-integrated, production-ready IronRDP web clients as part of: