Hi, I’m Cong Zhang

I work on open-source remote desktop: FreeRDP, xrdp and GNOME Remote Desktop. Everything goes upstream first. Notes from that work, in English and Chinese.

A GNOME session over RDP, made usable (1): what broke in daily use

We moved our own daily desktop onto a FreeRDP shadow server inside a headless GNOME session. The first two days turned up crackling sound, stale screen areas, lag on slow links, one big monitor instead of two, and an invisible pointer. This series is how each was found and fixed, with the numbers.

November 8, 2026 · 3 min · Cong Zhang

A GNOME session over RDP, made usable (2): sound that crackled when the screen moved

The sound popped only while something scrolled. The video encoder was not too slow for the sound: the sound was waiting for the encoder, twice, through a lock and through a queue. Two small changes took the sound delay from 159 ms to 7 ms and stopped the lost samples.

November 8, 2026 · 4 min · Cong Zhang

A GNOME session over RDP, made usable (3): ghosting, when the compositor's damage is wrong

An old window title stayed on screen; the clock in the top bar was minutes late. Not the encoder, not the network: Mutter’s damage regions sometimes leave changed areas out. A 64x64 tile check repairs what is missed, for about 1.3 ms a frame.

November 8, 2026 · 3 min · Cong Zhang

A GNOME session over RDP, made usable (4): flow control, or why a slow link lagged 13 seconds

On a slow link the delay grew without end: 2.4 s, then 13 s, within half a minute. The encoder kept its frame rate whatever the link could carry. At most 8 frames in flight, acknowledged by the client, keeps it at a quarter of a second.

November 8, 2026 · 3 min · Cong Zhang

A GNOME session over RDP, made usable (5): two monitors, not one wide one

With two client monitors, GNOME saw one 5500-pixel-wide screen: one top bar across both, maximized windows spanning the gap. Now each client monitor gets a GNOME virtual monitor of its own, at its place, with the client’s primary as GNOME’s. And a timing bug that only showed when the primary moved between connects.

November 8, 2026 · 4 min · Cong Zhang

A GNOME session over RDP, made usable (6): fix it here, or report it upstream?

Two of our bugs were in GNOME, not in FreeRDP. For stale screen areas we shipped a workaround and wrote a report. For an invisible pointer we wrote the workaround, tested it, and then did not ship it. Why the same kind of bug got two different answers.

November 8, 2026 · 5 min · Cong Zhang

BaiZe: export your AI chats to Markdown, and what keeping up with chat UIs takes

BaiZe is a small Chromium extension that turns conversations from ChatGPT, Claude, Gemini and ten more sites into clean Markdown, locally. Here is what it does, and how one ChatGPT redesign broke it twice in a day.

October 24, 2026 · 3 min · Cong Zhang

Remote desktop on Linux, upstream-first: AV1, Wayland and a browser client

What we are building across FreeRDP, xrdp and GNOME Remote Desktop: AV1 from server to browser, Wayland sessions in xrdp, and reproducible builds anyone can try today. Every change goes upstream first.

October 22, 2026 · 5 min · Cong Zhang