Fix Graphic card setting: use VirtIO during install, none after GPU passthrough

noVNC fails with 'Failed to run vncproxy' when Display is set to none and
no GPU is passed through yet — no virtual display exists to connect to.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-06-27 06:10:23 +00:00
parent e8e9bd927a
commit afe9baf377
+6 -4
View File
@@ -2132,7 +2132,7 @@ Click **Next**.
| Field | Value | | Field | Value |
|-------|-------| |-------|-------|
| Graphic card | **none** | | Graphic card | **Default (VirtIO)** ← temporary for install |
| Machine | q35 | | Machine | q35 |
| BIOS | OVMF (UEFI) | | BIOS | OVMF (UEFI) |
| Add EFI Disk | checked | | Add EFI Disk | checked |
@@ -2149,9 +2149,11 @@ Click **Next**.
> **Pre-Enrolled Keys must be unchecked.** Enabling it turns on Secure Boot, > **Pre-Enrolled Keys must be unchecked.** Enabling it turns on Secure Boot,
> which blocks NVIDIA kernel modules from loading in the guest. > which blocks NVIDIA kernel modules from loading in the guest.
> **Graphic card: none** — this VM gets a real GPU passed through, so the > **Graphic card: use Default (VirtIO) during install.** With `none` selected,
> virtual display is disabled. Console access works via the passed-through GPU > noVNC has no virtual display to connect to and shows "Failed to run vncproxy."
> once Ubuntu boots. > Leave it as VirtIO for the Ubuntu install. After the GPU is passed through and
> NVIDIA drivers are installed inside the VM, come back to Hardware → Display
> and change it to `none`.
> **Qemu Agent** — check this now, then after Ubuntu is installed run > **Qemu Agent** — check this now, then after Ubuntu is installed run
> `apt install qemu-guest-agent` inside the VM. It enables clean shutdown from > `apt install qemu-guest-agent` inside the VM. It enables clean shutdown from