Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [spice]

SPICE provides fast remote desktop connections to guests of implementing hypervisors, e.g. QEMU and KVM.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

When using SPICE for the QEMU VM, geeing a black screen instead of FDE password screen

When I run VM with the following command: qemu-system-x86_64 -accel kvm,thread=multi -cpu host -smp 2 -m 4096 \ -drive file=/media/blueray/WDPurple8TB/QEMU_Backup/ubuntu.qcow2,if=virtio \ -vga virtio -...
user avatar
  • 1,223
1 vote
0 answers
91 views

KVM clipboard sharing with client running Wayland

I have Fedora 35 installed as a VM, with Qemu/KVM as the hypervisor and virt-manager as the graphical front-end, running under Manjaro KDE. Following numerous guides & answers I have managed to ...
user avatar
  • 393
3 votes
0 answers
370 views

When using Spice and remote-viewer with multiple virtual monitors, stuck on "Waiting for display 2" indefinately

Following some research, I learned that the proper method to setup multiple virtual monitors with virt-manager, libvirtd, and qemu is to use spice (link, link, link). At first, I added three total ...
user avatar
  • 213
2 votes
1 answer
2k views

Make shared clipboard work for qemu

The shared clipboard doesn't work for me. How to fix it? Host (Debian buster) with: standard system utilities ufw (ufw enabled, deny incoming, allow out going, deny routed) apparmor-profiles, ...
user avatar
  • 49
0 votes
1 answer
1k views

QEMU/KVM SPICE - copy & paste functionalities work on the Windows VM, but not on the Debian VM

Client: I installed a package spice-client-gtk on my Debian workstation which conects to the remote server i.e. hypervisor running virtual machines on QEMU-KVM. spice-client-gtk is not installed on ...
user avatar
  • 816
1 vote
1 answer
184 views

USB connects then disconnects on QEMU / windows 10 guest

Essentially the usb device connects for about 2-3 seconds, then disconnects for about 2-3 seconds, then reconnects... This also happens if I pass it through directly. If I install the spice-tools the ...
user avatar
  • 111
2 votes
0 answers
1k views

virt-manager, qemu-kvm, spice & vdagent: auto resizing and file sharing not working

Host: Ubuntu 18.04 Guest: Fedora 33 virt-manager 1.5.1 I built the guest using virt-manager. The guest works: internet access works, youtube in browser works, sound works, clipboard sharing between ...
user avatar
  • 2,445
1 vote
0 answers
1k views

Use passthrough GPU in KVM/QEMMU and display in host OS in a window

I'm new to KVM/QEMMU. I have used virtual box to run Windows 10 in a virtual machine on my Arch host system (a laptop with both integrated and discrete GPUs). Being dissatisfied with the video ...
user avatar
  • 111
0 votes
1 answer
918 views

Disable sound when using Spice with KVM/libvirt

I see a lot of questions across SE about getting sound to work with KVM guests, whether using Spice or Pulseaudio. However, I would like the opposite. I would like no sound whatsoever to be passed ...
user avatar
2 votes
1 answer
801 views

Part of virtual machine's screen is not visible when resolution changes with SPICE

A virtual machine with Windows 10 as the guest's OS is set up using KVM/QEMU. Without SPICE, it worked perfectly fine but for clipboard sharing, I followed Arch Linux's Guide. But then it's super ...
user avatar
1 vote
1 answer
576 views

How to listen on same port, separate address using spice from libvirt?

Background info On the host I have a virtual bridge setup, and have two static IPs configured: 10.0.3.1/16 and 10.0.3.2/16. The host is Ubuntu 18.04 LTS, and is up-to-date at the time of this post. ...
user avatar
  • 113
1 vote
1 answer
797 views

How to align gpm mouse cursor with graphical mouse cursor in spice viewer (QEMU VM)?

I have a Linux console running in a virtual machine (QEMU/KVM). Inside the VM I use GPM in order to select and paste text with the mouse. However, when I enter the VM's spice virt-viewer window in my ...
user avatar
  • 7,487
0 votes
1 answer
219 views

Unable to locate package spice-vdagent in debian 9.9

There is another, self-answered, question with this title but there are several differences and the answers there did not work for me. My host is Debian 9, and so is my guest. I am not running a live-...
user avatar
2 votes
0 answers
170 views

Spice Server Codec problem

I compiled(make) spice server source with option '--enable-gstreamer=0.10.36'. But As a result of debugging, I've found that 'default_video_codecs' still shows 'spice: mjpeg'. I want to know what ...
user avatar
  • 31
1 vote
1 answer
682 views

Virt-viewer fullscreen with 2 monitors in dwm or i3

Is there a way to start virt-viewer -f domain in DWM or i3 so it automatically fills all (2 of) my monitors as it does in gnome? When I try now virt-viewer open both screens on 1 monitor on top of ...
user avatar
2 votes
1 answer
580 views

Unable to locate package spice-vdagent in debian

I am running a live debian as a guest OS in VMM. $ sudo apt install spice-vdagent ... E: unable to locate package spice-vdagent Do I need to add some repository first? The repository configuration ...
user avatar
  • 89.9k
2 votes
1 answer
6k views

16:9 aspect ratio on Windows KVM guest (specifically 1366x768)

I have a debian machine which I installed proxmox onto. I have been having trouble getting one of my guest machines (specifically a windows guest) to achieve a resolution of 1366x768. The solution in ...
user avatar
  • 151
4 votes
2 answers
2k views

prevent Qemu / Spice from grabbing keys that are bound elsewhere

My setup: Qemu with Spice display managed by libvirt running on Linux with X11. I’m looking for a way to preserve key bindings in the window manager and the X server when a Qemu client is focused. A ...
user avatar
  • 1,692
0 votes
1 answer
359 views

kvm Spice graphics error: failed to get_drawable

I'm running KVM on an Ubuntu server 16.04. I'm trying to change the resolution of a vm running a desktop environment. to do so I use virt-viewer from remote to connect to the vm: virt-viewer --...
user avatar
  • 151
1 vote
2 answers
4k views

Spice for graphic, pulseaudio for sound

When we use Spice in a virtual machine under KVM/qemu/libvirt, the QEMU_AUDIO_DRV is set to spice by default. My host (debian-Stretch) use a good sound card (Xonar DX) and a better sound driver (...
user avatar
  • 225
6 votes
1 answer
2k views

What is the difference between xspice and x11spice?

Recently I've been trying to enable spice in container using Docker for remote display, I've discovered two applicable resources to do so. First one is the xspice, if I should call it so, which ...
user avatar
  • 61
1 vote
1 answer
2k views

KVM Spice connection to hardware GPU

I have an asymmetric triple-head linux box. It's hosting a Windows 10 VM with GPU passthrough, which I'd like to also have triple-head soft display on the Linux host. Is there any way to use Spice ...
user avatar
  • 131
2 votes
1 answer
5k views

How to set arbitrary video mode in QEMU and QXL/Spice with Windows 7 guest?

I have a libvirt/KVM with QEMU running a Windows 7 guest using the Spice/QXL video emulator. How do I set a graphics mode not listed by default in the Windows screen resolution settings? For example,...
user avatar
  • 7,487
4 votes
1 answer
6k views

virt-manager copy and paste,is possible to disable it?

I use virtual machines with virt-manager and kvm-qemu. Simple question: on VirtualBox I can enable the addon for auto-resize of screen,and I like it. I also disable copy and paste because I want ...
user avatar
  • 11k
3 votes
1 answer
4k views

KVM - How to remove virtual video card, but keep the SPICE Server?

I am passing through a physical GPU to my virtual machine, and using the SPICE Server/Display Spice for sound. However, the virtual GPU (Cirrus/QXL/VGA/Virtio/VMVGA/Xen) is causing some sort of ...
user avatar
0 votes
1 answer
928 views

Guest-agent vs Spice agent

which is the difference between the guest agent qemu-ga-x64.msi and the spice agent = couple vdservice + vdagent for a windows guest ? are they exclusive ou complementary ?
user avatar
  • 225
1 vote
1 answer
2k views

How to let Qemu autoselect a listening port for Spice?

I'm switching some VMs from VNC display type to SPICE. VNC display type offers a very handy to= parameter allowing QEMU to automatically use the first free port from a defined range: -display vnc=...
user avatar
0 votes
1 answer
5k views

Configure KVM/QEMU with TLS?

New to virtualization and kvm and I have a problem when i try to create a virtual machine with spice: virt-install --name Windows-7-x64 --ram 2048 --disk path=~/kvm/images/win7.img,size=50 --vcpus=1 -...
user avatar
  • 3
1 vote
1 answer
677 views

How do I detach, then re-attach to a kvm spice session?

I have started a kvm session with typical qxl and spice options. The vm is running in the background via nohup. I then started the spice client on the same host, using it to log in to the vm's gnome ...
user avatar
1 vote
1 answer
2k views

can't get 16:9 ratio on kvm, only 16:10 or 4:3

I am running a Windows 7 KVM on CentOS 7. The Windows 7 guest resolutions are all 4:3 or 16:10 My monitor is 1920x1080, but KVM/Spice/Whatever is only offering me 1920x1200. I don't know what part ...
user avatar
  • 185
10 votes
4 answers
28k views

How to create KVM guest with SPICE graphics but TLS disabled using virt-install?

I am using virt-install (see below) to create a guest. All seems fine up to the point where it complains about auto-allocation of the SPICE TLS port. Here's what I am running and the full output: # ...
user avatar
  • 15.1k