HydraIssues

A cloud body needs an interactive logged-in session: Sunshine cannot start without one
open unclassified Project: hydrabody Parent: #714 Reporter: 14 Oct 2026 22:40

Description

Found 2026-10-14 on the first cloud body (#708).

hydrabody got as far as starting Sunshine and then:

[sunshine] sunshine.exe not running, starting...
[sunshine] auto-start failed: WTSQueryUserToken: An attempt was made to reference a token that does not exist.
[sunshine] failed to list apps: Get "https://localhost:47990/api/apps": ... actively refused

WTSQueryUserToken fails because there is no interactive console session on the machine. hydrabody launches Sunshine into the logged-in user's session, which is correct: Sunshine has to run in a desktop session to capture one.

A venue body always satisfies this because the kiosk auto-logs in. A freshly provisioned cloud VM has nobody logged in and no monitor, so the assumption silently does not hold.

This is a real variant requirement, not a bug

The cloud-body image needs an auto-logged-in interactive session before Sunshine can work at all. That is a standard requirement for Windows cloud streaming and it belongs in the documented cloud variant:

  • configure autologon (AutoAdminLogon with DefaultUserName and DefaultPassword, or a managed equivalent) so a console session exists after every boot, including after a spot preemption restart;
  • that session is also what the VDD attaches its virtual display to, so the ordering is autologon first, then VDD, then Sunshine;
  • the password that autologon needs is a credential living on the body, which deserves a deliberate decision rather than being improvised. A dedicated low-privilege local account is better than reusing an admin.

Until that is in place a cloud body can host an experience but cannot stream it. Everything else on the box is ready: GRID driver installed and the L4 enumerating, hydranode online in bxl1-test-2, hydrabody running, Rupelmonde Castle Viewer downloaded and extracted to C:\experiences\rupelmonde-castle-viewer, firewall rule added.

Add it to docs/runbooks/cloud-body-enrol-retire.md once the approach is chosen.

Related: #708, #707, #695, #792.