Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SPICE Support + Config

Featured Replies

  • 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.

  • Replies 57
  • Views 24.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Is it possible to get 4k resolution using Spice? (3840x2160)   Edit- yes!! Edit the XML of your VM and change the video section for your virtual display device. Change vgamem from 16384

  • Thanks for the info, will look to see if we can set to 65536 as a default.

  • Ok I think I have found the way to get the mouse to work. I had to change the following in XML, not sure why client mode doesn't work. Downside is that you may need to do SHIFT-F12 to release the mous

Posted Images

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.

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>

 

  • 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?

  • 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

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.

  • 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?

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.