title: SPICE created at: Sun Jul 21 2024 08:33:28 GMT+0000 (Coordinated Universal Time) updated at: Mon Feb 10 2025 16:44:57 GMT+0000 (Coordinated Universal Time) --- # SPICE SPICE (Simple Protocol for Independent Computing Environments) is a protocol enabling to remotely connect and manage a virtual machine (VM). SPICE allows the user to: * automatically change the VM resolution to fit the screen size; * set up the VM output on multiple displays; * connect USB devices to the VM; * share the clipboard; * transfer files using drag-and-drop. Read more about SPICE in the official documentation. [\[https://www.spice-space.org/documentation.html\]](https://www.spice-space.org/documentation.html) You can connect to a VM using the SPICE protocol if the platform administrator has allowed it. # Connecting to a VM via SPICE ![media\_SPICE/sBbU1\_d87H7ZOe-link-solid.svg](media_SPICE/sBbU1_d87H7ZOe-link-solid.svg) You can connect to a VM: * through the platform interface; * by means of an external client. For example, Virtual Machine Viewer. [\[https://www.spice-space.org/download.html\]](https://www.spice-space.org/download.html) Clipboard sharing and connection of USB devices is only possible when using an external client. # Connecting through the platform interface ![media\_SPICE/A5mXtLwgXNV3DB-link-solid.svg](media_SPICE/A5mXtLwgXNV3DB-link-solid.svg) To connect to a VM via SPICE, enter **Virtual machines** → select the VM → ![media\_SPICE/h3xfN36e5TsoHm-menu-horizontal.png](media_SPICE/h3xfN36e5TsoHm-menu-horizontal.png) menu → **SPICE**. The VM desktop opens in a new browser tab. Press **SPICE **→** Send Ctrl-Alt-Delete** to send the CTRL+ALT+DELETE shortcut to the VM. # Connecting via a client program ![media\_SPICE/b-Iv81SnhiBsLL-link-solid.svg](media_SPICE/b-Iv81SnhiBsLL-link-solid.svg) To set up a remote connection, the platform installs additional software on the VM — SPICE server. To create the connection, you will need to specify the SPICE server data: IP address, connection port and password. This data is available in the virtual machine card: **Virtual machines** → select the VM → → **Parameters** button → **VNC/SPICE setup** → **SPICE** tab. To avoid entering the server data manually, on this tab, you can **Download the config file**. ![Section interface ](media_SPICE/a-W__3fu9FcmYe-section-interface.png) Connection example for Virtual Machine Viewer: 1. Download and install the version of Virtual Machine Viewer for your operating system. [\[https://virt-manager.org/download.html\]](https://virt-manager.org/download.html) 1. To create a connection: * manually: 1. Start the Virtual Machine Viewer. 2. In the **Connection Address** field, enter the SPICE server address in the format: spice://<IP address>:<port> and press **Connect**. ![connection-detailes.png](media_SPICE/bh9y_tQWxlzX7j-connection-detailes.png) ``` 1. In the Password field, enter your password and click OK. ``` ![Authentication.png](media_SPICE/tSyd2nJOU6G3hb-authentication.png) ``` - through the config file — double-click the downloaded config file. ``` 1. To connect a USB device to the VM: 1. Insert the USB device into your computer. 2. In Virtual Machine Viewer, enter **File → USB device selection** → select the USB device → **Close**. ![select-usb-device.png](media_SPICE/GwwK4jE7UjNpEX-select-usb-device.png)