From 1054af095019196a8c6df6a929e9e3b55d1e0bf8 Mon Sep 17 00:00:00 2001 From: VallierDev <24893073+VallierDev@users.noreply.github.com> Date: Sat, 17 Oct 2026 16:31:41 +0800 Subject: [PATCH] Release v0.2.1 Co-Authored-By: Claude Opus 5.5 --- Cargo.lock | 2 +- Cargo.toml | 2 +- docs/release-notes/v0.2.1.md | 20 ++++++++++++++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 docs/release-notes/v0.2.1.md diff --git a/Cargo.lock b/Cargo.lock index 4aef2a2..83abd81 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2741,7 +2741,7 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uu-remote-linux" -version = "0.2.0" +version = "0.2.1" dependencies = [ "async-trait", "base64 0.22.1", diff --git a/Cargo.toml b/Cargo.toml index 67724c2..260f8c1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uu-remote-linux" -version = "0.2.0" +version = "0.2.1" edition = "2021" default-run = "uuremote-server" authors = ["uu-remote-linux contributors"] diff --git a/docs/release-notes/v0.2.1.md b/docs/release-notes/v0.2.1.md new file mode 100644 index 0000000..9d46b82 --- /dev/null +++ b/docs/release-notes/v0.2.1.md @@ -0,0 +1,20 @@ +控制端补测:重启/关机、终端会话列表、Wayland;主机远程关机不再等待授权弹窗。/ Viewer power, terminal list and Wayland tested; host power actions never wait for a polkit prompt. + +### 修复 / Fixed +- **远程重启/关机不再卡在授权弹窗**:被控端用户没有 polkit 权限时(例如本机没有活动的图形会话),`systemctl reboot/poweroff` + 会一直等待,并可能在被控端屏幕上弹出密码框。现在加了 `--no-ask-password`,没有权限时直接失败并在日志记录 `ok=false`。 + 正常情况下(本机有活动的图形会话)行为不变。 + Reboot/shutdown no longer wait for a polkit authentication dialog on the host; without permission they fail and are logged. + +### 控制端实测补充 / Viewer testing +在虚拟机中用第二个主机身份实测通过(`uuremote-viewer` 连接本项目主机): +- 远程**重启**、**关机**,以及关机后重新开机上线。 +- 终端会话列表:新建、双击接回(重放历史输出、原 shell 环境保留)、确认后结束会话。 +- Wayland(Hyprland)下的桌面窗口与剪贴板(`wl-copy`/`wl-paste`,双向)。 +⚠️ 仍未实测:GNOME/KDE Wayland 下的窗口与剪贴板、H.265 与 4:4:4(只解码 H.264 4:2:0)、多显示器。 +Tested in a VM: reboot, shutdown and power-on, terminal session list, Wayland (Hyprland) window and clipboard. + +### 下载 / Download +`uu-remote-linux-v0.2.1-x86_64-linux.tar.gz`:主机 `uuremote-server`(X11 版)与控制端 `uuremote-viewer`(x86_64,glibc ≥ 2.35;控制端需 SDL2、GTK3、ffmpeg),附带 `contrib/`。 + +**非官方项目,与网易无关。** / **Unofficial, not affiliated with NetEase.**