Spice

From wikinotes

Spice provides (graphical) remote access to virtual machines.

Documentation

official docs https://www.spice-space.org/documentation.html

Install

Host

sudo pacman -S spice-gtk virt-viewer

Guest

Go to downloads page (https://www.spice-space.org/download.html) and install:

windows Guest > Windows Binaries > spice-guest-tools
macos no guest tools available!
linux ?


Usage

spicy                                      # gui-chooser
spicy -h 127.0.0.1 -p 5930 & disown spicy  # connect to specific client
  • L_Shift + F12 Releases Focus

Integration

qemu

Add the following arguments to your Qemu invocation to use spice for display.

sudo qemu-system-x86_64 \
  `# ...other qemu args...` \
  -daemonize   `# do not attach monitor, we connect by RDP` \
  -vga qxl \
  -spice port=5930,disable-ticketing \
  -device virtio-serial \
  -device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 \
  -chardev spicevmc,id=spicechannel0,name=vdagent \