Products › lamco-dsi-tools › Docs › What to attach to a Wayland screen sharing bug report
What to attach to a Wayland screen sharing bug report
One command, one redacted file, and what to check before you attach it.
You're reporting a problem with a desktop, a compositor, a portal or lamco-dsi-tools (DSI: Desktop session interfaces) itself, and you want to attach what the desktop said. You'll take one capture with dsisee, which changes nothing on the machine, check its health summary, and make a redacted copy with dsitell bundle. Then you'll read that copy before you attach it.
1. Take the capture
dsisee check --out capture.json
This runs every dissector that shows no dialog, needs no privilege and has no side effects, writes the capture, and prints the health summary. It injects nothing and changes no setting. Run it from a terminal inside the graphical session you're reporting on. From a remote shell, the Wayland display isn't set and the summary says so (WL-001).
If the problem involves screen casting, libei input or the portal's clipboard, add --allow-dialogs. A person then has to answer each permission dialog:
dsisee check --allow-dialogs --out capture.json
If the summary says the portal wasn't running (PORTAL-008), the portal and its routes weren't examined. Take the capture again with --wake-portal, which starts it as a first caller would and records that it did.
2. Read the health summary
dsitell health capture.json
Look at the state of each function and at the findings. A route that's absent isn't a fault while another route of the same function is there. Each finding names the records it rests on, and dsitell findings <id> explains it. Quote the findings that matter in your report.
3. Make the redacted copy
dsitell bundle capture.json --out bundle.json
The bundle replaces login names, user and group identifiers, host names, the machine identifier, home directory paths, session identifiers, bus names, a KWin output's identifier, MAC, IPv4, IPv6 and mail addresses, window titles and stream titles with placeholders, and appends the health summary. The command prints what kinds of value it replaced and how many, and what it kept. If the capture was taken with --window and the application identifiers of other windows shouldn't be public, add --redact-app-ids.
4. Read the bundle before you attach it
- If the command's last line begins with
LOOK THESE OVER, a learned name was left inside a longer word. The line gives the count by kind. Find those places. - Open
bundle.json, which is a JSON file, and search it for your login name, your host name and anything else you wouldn't want public. - Remember what's kept by design: The boot identifier, process identifiers, program paths, the monitor's make, model, serial number and EDID, input device names, and the time the machine was started. Sharing a capture has the full list.
If you find a private value the bundle should have replaced, don't post the file. Report it privately as SECURITY.md describes, saying which kind of value it is and where it stands, without the value itself.
5. Attach it
Attach bundle.json, never capture.json. Every dsitell command reads a bundle, so whoever receives it can run dsitell health bundle.json or dsitell timing bundle.json on any machine. Say in the report which version took it (dsisee --version) and which tarball or build you used.
Related
- Sharing a capture: What is replaced and what is kept, and
dsitell scrubfor a set of captures. - Findings: Every identifier the summary can raise.
- dsisee reference:
observeandcheck, and the dissectors they run.