From fa0cc05917561bdcf84665760e11e95f9e408ed7 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Mon, 25 Oct 2021 15:41:45 +0100 Subject: [PATCH] Update headless operation docs --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index e492c60..e31c181 100644 --- a/README.md +++ b/README.md @@ -344,6 +344,23 @@ in Debian/Ubuntu. quickemu --vm ubuntu-focal.conf --display spice ``` +## Headless + +To start a VM with SPICE enabled, but no display attached use `--display none`. +This requires that the `spicy` client is installed, available from the +`spice-client-gtk` package in Debian/Ubuntu to connect to the running VM + +```bash +quickemu --vm ubuntu-focal.conf --display none +``` + +You can also use the `.ports` file in the VM directory to lookup what SSH and +SPICE ports the VM is connected to. + +```bash +cat ubuntu-focal/ubuntu-focal.ports +``` + # BIOS and EFI Since Quickemu 2.1.0 `efi` is the default boot option. If you want to override