
报错如下:
[2026-04-07 13:37:41.015] [error] 启动RDP代理失败: Error: Rust 原生 RDP 代理模块未加载(rdp_proxy_native.node)。请先执行 pnpm run build:native:rdp。
at RdpProxyService.requireNative (/opt/XTerminal/resources/app.asar/dist/main/index.js:69:2621)
at RdpProxyService.startProxy (/opt/XTerminal/resources/app.asar/dist/main/index.js:69:2912)
at /opt/XTerminal/resources/app.asar/dist/main/index.js:441:22119
at SocketGateway.callRdpProxyWithErrorLogAsync (/opt/XTerminal/resources/app.asar/dist/main/index.js:441:21243)
at SocketGateway.getRdpProxyPort (/opt/XTerminal/resources/app.asar/dist/main/index.js:441:22021)
at /opt/XTerminal/resources/app.asar/dist/main/index.js:24:5502
at /opt/XTerminal/resources/app.asar/node_modules/cls-hooked/context.js:118:13
at Namespace.run (/opt/XTerminal/resources/app.asar/node_modules/cls-hooked/context.js:97:5)
at Namespace.runAndReturn (/opt/XTerminal/resources/app.asar/node_modules/cls-hooked/context.js:117:8)
at SocketGateway.getRdpProxyPort (/opt/XTerminal/resources/app.asar/dist/main/index.js:24:5372)
at /opt/XTerminal/resources/app.asar/node_modules/@nestjs/websockets/context/ws-context-creator.js:43:33
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
at async SocketGateway.<anonymous> (/opt/XTerminal/resources/app.asar/node_modules/@nestjs/websockets/context/ws-proxy.js:11:32)
at async WebSocketsController.pickResult (/opt/XTerminal/resources/app.asar/node_modules/@nestjs/websockets/web-sockets-controller.js:96:24) SocketGateway