@freerdp-bridge/runtime-linux-x64-gnu

中文文档
0.7.0发布于 2026/10/31SEE LICENSE IN THIRD_PARTY_NOTICES.md零依赖构建来源已验证近 30 天下载 2340

Native runtime for FreeRDP Browser Bridge

原始使用文档
文档目录10 节
  1. Purpose
  2. Installation
  3. Requirements
  4. HTML clipboard
  5. Usage
  6. Image clipboard in 0.5.0
  7. Managed files in 0.6.0
  8. Host-device inventory in 0.7.0
  9. Limitations
  10. License

@freerdp-bridge/runtime-linux-x64-gnu

Purpose

Ready native runtime for FreeRDP Browser Bridge on Linux x64/glibc: compiled C++ worker, IPC-only Node addon, process-query helper, FreeRDP 3.32.1 and private native libraries. One worker runs per session, outside Node.js. The addon transports IPC; it does not run FreeRDP.

Installation

Install explicitly alongside a bridge adapter of the same product version:

npm install [email protected] @freerdp-bridge/fastify @freerdp-bridge/runtime-linux-x64-gnu

Pin all bridge packages to the same version in deployment. This package has no install scripts or installation-time download/compilation. The adapter does not automatically install it.

Requirements

Linux x64/glibc and Node.js 24 on the application server. A compatible system loader/libc is still required; this is not a full OS image. Consumers need no GCC, CMake or system FreeRDP. Node.js, Fastify and a browser are separate installations. The remote RDP machine needs a reachable, authorized RDP server, not this package.

Source support targets GCC 8.3 for Astra Linux 1.7.5 and retains RED OS 7.3/GCC 11. Compiler checks, runtime relocation and actual RDP acceptance remain separate evidence; this does not promise every Linux/security profile.

HTML clipboard

The matching runtime advertises clipboardHtml when its CLIPRDR support is available. HTML remains opt-in per session, with shared HTML/Unicode item limits and explicit browser actions. Runtime installation alone does not access the host clipboard or automatically enable file/image clipboard. See the HTML profile and acceptance. Versioned runtime/installer acceptance is separate from compiler/source results.

Usage

import { resolveNativeRuntime } from '@freerdp-bridge/fastify';

const worker = await resolveNativeRuntime({
  runtimeRoot: '/private/run/rdp-bridge',
});
// Pass worker to rdpBridgePlugin with verified host authentication.

Use an absolute, private, writable runtimeRoot. Resolution checks platform, version, pinned FreeRDP, inventory/hashes, executable permissions and worker/ addon pairing. Keep the complete tree intact; do not replace the addon or add global library-path overrides. Credentials reach workers only over private IPC, never argv/environment. Certificates are strict by default. Use the adapter lifecycle for joined worker cleanup.

Image clipboard in 0.5.0

Image clipboard was introduced in the accepted 0.5.0 release. Keep JS and native runtime versions matched when using it in later releases.

Version 0.5.0 advertises clipboardImage only with its native image hooks. It remains opt-in per session through matching JS packages, with negotiated DIB/DIBV5 conversion, RGBA8 handoff, finite encoded/decoded item limits and shared text/HTML/image revoke. Installation does not read the OS clipboard. Published 0.4.0 does not include this image runtime. Use verified matching 0.5.0 artifacts and inspect concrete capabilities; file clipboard and arbitrary image formats remain separate. See the application profiles and limits.

Managed files in 0.6.0

Use this runtime with matching JS product versions for managed files and selected sandbox drives. The trusted server must explicitly enable a file policy; compiled channels do not grant arbitrary host-file access. On the tested Windows profile, audio-off drive sessions use guarded zero-format RDPSND without a host sound backend or audio publication.

OS file-manager Ctrl+C/Ctrl+V remains deferred (clipboardFiles: false). See the file policy, routes, framework examples and tested scope.

Host-device inventory in 0.7.0

The matching 0.7.0 SDK exposes discoverHostDevices for bounded bridge-host printer, PC/SC reader, port and USB metadata. Public 0.6.0 lacks this capability; upgrade the JS packages and runtime together. Use the SDK or framework adapter, not executable arguments or raw private IPC. Discovery performs no RDP connection or device/card open, and does not enable physical redirection. Availability depends on this host's libraries, daemons and account permissions; an explicit limit status is a partial snapshot. SDK usage and tested provider scope.

Limitations

This is a platform payload, not an HTTP server or standalone UI. Its only JS export is ./package.json; executable bin entries preserve permissions and are not a general RDP CLI. musl/Alpine, ARM, macOS and Windows are outside this profile. A compiled channel does not establish usable device redirection. Inspect actual capabilities and policy. Inventory hashes are not a publisher signature.

License

Project-owned bridge code is MIT (LICENSE). Read THIRD_PARTY_NOTICES.md, runtime/share/freerdp-bridge/licenses/ and SBOM metadata for dependency terms. corresponding-source/ contains pinned libusb, eudev, libfuse and numactl sources and exact recipes/patches. Its README.md and manifest.json describe rebuilding the relevant libraries. Sources are not extracted/executed during npm install. MIT does not relicense third-party components.

版本与发布记录

@freerdp-bridge/runtime-linux-x64-gnu 共发布 11 个版本,首次发布于 2026/10/23;过去 12 个月发布了 11 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.7.0latest2026/10/3116 天前
0.6.02026/10/3017 天前
0.5.02026/10/2719 天前
0.4.02026/10/2620 天前
0.3.02026/10/2521 天前
0.2.52026/10/2423 天前

关于 @freerdp-bridge/runtime-linux-x64-gnu 的常见问题

@freerdp-bridge/runtime-linux-x64-gnu 是什么?

Native runtime for FreeRDP Browser Bridge

如何安装 @freerdp-bridge/runtime-linux-x64-gnu?

在项目目录运行 npm install @freerdp-bridge/runtime-linux-x64-gnu,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 freerdp-bridge-worker、freerdp-bridge-process-query、freerdp-bridge-runtime-check、freerdp-bridge-runtime-recovery,可以用 npx freerdp-bridge-worker 直接运行。

@freerdp-bridge/runtime-linux-x64-gnu 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/freerdp-bridge__runtime-linux-x64-gnu 是否存在。

@freerdp-bridge/runtime-linux-x64-gnu 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=24 <25。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@freerdp-bridge/runtime-linux-x64-gnu 可以商用吗?

@freerdp-bridge/runtime-linux-x64-gnu 使用 SEE LICENSE IN THIRD_PARTY_NOTICES.md 许可。许可条款写在包内的独立文件中,请阅读该文件确认可否商用。以上为概括,不构成法律意见,请以许可原文为准。

@freerdp-bridge/runtime-linux-x64-gnu 的下载量有多少?

根据 npm 官方下载统计,@freerdp-bridge/runtime-linux-x64-gnu 在 2026/10/16 – 2026/11/14 这 30 天内被下载 2,340 次,日均约 78 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@freerdp-bridge/runtime-linux-x64-gnu 还在维护吗?

最新版本 0.7.0 发布于 2026/10/31(16 天前);至今共发布 11 个版本,其中过去 12 个月发布了 11 个;首次发布于 2026/10/23。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。