Introducing lamco-dsi-tools: Wayland remote desktop and screen capture diagnostics for Linux

Wayland remote desktop and screen capture diagnostics for Linux: Three open source tools record what your desktop offers, time each step and explain it.

Today we're introducing lamco-dsi-tools (DSI: Desktop session interfaces), three open source command-line tools from Lamco Development LLC for Wayland remote desktop and screen capture diagnostics. They're for the people who write remote desktop, streaming, screen sharing and automation software for Linux, the people who build and test compositors, desktops and distributions, and anyone who has had to file a bug that says "screen sharing doesn't work."

lamco-dsi-tools is an open source command-line toolkit that records what a Linux desktop on Wayland offers and does when a program captures its screen, sends it input or reads its clipboard, times each step, and explains the result. Version 0.4.0, the first public release, is on GitHub Releases now.

Here's the first thing to run on a desktop where screen sharing misbehaves:

dsisee check --out capture.json

Here's the head of a real summary, and its Capture section, from a capture of Hyprland 0.56.2 taken on a virtual machine with no permission dialog answered ([...] marks the sections left out):

=== Health of the capture hyprland-omarchy.json ===
dsisee 0.1.0, closed 2026-11-27T23:58:49.268116434+00:00; 349 records; 15 of 21 dissectors ran
This is a reading of the capture. Nothing on this machine was looked at.

Overall: present (the worst state among the functions examined; 8 examined)
Not examined: 0. Assumed from the built-in table: 0. Neither counts toward the overall state.
[...]

Capture                    working
  route: ext-image-copy-capture-v1 (Wayland protocol)       working
      advertised: ext_image_copy_capture_manager_v1, ext_output_image_capture_source_manager_v1  [records 85, 87]
      2 of 3 requested frames became ready  [records 207, 212]
  route: ScreenCast portal and PipeWire                     present
      the portal exports ScreenCast  [record 116]
      PipeWire answered pw-dump, version 1.6.9; no stream was opened, so nothing was exercised  [record 136; dissector outcome: pipewire-graph]
      the `portal-screencast` dissector was skipped: it shows a permission dialog; pass --allow-dialogs to run it  [dissector outcome: portal-screencast]
  route: wlr-screencopy (Wayland protocol)                  working
      advertised: zwlr_screencopy_manager_v1  [record 83]
      1 of 2 requested frames became ready  [record 225]
[...]

What prints is a health summary. It walks the desktop function by function: The session, the compositor and its protocols, the portal, screen capture, input, the clipboard, audio and the outputs. Each capture route (ext-image-copy-capture-v1, wlr-screencopy, and the ScreenCast portal with PipeWire) is reported as working, present, absent or not examined, and every statement carries the index of the record it rests on. If the portal isn't running yet, its route is reported as not examined, and the summary names --wake-portal, the flag that has dsisee start it. The findings come last.

That's one command. It changed nothing on the machine, it showed no dialog, and the file it wrote answers most of what a maintainer would otherwise have to ask you.

The product page collects everything, and the documentation starts with getting started.

Why Wayland remote desktop and screen capture diagnostics need more than a log line

On Wayland, a program that wants to see or control the desktop doesn't get one interface. It gets several. Screen capture goes through the ScreenCast portal and a PipeWire stream, or through a Wayland capture protocol such as ext-image-copy-capture-v1 or wlr-screencopy. Input goes through libei by way of the RemoteDesktop portal, through the wlroots virtual keyboard and pointer, or through a kernel uinput device. The clipboard has protocols of its own, and so do the displays.

Each desktop offers a different set, at a different version. GNOME and KDE Plasma advertise no Wayland capture protocol and capture through the portal and PipeWire. In our captures, Hyprland and labwc offered no RemoteDesktop portal and take input through the wlroots virtual input protocols. Neither is wrong. They're different, and a remote desktop server that runs on both has to know which is which.

So when screen sharing or remote control fails, the usual evidence is a log line and a guess. lamco-dsi-tools replaces the guess with a record.

The Wayland interfaces it covers

These are the interfaces lamco-dsi-tools reads, and drives where it can. dsisee records each one in its own terms, dsido acts through the ones that take action, and the product page has the full table of what's recorded and done for each, and each interface has a page of its own.

It also reads the Wayland registry, the portal's frontend and backends, and the compositor's version on GNOME (Mutter), KDE (KWin), Sway, Hyprland, niri, Wayfire, COSMIC and labwc.

Three tools, split by what each may do to your machine

The split isn't by feature. It's by what each program is allowed to do, so you always know what you're running.

Program What it may do When you run it
dsisee Read and record. It has no command that injects input or changes a setting Any time, on any machine, including for a bug report
dsido Change the machine: Send input, set the clipboard, change a display mode, show a window, play a sound. Every act is recorded Deliberately, on a machine you mean to test
dsitell Read capture files. It connects to nothing Anywhere, including a machine with no desktop at all

The watching tool can't inject anything. That's why there are three. dsisee has 23 commands, dsido has 14 and dsitell has 12, and each one has a man page. The three programs page goes through the split in full.

dsisee: Record the portal, PipeWire and every screen capture route

dsisee records the desktop one interface at a time, in that interface's own terms. It reads the xdg-desktop-portal with its interfaces, versions and backends, the PipeWire graph, the compositor's identity and every Wayland global it advertises, the login session, the outputs, and which capture, input and clipboard routes exist. Clipboard content is recorded by length and fingerprint, and it's never stored unless you ask.

# Everything that needs no permission dialog, in one file, with the health summary
dsisee check --out capture.json

# The same, plus the dissectors that show a dialog (a person answers each one)
dsisee check --allow-dialogs --out capture.json

# Which input routes does this desktop have, in both directions?
dsisee input routes

# Which Wayland protocols does this compositor advertise?
dsisee wayland protocols

With --allow-dialogs, dsisee also opens a screen cast session through the portal, and the full build reads its PipeWire stream. The routes recipe shows how to check which screen capture and input methods a given desktop has.

Because dsisee only reads, it's the command to ask a bug reporter to run.

dsitell: A health summary that names its evidence

dsitell reads the capture file and nothing else, so it works later, on another machine, with no desktop at all. dsitell health capture.json gives the same summary dsisee printed. What wasn't looked at is reported as not examined, never as a pass.

Behind the summary sits a catalog of findings, more than 70 of them, each with an identifier that never changes meaning once released, a severity, the records it rests on, and what a person can do about it. dsitell findings prints the catalog, and dsitell findings <id> explains one.

The same file answers timing questions. dsitell timing gives every duration a capture holds the records for, as a distribution, with the clock each time is on, and two stamps on different clocks aren't subtracted. dsitell compare sets two captures against each other, such as one desktop before and after an upgrade, and dsitell matrix sets several side by side.

dsitell health capture.json
dsitell compare before.json after.json --fail-on health,findings   # exits 1 on a regression
dsitell matrix sway.json gnome.json kde.json --markdown            # one column per desktop

compare also writes a JUnit report with --junit, which is how a desktop or distribution build fails on a regression. The CI recipe walks through it, and output and exit codes lists what each command returns.

dsido: Send input by every route Wayland has, and record every act

dsido changes the machine on purpose and writes a capture of exactly what it did. Input uses one vocabulary on every route (key, text, click, move, scroll and touch), whether the route is libei, the wlroots virtual devices or the kernel. A display change of mode, scale or transform is held and always put back. A window that shows a marked frame counter, and a short sound with a marker in it, give capture and audio something exact to find.

Paired with dsisee, it closes the loop:

dsisee input witness --duration 60 --out witness.json &   # a window that records what reaches it
dsido wlr inject text "hello" --out inject.json           # send input, and record each step
dsitell loop inject.json witness.json                     # the time from each step to its event

That's the wlroots route. On GNOME or KDE Plasma, the same text goes through dsido eis inject, which uses libei.

dsitell glass goes one step further: From a key sent, to the event a window received, to the frame it committed, to the captured buffer that shows it, each time with its clock named. That's input to captured frame, measured in software, and it's what a remote desktop server sees. It isn't light leaving a monitor, which takes hardware to measure. The key-to-frame recipe and the page on measuring explain what each figure covers, and long runs covers recording over hours instead of seconds.

A Wayland bug report that carries its evidence

A capture holds details of the machine: The host name, the login name, identifiers. dsitell bundle writes a copy with those replaced by placeholders.

dsitell bundle capture.json --out bundle.json

The security policy states every kind of value the bundle replaces and what it keeps. The redaction is a best effort, so read the bundle before you post it. The bug report recipe and sharing a capture cover the rest.

Which desktops it has been run on

lamco-dsi-tools has been run on GNOME, KDE Plasma, Sway, Hyprland, COSMIC, labwc and Cinnamon's Wayland session, on distributions that include Debian, Ubuntu, NixOS and KDE neon. The README's table says which command ran on which desktop and when, and it lists what has never been run on a real desktop at all. What has been run keeps the same record on the site.

The release has builds for x86_64 and for 64-bit ARM (aarch64), two tarballs for each. The full build needs glibc 2.34 or later and libpipewire-0.3. The static build runs on any Linux of its architecture, but it can't read a screen cast's stream, which is how GNOME and KDE capture the screen, so on those desktops take the full one.

A few questions, answered

How do I check whether screen sharing works on my Wayland desktop? Run dsisee check --out capture.json. The health summary reports each capture route, and --allow-dialogs adds a real screen cast session through the portal. Read the summary's capture lines and its findings.

Does dsisee change anything on my machine? It doesn't. It has no command that injects input or changes a setting. dsido is the separate program that does, and it records every act.

Does it measure what a user sees on the screen? It measures in software, from an injected input or a window's commit to the buffer delivered on a capture route. That's what a remote desktop server sees. Light leaving a monitor takes hardware to measure.

What should I attach to a screen sharing bug report? The bundle from dsitell bundle, after you've read it.

Remote desktop on Wayland, and a family of open toolkits

We built lamco-dsi-tools to test Lamco RDP Server, our remote desktop server for Wayland. We publish it so anyone who works on the same ground can check a desktop the way we do, and check our claims about our own products while they're at it.

It's the second of our open toolkits, after lamco-rdp-tools, the RDP command-line toolkit (its introduction is on the blog). Each toolkit covers a layer we work in, and each one splits the tool that watches from the tool that acts: rdpsee and rdpdo, dsisee and dsido. A third, lamco-dbus-tools, covers D-Bus and is forthcoming.

Update (2026-12-04): lamco-dbus-tools, the D-Bus toolkit, is out.

Try it

Download a tarball from the releases page, verify it, and run the three commands:

gpg --verify SHA256SUMS.asc SHA256SUMS
sha256sum --check --ignore-missing SHA256SUMS

tar -xzf lamco-dsi-tools-0.4.0-x86_64-unknown-linux-gnu.tar.gz
cd lamco-dsi-tools-0.4.0-x86_64-unknown-linux-gnu

./dsisee check --out capture.json                  # watch, and print the health summary
./dsitell health capture.json                      # the same summary, read from the file
./dsitell bundle capture.json --out bundle.json    # a redacted copy for a report

The release key's fingerprint is CA11F781516743D5D9A1A12F17B95B68A50CD3A7. Building from source needs Rust 1.89 or later, and building has the feature sets. It's MIT OR Apache-2.0.

Our line is Complex Tech, Simple Tools, and this is what it means here: The interfaces behind remote desktop and screen capture on Wayland are many, and they differ by desktop. The tool is one command that writes one file. If you run it on a desktop the table doesn't list yet, we'd like to hear what it found: Open an issue on the repository.

GL
Greg Lamberson

Founder of Lamco Development LLC. Building Linux infrastructure: a Wayland-native RDP server, a memory-safe UEFI bootloader, and open-source Rust and Kotlin libraries.

More about Greg ›