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
65 views

Is it possible to run a Linux VM at 1440p with virt-manager?

I would like to run my Linux VM on virt-manager at 2560x1440 and not 2560x1080 (closest supported resolution in the VM with virtio without 3D Acceleration and OpenGL). I tried enabling 3D acceleration,...
Sir Muffington's user avatar
0 votes
1 answer
883 views

Can not drag-drop or copy-paste files between guest and host

The documentation says: Installing the Spice vdagent in your guest will let you copy and paste between your guest and client OSes, to drag and drop files between the 2 OSes, … In order for the agent ...
Ahmad Ismail's user avatar
  • 2,570
0 votes
1 answer
913 views

How to restore 4K resolution that disappeared after Spice Guest Tools install Qemu KVM

I am running a Arch Linux 6.0.9 as a host for a Windows 11 virtual machine. When I first installed the VM I had the option in Windows for 3840x2160 4k resolution with the default windows driver (I ...
Orcam's user avatar
  • 63
1 vote
1 answer
1k views

Spice support disabled in qemu

I'm pretty knew to virtualization and linux in general and I'm having issues getting spice to work with qemu. I'm trying to install a windows 10 machine using virt-manager on Arch, and the ...
Literal Garbage's user avatar
0 votes
0 answers
232 views

copy/paste works with text but not with files

I'm using Qemu to have a Windows virtual machine (which is integrated to an active-directory domain). I want to copy/paste a file from my host (archlinux) to my guest (Windows 10 Business). For that, ...
sebastien dontneedtoknowthat's user avatar
0 votes
0 answers
81 views

Securely Forward Service on Private Network to Client on Another Private Network

I have two computers on private networks and a VPS, all running Linux. I would like to be able to make a secure tunnel between the two computers so that one can securely access services hosted by the ...
Graham H's user avatar
3 votes
2 answers
6k views

Redirect USB device in KVM while guest is running

I have two USB Redirector devices in my KVM, created using virt-manager: <redirdev bus="usb" type="spicevmc"> <alias name="redir0"/> <address type=&...
MarcinJ's user avatar
  • 181
0 votes
2 answers
2k views

Cannot start KVM machine on arch after update

I'm having trouble with a VM I was using yesterday. After using, I closed the guest and updated my host machine (arch linux). Today I turned on the host and tried to turn on my guest and this message ...
his dudeness's user avatar
5 votes
0 answers
2k 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 ...
cyqsimon's user avatar
  • 695
3 votes
0 answers
1k 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 ...
john01dav's user avatar
  • 243
2 votes
2 answers
7k 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, ...
Duh Huh's user avatar
  • 49
0 votes
1 answer
3k 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 ...
71GA's user avatar
  • 1,116
1 vote
1 answer
520 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 ...
Alita's user avatar
  • 111
3 votes
0 answers
2k 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 ...
asoundmove's user avatar
  • 2,475
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 ...
brett's user avatar
  • 111
1 vote
1 answer
2k 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 ...
multithr3at3d's user avatar
2 votes
1 answer
1k 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 ...
Daanturo's user avatar
1 vote
1 answer
1k 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. ...
Michael's user avatar
  • 113
1 vote
1 answer
2k 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 ...
Ned64's user avatar
  • 8,596
0 votes
1 answer
408 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-...
MickeyfAgain_BeforeExitOfSO's user avatar
2 votes
0 answers
230 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 ...
S KH's user avatar
  • 31
1 vote
1 answer
986 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 ...
Mathias Egekvist's user avatar
2 votes
1 answer
2k 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 ...
Tim's user avatar
  • 100k
2 votes
1 answer
8k 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 ...
ktb92677's user avatar
  • 161
5 votes
2 answers
3k 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 ...
phg's user avatar
  • 1,792
0 votes
1 answer
470 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 --...
kokito's user avatar
  • 151
1 vote
2 answers
5k 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 (...
Bertaud's user avatar
  • 245
6 votes
1 answer
3k 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 ...
Freegle's 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 ...
Autumn's user avatar
  • 131
3 votes
1 answer
8k 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,...
Ned64's user avatar
  • 8,596
5 votes
1 answer
8k 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 ...
elbarna's user avatar
  • 12.4k
3 votes
1 answer
6k 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 ...
anonymous's user avatar
1 vote
1 answer
1k 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 ?
Bertaud's user avatar
  • 245
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=...
WhiteWinterWolf's 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 -...
Mario's user avatar
  • 3
1 vote
1 answer
825 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 ...
Ken Wood's 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 ...
xdfil's user avatar
  • 205
12 votes
4 answers
32k 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: # ...
0xC0000022L's user avatar
  • 16.4k