May 2, 20251 yr Community Expert 37 minutes ago, Fffrank said: Trying to get SPICE to work with copy/paste in Alpine linux and completely striking out. First in the VM config, it makes no difference if I choose enable Copy/Paste or not. It makes no changes to the XML file. This feels like a bug? I manually added this to the config: <channel type='qemu-vdagent'> <source> <clipboard copypaste='yes'/> <mouse mode='client'/> </source> <target type='virtio' name='com.redhat.spice.0'/> <address type='virtio-serial' controller='0' bus='0' port='2'/> </channel> I do have spice-vdagentd installed and it's running on boot. I'm assuming I should just be able to use ctrl-v inside of the host now? It doesn't do anything. What client are you using? XML should be modified when changes options, Which Unraid Version are you running. For spice you need to use virt-viewer, Web console does not support copy paste.
May 3, 20251 yr 18 hours ago, SimonF said: What client are you using? XML should be modified when changes options, Which Unraid Version are you running. For spice you need to use virt-viewer, Web console does not support copy paste. I'm using Unraid 7.0.1 -- didn't realize that this wouldn't work with the spice web console. I've now installed virt-manager and using virt-viewer it's still not pasting.
May 3, 20251 yr 2 minutes ago, Fffrank said: I'm using Unraid 7.0.1 -- didn't realize that this wouldn't work with the spice web console. I've now installed virt-manager and using virt-viewer it's still not pasting. I can't actually get the <source> <clipboard copypaste='yes'/> <mouse mode='client'/> </source> to stick. I add it to the XML editor in Unraid, hit apply and it refreshes and has disappeared. Same if I try to save it in virt-manager. It always reverts to this: <channel type='spicevmc'> <target type='virtio' name='com.redhat.spice.0'/> <address type='virtio-serial' controller='0' bus='0' port='2'/> </channel>
May 3, 20251 yr Community Expert 6 minutes ago, Fffrank said: I can't actually get the <source> <clipboard copypaste='yes'/> <mouse mode='client'/> </source> to stick. I add it to the XML editor in Unraid, hit apply and it refreshes and has disappeared. Same if I try to save it in virt-manager. It always reverts to this: <channel type='spicevmc'> <target type='virtio' name='com.redhat.spice.0'/> <address type='virtio-serial' controller='0' bus='0' port='2'/> </channel> Is guest Linux or windows?
May 3, 20251 yr Community Expert 3 hours ago, Fffrank said: I can't actually get the <source> <clipboard copypaste='yes'/> <mouse mode='client'/> </source> to stick. I add it to the XML editor in Unraid, hit apply and it refreshes and has disappeared. Same if I try to save it in virt-manager. It always reverts to this: <channel type='spicevmc'> <target type='virtio' name='com.redhat.spice.0'/> <address type='virtio-serial' controller='0' bus='0' port='2'/> </channel> This should be all that is needed for Spice. Tested on Windows works as expected. You need vdagent to be installed this is not the same as the guest agent. <channel type='spicevmc'> <target type='virtio' name='com.redhat.spice.0' state='connected'/> <alias name='channel1'/> <address type='virtio-serial' controller='0' bus='0' port='2'/> </channel> https://www.spice-space.org/download.html
May 5, 20251 yr On 5/3/2025 at 2:37 PM, SimonF said: This should be all that is needed for Spice. Tested on Windows works as expected. You need vdagent to be installed this is not the same as the guest agent. <channel type='spicevmc'> <target type='virtio' name='com.redhat.spice.0' state='connected'/> <alias name='channel1'/> <address type='virtio-serial' controller='0' bus='0' port='2'/> </channel> https://www.spice-space.org/download.html Hmmmm -- my guest is Alpine and I'm running Virt-Manager on Mint. Not working with that config.
May 5, 20251 yr Community Expert 5 minutes ago, Fffrank said: Hmmmm -- my guest is Alpine and I'm running Virt-Manager on Mint. Not working with that config. Is state connected when you look at the VM XML when the VM is running?
May 5, 20251 yr After more research it seems like Spice just doesn't work without X or Gnome. I'm running just a serial text console. Logging in via ssh allows copy/paste.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.