mirror of
https://github.com/VallierDev/uu-remote-linux.git
synced 2026-11-17 01:00:41 +01:00
Release input at desktop session boundaries; pipelined native Wayland capture
Squashed from the Codex v0.1.9 branch (reviewed): - Clear stale input when a desktop session starts or ends and at service start/stop: X11 releases every pressed key/button on the display (a stuck XTest button blocked all clicks after a VM reboot), uinput resets its own devices, Wayland/portal sweep the keys this host can emit. A per-desktop lease stops late callbacks of an old connection from touching a new one; file/terminal/port-mapping peers never release desktop input. - Native Wayland (--features wayland): double-buffered screencopy pipeline, viewer frame rate drives the capture rate, opt-in dma-buf (UU_WAYLAND_DMABUF=1, linear only, falls back to SHM). VM-measured only. - Internal QA records (docs/validation, contrib/tests) removed from the public tree and ignored; they stay in the private project. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
15bb35573d
commit
b5cc5ed736
16 files changed
+1164
-77
No files matched your search
@@ -16,18 +16,8 @@ GUI session. Its D-Bus and systemd activation environment is shared by all that
|
||||
X11 access succeeds, so the host does not race the X socket.
|
||||
4. `DISPLAY=:99 XAUTHORITY="$XDG_RUNTIME_DIR/uu-virtual-99.Xauthority" xdpyinfo` must work.
|
||||
`gnome-terminal` launched over the user bus must open on `:99`. Check its window via
|
||||
`xdotool search --class gnome-terminal-server`; do not log terminal text.
|
||||
`xdotool search --class '[Gg]nome.[Tt]erminal|gnome-terminal-server'` (window
|
||||
classes vary by GNOME Terminal version; the server process name is not always
|
||||
its window class). Do not log window titles or terminal text.
|
||||
5. Restart/stop the desktop unit: its Xvfb, desktop children and authority file must be
|
||||
removed. A stale pre-existing display is rejected. The TCP X11 listener is disabled.
|
||||
|
||||
## Official Mac client checklist (human acceptance)
|
||||
|
||||
- [ ] Select the isolated VM device; confirm its identity before connecting.
|
||||
- [ ] After VM boot, connect without a physical/graphical login; Xfce is visible.
|
||||
- [ ] Open GNOME Terminal through its application launcher; it appears on the same `:99` desktop.
|
||||
- [ ] Move/click/drag, scroll, type a synthetic test marker and verify key releases (no repeats).
|
||||
- [ ] Verify both clipboard directions using synthetic text; keep the remote window focused.
|
||||
- [ ] Toggle 静音运行 during playback: remote sound remains audible; VM physical output is silent.
|
||||
- [ ] Disconnect/reconnect; confirm desktop and applications remain usable.
|
||||
- [ ] End the last session: audio default/modules restore; auto-lock follows the saved setting.
|
||||
- [ ] Repeat after reboot with no GUI login. Do not enter production credentials in test fixtures.
|
||||
Reference in new issue
Block a user