Questions tagged [spice]
SPICE provides fast remote desktop connections to guests of implementing hypervisors, e.g. QEMU and KVM.
38
questions
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,...
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 ...
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 ...
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 ...
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, ...
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 ...
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=&...
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 ...
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 ...
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 ...
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, ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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.
...
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 ...
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-...
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 ...
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 ...
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 ...
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 ...
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
...
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 --...
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 (...
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 ...
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 ...
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,...
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
...
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 ...
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 ?
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=...
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 -...
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 ...
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 ...
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:
# ...