# \[Bug\] Linux arm64 (v3.12.2): RDP unusable — crash on missing 'undici', then ironrdp "invalid state" vs gnome-remote-desktop

**URL:** <https://community.gotempest.app/t/bug-linux-arm64-v3-12-2-rdp-unusable-crash-on-missing-undici-then-ironrdp-invalid-state-vs-gnome-remote-desktop/23>\
**Category:** Bug Report\
**Created:** [July 6, 2026, 3:09pm UTC](https://community.gotempest.app/t/bug-linux-arm64-v3-12-2-rdp-unusable-crash-on-missing-undici-then-ironrdp-invalid-state-vs-gnome-remote-desktop/23 "2026-07-06T15:09:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![aqweider](https://community.gotempest.app/letter_avatar_proxy/v4/letter/a/b9bd4f/32.png) [@aqweider](https://community.gotempest.app/u/aqweider)\
**Post date:** [July 6, 2026, 3:09pm UTC](https://community.gotempest.app/t/bug-linux-arm64-v3-12-2-rdp-unusable-crash-on-missing-undici-then-ironrdp-invalid-state-vs-gnome-remote-desktop/23/1 "2026-07-06T15:09:06Z")

</div>

**Environment:** Tempest Desktop v3.12.2, Linux **arm64/aarch64** (Ubuntu 24.04, NVIDIA GB10). Installed from the official arm64 `.deb`. RDP target: an Ubuntu 24.04 host running **gnome-remote-desktop 46** (FreeRDP 3.5.1 backend, NLA-required). SSH works flawlessly; RDP is completely unusable due to two separate bugs.

## Bug 1 — main process crashes instantly on RDP connect (arm64 packaging)

Opening any RDP connection crashes the whole app. From journalctl:

```auto
Uncaught Exception:
    Error: Cannot find module 'undici'
    Require stack:
    - /opt/Tempest/resources/app.asar/out/main/index.js
        at Module._resolveFilename (node:internal/modules/cjs/loader:1507:15)

`out/main/index.js` does `require('undici')`, but **undici (declared ^7.0.0) is not present in the packaged node_modules on the arm64 build** — looks like an electron-builder files/asar omission for the arm64 target.

Workaround that fixes it: drop `undici@7` into `/opt/Tempest/resources/node_modules/` (Node resolves it there as the first real-FS path outside the read-only asar). RDP then launches.

## Bug 2 — ironrdp asserts an internal "invalid state" (after CredSSP succeeds)

After patching Bug 1, connecting to gnome-remote-desktop with NLA (CredSSP) + valid credentials fails at:

    connect finalize: [invalid state (this is a bug) @ ironrdp-connector-0.9.0/src/lib.rs:405] general error

The server requires NLA — `xfreerdp3 /sec:tls` and `/sec:rdp` are both rejected with HYBRID_REQUIRED_BY_SERVER; only `/sec:nla` is accepted. And **FreeRDP 3.5.1 connects to this exact host successfully** (NLA negotiates, CredSSP authenticates, proceeds into the RDP licensing/capability sequence). ironrdp 0.9.0 reaches post-CredSSP finalize and trips its own "invalid state (this is a bug)" assertion.

Repro: any gnome-remote-desktop (GNOME 46 "Remote Desktop") target. Since FreeRDP handles it fine, this looks like an ironrdp connector bug — please bump/patch ironrdp. Happy to provide full logs, thanks!

```

---

<div class="post-metadata">

**Author:** ![tearfulDalvik](https://community.gotempest.app/user_avatar/community.gotempest.app/tearfuldalvik/32/25_2.png) [@tearfulDalvik](https://community.gotempest.app/u/tearfulDalvik)\
**Post date:** [July 7, 2026, 7:05am UTC](https://community.gotempest.app/t/bug-linux-arm64-v3-12-2-rdp-unusable-crash-on-missing-undici-then-ironrdp-invalid-state-vs-gnome-remote-desktop/23/2 "2026-07-07T07:05:28Z")

</div>

Hi, we’ll fix it and get back to you soon.

---

<div class="post-metadata">

**Author:** ![tearfulDalvik](https://community.gotempest.app/user_avatar/community.gotempest.app/tearfuldalvik/32/25_2.png) [@tearfulDalvik](https://community.gotempest.app/u/tearfulDalvik)\
**Post date:** [July 7, 2026, 1:30pm UTC](https://community.gotempest.app/t/bug-linux-arm64-v3-12-2-rdp-unusable-crash-on-missing-undici-then-ironrdp-invalid-state-vs-gnome-remote-desktop/23/3 "2026-07-07T13:30:17Z")

</div>

Hi, please try the v3.12.4 release, and hopefully it resolves this issue 🙂

---

<div class="post-metadata">

**Author:** ![aqweider](https://community.gotempest.app/letter_avatar_proxy/v4/letter/a/b9bd4f/32.png) [@aqweider](https://community.gotempest.app/u/aqweider)\
**Post date:** [July 7, 2026, 9:47pm UTC](https://community.gotempest.app/t/bug-linux-arm64-v3-12-2-rdp-unusable-crash-on-missing-undici-then-ironrdp-invalid-state-vs-gnome-remote-desktop/23/4 "2026-07-07T21:47:59Z")

</div>

You are awesome , it worked buit i will test further

---

<div class="post-metadata">

**Author:** ![tearfulDalvik](https://community.gotempest.app/user_avatar/community.gotempest.app/tearfuldalvik/32/25_2.png) [@tearfulDalvik](https://community.gotempest.app/u/tearfulDalvik)\
**Post date:** [July 8, 2026, 4:17am UTC](https://community.gotempest.app/t/bug-linux-arm64-v3-12-2-rdp-unusable-crash-on-missing-undici-then-ironrdp-invalid-state-vs-gnome-remote-desktop/23/5 "2026-07-08T04:17:48Z")

</div>

Surely. Any questions please let me know

---

<div class="post-metadata">

**Author:** ![system](https://community.gotempest.app/uploads/default/original/1X/1f1385ceb3c0ba4bccdb1c91c03961a76769c47c.png) [@system](https://community.gotempest.app/u/system)\
**Post date:** [July 10, 2026, 4:18am UTC](https://community.gotempest.app/t/bug-linux-arm64-v3-12-2-rdp-unusable-crash-on-missing-undici-then-ironrdp-invalid-state-vs-gnome-remote-desktop/23/6 "2026-07-10T04:18:32Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
