Repository navigation
v0.5.5
[0.5.5] - 2026-05-21
User-report follow-up release driven by @tolistim (#216) and @ismikes (#215). Fixes a setup-rerun lockout that desynced the host config from the Windows guest password, lands a host-adaptive Windows-on-KVM tuning profile so safe perf tweaks turn themselves on without user configuration, and ends the "tray stuck on starting forever" symptom that long-idle pods used to show.
Highlights
winpodx setup rerun is safe again, the dockur compose auto-tunes to the host, and idle pods no longer freeze the tray on starting (#215, #216).
winpodx setuprerun on an existing install preserves the working Windows credentials instead of silently overwritingcfg.rdp.password; the lockout that producedLOGON_FAILED_BAD_PASSWORDis gone. Reported by @tolistim (#216).- New
cfg.pod.tuning_profile(default"auto"): winpodx probes the host once at compose time (invariant TSC, kernel ≥ 5.6 for io_uring,vm.nr_hugepages, idle CPU + RAM headroom) and turns on every safe Windows-on-KVM tweak the host can support.+invtsclands in the x86_64 QEMU args on supported CPUs.winpodx info/winpodx setupprint a new[Tuning]block so the auto-applied set is never hidden. Suggested by @ismikes (#215). safe/off/manualescape hatches for the tuning profile; host-side prerequisites (hugepages, CPU pinning, VFIO) stay documented operator tasks rather than wired into winpodx automatically.- New
PodState.UNRESPONSIVEplus auto-recovery flow:pod_status()now distinguishes a still-booting container (STARTING, container uptime under 600 s) from a long-running one whose Windows guest has gone unresponsive on the RDP port (UNRESPONSIVE, container uptime past 600 s). The tray observes theRUNNING → UNRESPONSIVEtransition, fires a desktop notification, and spawns a background worker that cyclesTermServicein-guest via the agent transport. On recovery a "pod recovered" notification fires; on failure the user gets a "needs manual restart" notification pointing atwinpodx pod restart. OEM install.bat also tightens everypowercfgtimeout to0and clearsPlatformAoAcOverrideso Modern Standby can't drop the NIC out from under a long-idle session in the first place.
Added
-
PodState.UNRESPONSIVE+ auto-recovery flow.pod_status()resolves to the newUNRESPONSIVEvalue when the container has been running longer than 10 minutes but the RDP port isn't answering — historically misreported asSTARTINGforever. The tray driver caches the previous state and on aRUNNING → UNRESPONSIVEtransition firesnotify_pod_unresponsive+ a background worker that callstry_recover_rdp(newcore/pod/recovery.py). Recovery asks the agent toRestart-Service -Force TermServiceand re-probes the RDP port for 30 s; success firesnotify_pod_recovered, failure firesnotify_pod_needs_manual_restartwith the failure mode (agent unreachable/rdp still down) so the user knows to runwinpodx pod restart.Backend.uptime_secs()is the new ABC method; Podman + Docker implement it viainspect -f '{{.State.StartedAt}}'; libvirt + manual returnNoneso they fall back to the legacySTARTINGanswer. -
config/oem/install.batdisables every Windows idle timeout that can kill RDP. The Ultimate Performance plan alone wasn't enough — Modern Standby (S0 low-power idle) can still drop the virtio NIC and stall TermService. Setsstandby/hibernate/monitor/disktimeouts to0on AC + DC, clearsHKLM\SYSTEM\CurrentControlSet\Control\Power\PlatformAoAcOverrideto force Desktop class power behaviour, and forcesSTANDBYIDLE 0on the current scheme as a belt-and-braces guard. Eliminates the root cause behind theRUNNING → UNRESPONSIVEtransition on idle pods. -
Host suspend / resume no longer leaves the tray frozen on
starting. Two-pronged: the guest gets a SYSTEM-level scheduled task that subscribes toWin32_PowerManagementEvent(config/oem/power-monitor.ps1) and restartsTermService5 s after EventType 7 / 18 (resume from suspend / modern-standby), so the in-guest RDP listener is rebuilt before the next probe. The host tray subscribes toorg.freedesktop.login1'sPrepareForSleep(active=False)signal via QtDBus and refreshes pod state 5 s after the resume event, triggering the existing UNRESPONSIVE auto-recovery path immediately instead of waiting for the 30 s poll. Both halves degrade gracefully — D-Bus subscription is best-effort; the scheduled task is installed only on fresh OEM apply (existing pods pick it up viawinpodx pod apply-fixesin a follow-up). -
OEM install ends with a scheduled reboot so registry edits actually take effect.
PlatformAoAcOverride = 0(Modern Standby off) and several NIC binding tweaks land inHKLMbut the running session keeps the old values until next boot. install.bat now writes aC:\winpodx\oem_reboot_pending.txtmarker, registers aRunOncekey that deletes the marker on the second Windows boot, and issuesshutdown /r /t 15as its last action.winpodx pod wait-readygains a[4/4] Waiting for OEM reboot pass...phase that polls the marker via the agent transport; an upgrade-path install without the marker short-circuits through a 30-second appear-grace window so the existing flow keeps working unchanged. -
Tray UX overhaul: always-running tray, Dashboard shortcut, confirmed Quit. The tray is now auto-spawned from the GUI window and from every CLI subcommand that touches the pod (everything except
setup/gui/tray), so a user who only ever runswinpodx app runstill gets the UNRESPONSIVE auto-recovery driver. The tray icon now renders properly (bundledwinpodx-icon.svgset beforetray.show(); previously KDE Plasma / GNOME suppressed the indicator entirely because no icon was assigned). New "Open Dashboard" menu item at the top of the tray context menu spawns the main GUI window. Quit now confirms via a QMessageBox ("winpodx 를 완전히 종료할까요?") and on confirmation runsstop_pod+pkill -f 'winpodx gui'+app.quitso a stray click can't cycle the pod's ~30 s restart.tray.lockflock under$XDG_RUNTIME_DIR/winpodx/prevents stacked instances when the user manually re-launches the tray. -
ensure_readytwo-stage RDP recovery on CLI launch. CLI launches (winpodx app run, GUI app clicks, etc.) now self-heal a stalled-RDP guest before spawning FreeRDP: stage 1 callstry_recover_rdp(agent-driven TermService cycle, ~5-30 s, keeps Windows uptime), stage 2 falls back torecover_rdp_if_needed(whole-container restart, ~30 s, resets Windows uptime). The old behaviour was to fail the launch with a connection-refused that the user had to debug; now the cheap path tries first, only escalates when the agent isn't reachable. -
GUI Settings: "Launch winpodx tray at login" checkbox. New toggle in the Settings page writes / removes
~/.config/autostart/winpodx-tray.desktopvia the XDG autostart spec — portable across KDE / GNOME / XFCE / Cinnamon without per-DE branching. File existence is the source of truth (nocfg.tomlfield, no daemon to manage), and the user can drop the .desktop by hand to opt out.X-GNOME-Autostart-enabled=trueis included so GNOME's session manager honours it after DE-default resets. Toggle applies immediately — no Save Settings click needed. -
uninstall.shcovers the new tray + autostart surfaces. Two new sections: (0a) pre-removalpkill -fagainstwinpodx guiandwinpodx trayplus 1-s grace, so the killed processes release their FDs into the install / runtime / config dirs we're about torm -rfand stop firing auto-recovery notifications against a soon-to-be-gone container; (6b) always-remove~/.config/autostart/winpodx-tray.desktopregardless of--purgebecause the .desktop is useless without the binary and leaving it triggers awinpodx: command not foundat next login. -
Host-adaptive Windows-on-KVM tuning profile (#215).
cfg.pod.tuning_profilecontrols how aggressively winpodx tunes the dockur compose for the host. Default"auto"probes the host once at compose time (constant_tsc + nonstop_tsc, kernel ≥ 5.6 for io_uring,vm.nr_hugepages > 0, idle CPU + RAM headroom) and enables the matching subset of standard tweaks — currently+invtscon x86_64 hosts that expose invariant TSC. Other profiles:"safe"(Tier-1 only —+invtsc+ Windowsplatform_tick, no host-side prerequisites),"off"(dockur defaults only),"manual"(safeshape; future per-knob overrides).winpodx infoandwinpodx setupboth print the detected capability + resolved profile so users can see exactly what was auto-applied. Suggested by @ismikes (#215); standard sysguides.com Windows-on-KVM tuning items that need host-side setup (hugepages, CPU pinning) are documented indocs/USAGE.mdas user-host tasks rather than wired into winpodx automatically.
Fixed
-
winpodx setuprerun no longer locks out users by silently rewriting the Windows password (#216). Re-running setup on an existing install (e.g. to bump cores/RAM) used to reprompt for the Windows password and write whatever was entered intowinpodx.toml. Because dockur honorsUSERNAME/PASSWORDenv vars only on first boot, the host config silently desynced from the Windows guest account and the next RDP launch failed withLOGON_FAILED_BAD_PASSWORD. The interactive prompt now detects an existing config with a populatedcfg.rdp.user+cfg.rdp.password, preserves them, and prints guidance to usewinpodx rotate-password(which goes through the Windows-side password change mechanism). Non-interactiveinstall.shsetup and fresh installs are unchanged. Reported by @tolistim on Linux Mint 22.3 / v0.5.4. -
Docs: Fedora 42 / 43 / 44 install snippet uses dnf5 syntax (#228). Old
sudo dnf config-manager --add-repo <URL>fails on Fedora 41+ because dnf5 changed the subcommand shape. Snippet now readssudo dnf config-manager addrepo --from-repofile=<URL>; the dnf4 form is noted below for Fedora ≤40 (EOL). Updated inREADME.md/docs/README.ko.md/docs/INSTALL.md/docs/INSTALL.ko.md/packaging/obs/README.md. Reported by @payayas. -
install.shno longer falsely reports success when hardware virtualisation is off (#220). Reported by @pnogaret2019-code on Linux Mint LMDE 7. The install loop treatedqemu-system-x86already being present as "all dependencies installed successfully" while/dev/kvmstayed absent because the BIOS had VT-x disabled. install.sh now (a) emits a much more prominent pre-install warning that walks the user through the three real causes (BIOS, kernel module, kvm group) with diagnostic commands, and (b) re-verifies/dev/kvmafter the install loop and aborts with livelscpu/lsmod/idoutput when it's still missing. README + Korean mirror gain a new "Minimum requirements" section with the same three-row check table, so users see the gating requirements before they ever copy-paste the curl-install line. Catches the largest single source of "install ran fine but Windows never boots" bug reports. -
install.shUbuntu 24.04+ / Debian 13 picks the realqemu-system-*package instead of the now-virtualqemu-kvm(#200). Reported by @n-osennij on xubuntu 26.04 inside VirtualBox. apt errored withE: Package 'qemu-kvm' has no installation candidatebecause newer Ubuntu / Debian madeqemu-kvma virtual package whose providers areqemu-system-x86(orqemu-system-x86-hwe).pkg_name()now uses the sameapt-cache showprobe pattern as the freerdp2 → freerdp3 selector from PR #198: probesqemu-system-x86first (orqemu-system-armon aarch64), falls back toqemu-system-x86-hwe, thenqemu-kvmfor older distros. The VirtualBox-side nested-virtualisation requirement is host-environment and outside winpodx's scope — covered by the new "Minimum requirements" README section. -
dockur/windows image pin bumped to v5.15 (#223, #224).
DOCKUR_IMAGE_PIN/DOCKUR_IMAGE_ARM_PIN+config/oem/VERSIONS.txttrack the new digests (sha256:32abe0836aee...x86_64,sha256:5775bcfd335b...aarch64). Picks up upstream's accumulated fixes since v5.14 without changing the winpodx-side compose surface. -
install.shaborts cleanly on Ctrl+C instead of marching pastPod is starting, not running. Start the pod now and apply? [Y/n]. The old install loop used a singleEXIT INT TERMtrap that only cleaned up the install marker; SIGINT then fell through to the next step. Split into three traps (EXITcleanup-only,INTcleanup +exit 130,TERMcleanup +exit 143) and wrapped thewait-ready | teepipeline withset +esoPIPESTATUS[0]survives the|| truerescue and the SIGINT-vs-real-failure branch can act on the real wait-ready rc. -
winpodx setup --non-interactiveflag for install.sh-driven migration. install.sh calls setup migration after the initial install; without--non-interactivethe migration would block on the storage-path prompt and stall the curl-install. Setup gains the flag and treats every interactive prompt as "accept default" when set. -
uninstall.shtray no longer respawns mid-uninstall. Section 0apkill'd the tray, then section 0b ranwinpodx host-open stop-listener/unregister-guestto tear down reverse-open.cli/main.pyauto-spawns the tray for every subcommand outside the{setup, gui, tray}skiplist, sohost-opentriggered a fresh tray spawn and section 0a's work was immediately undone.uninstall.shnow exportsWINPODX_NO_TRAY_SPAWN=1;maybe_spawn_tray()short-circuits when set, so everywinpodxCLI subprocess uninstall.sh runs inherits the env and skips the spawn.