SPICE

From Proxmox VE
Revision as of 08:47, 23 July 2013 by Martin (talk | contribs) (added audio)
Jump to navigation Jump to search
Screen-enable-spice.png
Screen-start-spice-viewer.png

Introduction

SPICE (Simple Protocol for Independent Computing Environments) is an open remote computing solution built for virtual environments which allows users to view a computing "desktop" environment. The integrating of Spice into Proxmox VE provides a solution for interaction with virtualized desktop devices, like keyboard, mouse, audio and video. Interaction between front-end and back-end is done using Virtual Device Interfaces (VDI).

Spice achieves a user experience similar to an interaction with a local machine, while trying to offload most of the intensive CPU and GPU tasks to the client. Spice is suitable for both LAN and WAN usage, without compromising on the user experience.

Using Spice on Proxmox VE is easy and secure. It is integrated in the cluster environment, the user- and authentication system - and of cource, all traffic is fully encrypted.

Proxmox VE 3.1 will introduce Spice as a technology preview. For now, its available via our pvetest repository (Package_repositories).

The VNC console is still available and the default

Needed components for SPICE

In order to use Spice you need the following:

  • Spice client on your desktop OS
  • Spice drivers inside your VM (VirtIO, QXL Graphic card drivers)

SPICE client

Enable SPICE for a VM

By default, Spice in not enabled and the traditional VNC based console is used. In order to enable Spice, just select SPICE as virtual "Graphic card" - as shown in the screenshot on top of this page.

OS specific settings for VM

Windows

Windows 7 32-bit

Fully supported, just install windows guest tools 0.59 or higher (spice-guest-tools-0.59.exe or higher)

Windows 7 64-bit

No digitally signed drivers packages public available

Windows 8 32-bit

No digitally signed drivers packages public available

Windows 8 64-bit

No digitally signed drivers packages public available

Linux

Fedora 18 and higher

All drivers are built-in.

Debian (7.1 and higher)

Ubuntu (12.04 and higher)

Using client USB devices

USB devices from the desktop client can be mapped into the VM, using the virt-viewer GUI. Please note, the Windows version of virt-viewer does not support this. You need to use a virt-viewer on a Linux Desktop.

  • enable one or more Spice USB devices in your VM config.
    • usb0: spice
    • usb1: spice
    • ...

Using Audio

In order to got audio/sound, you need to add a virtual sound-card into your VM config. Just add the following line to your VM config:

args: -device AC97,addr=0x18

In upcoming releases, adding audio devices can be done via GUI.

Trouble Shooting

Video Tutorials

tbd: Proxmox VE Youtube channel