<s>
In	O
computing	O
,	O
SPICE	B-Protocol
(	O
the	O
Simple	B-Protocol
Protocol	I-Protocol
for	I-Protocol
Independent	I-Protocol
Computing	I-Protocol
Environments	I-Protocol
)	O
is	O
a	O
remote-display	O
system	O
built	O
for	O
virtual	B-General_Concept
environments	I-General_Concept
which	O
allows	O
users	O
to	O
view	O
a	O
computing	O
"	O
desktop	O
"	O
environment	O
–	O
not	O
only	O
on	O
its	O
computer-server	O
machine	O
,	O
but	O
also	O
from	O
anywhere	O
on	O
the	O
Internet	O
–	O
using	O
a	O
wide	O
variety	O
of	O
machine	O
architectures	O
.	O
</s>
<s>
Qumranet	O
originally	O
developed	O
SPICE	B-Protocol
using	O
a	O
closed-source	O
codebase	O
in	O
2007	O
.	O
</s>
<s>
A	O
SPICE	B-Protocol
client	O
connection	O
to	O
a	O
remote	O
desktop	O
server	O
consists	O
of	O
multiple	O
data	O
channels	O
,	O
each	O
of	O
which	O
is	O
run	O
over	O
a	O
separate	O
TCP	O
or	O
UNIX	O
socket	O
connection	O
.	O
</s>
<s>
A	O
data	O
channel	O
can	O
be	O
designated	O
to	O
operate	O
in	O
either	O
clear-text	O
,	O
or	O
TLS	B-Protocol
modes	O
,	O
allowing	O
the	O
administrator	O
to	O
tradeoff	O
the	O
security	O
level	O
vs	O
performance	O
.	O
</s>
<s>
The	O
TLS	B-Protocol
mode	O
provides	O
strong	O
encryption	O
of	O
all	O
traffic	O
transmitted	O
on	O
the	O
data	O
channel	O
.	O
</s>
<s>
In	O
addition	O
to	O
encryption	O
,	O
the	O
SPICE	B-Protocol
protocol	I-Protocol
allows	O
for	O
a	O
choice	O
of	O
authentication	O
schemes	O
.	O
</s>
<s>
The	O
original	O
SPICE	B-Protocol
protocol	I-Protocol
defined	O
a	O
ticket	O
based	O
authentication	O
scheme	O
using	O
a	O
shared	O
secret	O
.	O
</s>
<s>
The	O
server	O
would	O
generate	O
an	O
RSA	B-Architecture
public/private	O
keypair	O
and	O
send	O
its	O
public	O
key	O
to	O
the	O
client	O
.	O
</s>
<s>
The	O
current	O
SPICE	B-Protocol
protocol	I-Protocol
also	O
allows	O
for	O
use	O
of	O
the	O
SASL	O
authentication	O
protocol	O
,	O
thus	O
enabling	O
support	O
for	O
a	O
wide	O
range	O
of	O
admin	O
configurable	O
authentication	O
mechanisms	O
,	O
in	O
particular	O
Kerberos	B-Protocol
.	O
</s>
<s>
While	O
only	O
one	O
server	O
implementation	O
exists	O
,	O
several	O
programmers	O
have	O
developed	O
new	O
implementations	O
of	O
the	O
SPICE	B-Protocol
client-side	O
since	O
the	O
open-sourcing	O
of	O
SPICE	B-Protocol
.	O
</s>
<s>
The	O
spice-protocol	O
module	O
defines	O
the	O
SPICE	B-Protocol
wire	O
protocol	O
formats	O
.	O
</s>
<s>
This	O
is	O
made	O
available	O
under	O
the	O
BSD	B-Operating_System
license	I-Operating_System
,	O
and	O
is	O
portable	O
across	O
the	O
Linux	B-Application
and	O
Windows	B-Application
platforms	O
.	O
</s>
<s>
The	O
spice	B-Protocol
module	O
provides	O
the	O
reference	O
implementation	O
for	O
the	O
server	O
side	O
of	O
the	O
SPICE	B-Protocol
protocol	I-Protocol
.	O
</s>
<s>
The	O
server	O
is	O
provided	O
as	O
a	O
dynamic	O
library	O
which	O
can	O
be	O
linked	O
to	O
any	O
application	O
wishing	O
to	O
expose	O
a	O
SPICE	B-Protocol
server	O
.	O
</s>
<s>
,	O
QEMU	B-Application
uses	O
this	O
to	O
provide	O
a	O
SPICE	B-Protocol
interface	O
for	O
virtual	O
machines	O
.	O
</s>
<s>
The	O
spice	B-Protocol
codebase	O
is	O
available	O
under	O
the	O
LGPL	B-Application
v2+	O
license	O
.	O
</s>
<s>
A	O
client	O
part	O
of	O
the	O
spice	B-Protocol
codebase	O
named	O
spicec	O
was	O
removed	O
in	O
December	O
2014	O
.	O
</s>
<s>
The	O
spice-gtk	O
module	O
implements	O
a	O
SPICE	B-Protocol
client	O
using	O
the	O
GObject	B-Language
type	O
system	O
and	O
the	O
GTK	B-Application
widget	B-Library
toolkit	I-Library
.	O
</s>
<s>
This	O
comprises	O
a	O
low-level	O
library	O
,	O
spice-client-glib	O
,	O
which	O
implements	O
the	O
client	O
protocol	O
code	O
,	O
and	O
a	O
high-level	O
set	O
of	O
widgets	O
which	O
provide	O
a	O
graphical	O
client	O
capability	O
using	O
GTK	B-Application
.	O
</s>
<s>
This	O
is	O
made	O
available	O
under	O
the	O
LGPLv2+	O
license	O
,	O
and	O
is	O
portable	O
across	O
the	O
Linux	B-Application
,	O
OS	B-Operating_System
X	I-Operating_System
and	O
Windows	B-Application
platforms	O
.	O
</s>
<s>
The	O
spice-html5	O
module	O
implements	O
a	O
SPICE	B-Protocol
client	O
that	O
uses	O
JavaScript	O
and	O
is	O
intended	O
to	O
run	O
inside	O
a	O
web	O
browser	O
supporting	O
HTML5	B-Application
.	O
</s>
<s>
While	O
it	O
implements	O
the	O
SPICE	B-Protocol
protocol	I-Protocol
,	O
it	O
cannot	O
talk	O
directly	O
to	O
a	O
regular	O
SPICE	B-Protocol
server	O
.	O
</s>
<s>
It	O
must	O
connect	O
to	O
the	O
server	O
indirectly	O
via	O
WebSocket	B-Protocol
proxy	O
.	O
</s>
<s>
This	O
is	O
made	O
available	O
under	O
a	O
combination	O
of	O
the	O
GPLv3+	O
and	O
LGPLv3+	O
licenses	O
.	O
</s>
<s>
The	O
SPICE	B-Protocol
protocol	I-Protocol
originated	O
to	O
provide	O
improved	O
remote	O
desktop	O
capabilities	O
in	O
a	O
fork	O
of	O
the	O
KVM	O
codebase	O
.	O
</s>
<s>
The	O
QEMU	B-Application
maintainers	O
merged	O
support	O
for	O
providing	O
SPICE	B-Protocol
remote	O
desktop	O
capabilities	O
for	O
all	O
QEMU	B-Application
virtual	O
machines	O
in	O
March	O
2010	O
.	O
</s>
<s>
The	O
QEMU	B-Application
binary	O
links	O
to	O
the	O
spice-server	O
library	O
to	O
provide	O
this	O
capability	O
and	O
implements	O
the	O
QXL	O
paravirtualized	O
framebuffer	O
device	O
to	O
enable	O
the	O
guest	O
OS	O
to	O
take	O
advantage	O
of	O
the	O
performance	O
benefits	O
the	O
SPICE	B-Protocol
protocol	I-Protocol
offers	O
.	O
</s>
<s>
The	O
X.Org	B-Operating_System
Server	I-Operating_System
driver	O
for	O
the	O
QXL	O
framebuffer	O
device	O
includes	O
a	O
wrapper	O
script	O
which	O
makes	O
it	O
possible	O
to	O
launch	O
an	O
Xorg	B-Operating_System
server	I-Operating_System
whose	O
display	B-Device
is	O
exported	O
via	O
the	O
SPICE	B-Protocol
protocol	I-Protocol
.	O
</s>
<s>
This	O
enables	O
use	O
of	O
SPICE	B-Protocol
in	O
a	O
remote	O
desktop	O
environment	O
,	O
without	O
requiring	O
QEMU/KVM	O
virtualization	O
.	O
</s>
<s>
The	O
virt-viewer	O
program	O
uses	O
the	O
spice-gtk	O
client	O
library	O
to	O
connect	O
to	O
virtual	O
machines	O
using	O
SPICE	B-Protocol
,	O
as	O
an	O
alternative	O
to	O
its	O
previous	O
support	O
for	O
VNC	B-Protocol
.	O
</s>
<s>
SPICE	B-Protocol
is	O
integrated	O
into	O
oVirt	B-Language
private-cloud	O
management	O
software	O
,	O
allowing	O
users	O
to	O
connect	O
to	O
virtual	O
machines	O
through	O
SPICE	B-Protocol
.	O
</s>
