mirror of
https://github.com/VallierDev/uu-remote-linux.git
synced 2026-11-16 16:50:41 +01:00
fix(actions): never wait for a polkit prompt on remote reboot/shutdown
Without polkit permission (for example no active local session) systemctl reboot/poweroff waited for an authentication dialog on the controlled screen. Pass --no-ask-password so the action fails and is logged instead. README: the viewer's terminal session list, reboot and shutdown, and its Wayland window/clipboard were tested in a VM. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
1b10a22c8c
commit
94fd3c2fa7
3 files changed
+14
-7
No files matched your search
@@ -41,7 +41,7 @@
|
||||
| 锁屏与自动解锁 | 向控制端上报锁屏状态;开启「自动解锁被控端」后,通过 PAM 校验密码并解锁当前会话 |
|
||||
| 远程结束后自动锁屏 | 设置保存在本机,重连后依然生效 |
|
||||
| 被控端静音运行 | 主机扬声器静音,控制端照常能听到声音;结束后恢复原来的音量设置 |
|
||||
| 系统操作 | 锁屏、显示桌面、任务管理器(系统监视器)、重启、关机 |
|
||||
| 系统操作 | 锁屏、显示桌面、任务管理器(系统监视器)、重启、关机(通过 `systemctl`,需要当前用户有 polkit 权限:通常本机有活动的图形会话即可;没有权限时直接失败并记日志,不会在被控端弹出密码框) |
|
||||
| 端口映射 | 官方「端口映射」工具:把控制端本地端口转发到 Linux 能访问到的地址(如 127.0.0.1:22);`UU_PORT_MAPPING=0` 可关闭 |
|
||||
| 多次重连 | 每个工具窗口独立连接,互不影响 |
|
||||
| 无头服务器 | 没有显示器也能上线,提供终端、文件传输和端口映射;也可以用 Xvfb 虚拟桌面提供完整远程桌面(见下文) |
|
||||
@@ -399,6 +399,9 @@ xfce4-session xfce4-panel xfdesktop xfwm4 gnome-terminal`。
|
||||
| 端口映射、终端 | — | — | ✅ |
|
||||
| 剪贴板(文本,双向)、声音 | — | — | ✅(虚拟机) |
|
||||
| 远程协助(ID + 验证码) | — | — | ✅(虚拟机,访客主机) |
|
||||
| 终端会话列表(新建、双击接回、结束) | — | — | ✅(虚拟机) |
|
||||
| 重启、关机 | — | — | ✅(虚拟机) |
|
||||
| Wayland 下的桌面窗口与剪贴板(Hyprland) | — | — | ✅(虚拟机) |
|
||||
|
||||
「—」表示尚未测试。**未实测**:重启/关机(只应在可以重启的测试机上尝试)、终端会话列表的新建与接回、Wayland 下的窗口与剪贴板、
|
||||
「—」表示尚未测试。重启/关机只应在可以重启的机器上使用。**未实测**:GNOME/KDE Wayland 下的窗口与剪贴板、
|
||||
H.265 与 4:4:4(目前只解码 H.264 4:2:0)、多显示器。日志只记录字段号、大小和状态,不记录键盘、剪贴板、文件内容、验证码或凭据。
|
||||
Reference in new issue
Block a user