ArticleslgStudy

computer science

Simple Protocol for Independent Computing Environments

Simple Protocol for Independent Computing Environments is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Simple Protocol for Independent Computing Environments rather than just read about it. In short: In computing, SPICE (the Simple Protocol for Independent Computing Environments) is a remote-display system built for virtual environments which allows users to view a computing "desktop" environment – not only on its computer-server machine, but also from anywhere on the Internet – using a wide variety of machine architectures. Qumranet originally developed SPICE using a closed-source codebase in 2007.

Key takeaways

  • Simple Protocol for Independent Computing Environments belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Simple Protocol for Independent Computing Environments to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Simple Protocol for Independent Computing Environments from memory before moving on to harder problems.

Reference excerpt

In computing, SPICE (the Simple Protocol for Independent Computing Environments) is a remote-display system built for virtual environments which allows users to view a computing "desktop" environment – not only on its computer-server machine, but also from anywhere on the Internet – using a wide variety of machine architectures. Qumranet originally developed SPICE using a closed-source codebase in 2007. Red Hat, Inc acquired Qumranet in 2008, and in December 2009 released the code under an open-source license and made the protocol an open standard.

Security A SPICE client connection to a remote desktop server consists of multiple data channels, each of which is run over a separate TCP or UNIX socket connection. A data channel can be designated to operate in either clear-text, or TLS modes, allowing the administrator to trade off the security level vs performance. The TLS mode provides strong encryption of all traffic transmitted on the data channel. In addition to encryption, the SPICE protocol allows for a choice of authentication schemes. The original SPICE protocol defined a ticket based authentication scheme using a shared secret. The server would generate an RSA public/private keypair and send its public key to the client. The client would encrypt the ticket (password) with the public key and send the result back to the server, which would decrypt and verify the ticket. The current SPICE protocol also allows for use of the SASL authentication protocol, thus enabling support for a wide range of admin configurable authentication mechanisms, in particular Kerberos.

Implementations While only one server implementation exists, several programmers have developed new implementations of the SPICE client-side since the open-sourcing of SPICE.

spice-protocol The spice-protocol module defines the SPICE wire protocol formats. This is made available under the BSD license, and is portable across the Linux and Windows platforms. spice The spice module provides the reference implementation for the server side of the SPICE protocol. The server is provided as a dynamic library which can be linked to any application wishing to expose a SPICE server. As of 2013, QEMU uses this to provide a SPICE interface for virtual machines. The spice codebase is available under the LGPL v2+ license. A client part of the spice codebase named spicec was removed in December 2014. spice-gtk The spice-gtk module implements a SPICE client using the GObject type system and the GTK widget toolkit. This comprises a low-level library, spice-client-glib, which implements the client protocol code, and a high-level set of widgets which provide a graphical client capability using GTK. This is made available under the LGPLv2+ license, and is portable across the Linux, OS X and Windows platforms. spice-html5 The spice-html5 module implements a SPICE client that uses JavaScript and is intended to run inside a web browser supporting HTML5. While it implements the SPICE protocol, it cannot talk directly to a regular SPICE server. It must connect to the server indirectly via WebSocket proxy. This is made available under a combination of the GPLv3+ and LGPLv3+ licenses.

Applications The SPICE protocol originated to provide improved remote desktop capabilities in a fork of the KVM codebase.

QEMU/KVM The QEMU maintainers merged support for providing SPICE remote desktop capabilities for all QEMU virtual machines in March 2010. The QEMU binary links to the spice-server library to provide this capability and implements the QXL paravirtualized framebuffer device to enable the guest OS to take advantage of the performance benefits the SPICE protocol offers. The guest OS may also use a regular VGA card, albeit with degraded performance as compared to QXL. Xspice The X.Org Server driver for the QXL framebuffer device includes a wrapper script, which makes it possible to launch a Xorg server whose display is exported via the SPICE protocol. This enables use of SPICE in a remote desktop environment, without requiring QEMU/KVM virtualization. virt-viewer The virt-viewer program uses the spice-gtk client library to connect to virtual machines using SPICE, as an alternative to its previous support for VNC. oVirt SPICE is integrated into oVirt private cloud management software, allowing users to connect to virtual machines through SPICE.

See also

Red Hat Virtualization HP Remote Graphics Software

References

External links Official website SPICE protocol

Worked examples

Example 1 — a first encounter with Simple Protocol for Independent Computing Environments

Start with the simplest possible case. Write down what Simple Protocol for Independent Computing Environments claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Simple Protocol for Independent Computing Environments before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Simple Protocol for Independent Computing Environments ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Simple Protocol for Independent Computing Environments

In research
Simple Protocol for Independent Computing Environments appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Simple Protocol for Independent Computing Environments in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Simple Protocol for Independent Computing Environments is common in secondary-school and first-year university syllabi. It links to neighbouring topics Application layer protocols, Red Hat software, Remote desktop, so understanding it makes those chapters shorter.
In everyday life
Look for Simple Protocol for Independent Computing Environments outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Simple Protocol for Independent Computing Environments” →

How to study Simple Protocol for Independent Computing Environments in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Simple Protocol for Independent Computing Environments means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Simple Protocol for Independent Computing Environments out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Simple Protocol for Independent Computing Environments in simple terms?

In computing, SPICE (the Simple Protocol for Independent Computing Environments) is a remote-display system built for virtual environments which allows users to view a computing "desktop" environment – not only on its computer-server machine, but also from anywhere on the Internet – using a wide va…

Why does Simple Protocol for Independent Computing Environments matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Simple Protocol for Independent Computing Environments?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Simple Protocol for Independent Computing Environments.

Tags

  • Application layer protocols
  • Red Hat software
  • Remote desktop
  • Remote desktop protocols
  • Thin clients
  • Virtualization software for Linux

Keep exploring