RDP came back black, or frozen with dead input, after the monitor was switched off or blanked.
The portal screencast shares one output object, and when a monitor goes away cosmic-comp
replaces it, which ends the session quietly. An LG UltraGear that drops off HDMI for a moment on
every screen blank reproduced it. pengyos-rdp-server now watches for that: it rebuilds its
portal session whenever the outputs change, whenever the stream stalls for two seconds, when
input keeps failing, or when the portal closes it, and it waits for a display instead of
crash-looping. A connected client sees frames resume.
The other half was a panic. The COSMIC portal crashed after a few minutes of screencasting
(duplicate_frame, a race in cosmic-client-toolkit's frame handling), taking every screencast
and RDP session down with it. Our patch hands a frame's result over only after the frame is
destroyed.
And one undo. 26.10.56 bumped libdisplay-info from 0.3.0 to 0.4.0 as a routine approval.
cosmic-comp links libdisplay-info.so.3. The Desktop kept working only because an old .so.3
was still sitting in the image from a previous build. 0.4.0 is back to 0.3.0, and the nightly
loop now treats a fork's newer series as report-only, so no approval can push a package past a
soversion something in the image links. The gate change came from the same review.