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.

[PLUGIN DEPRECATED] VM Manager (2015.02.24)

Featured Replies

Are we able to update via the Plugins page?  I just checked for updates and it says I am on the latest.

 

John

  • Replies 566
  • Views 138k
  • Created
  • Last Reply
  • Author

Are we able to update via the Plugins page?  I just checked for updates and it says I am on the latest.

 

John

Yeah now you can. I forgot to push the version tag.

  • Author

Are we able to update via the Plugins page?  I just checked for updates and it says I am on the latest.

 

John

Yeah now you can. I forgot to push the version tag.

  • Author

Still says up-to-date (2014-10-20).

Just got home and push it from here. Checked and shows up now.

Sorry, I tend to ignore reading the manuals...

Create vm tab it's working now but you may have to read the instructions. :)

 

got it  8) Thx!

Can't get the VNC button to work!

 

Strange, it worked in WebVirtMgr, but not in here.  I can't see my console of Windows in the browser that opens.

 

Please post your xml.  Are you trying GPU passthrough?  You can't do GPU passthrough and have VNC work at the same time.

No passthru, it's only a VM that is on my headless server in the basement.  I only use it for some Windows only stuff because i'm 100% mac for all my other Client.

 

The only message I see when I click on the VNC is :

 

Server disconnected, code 1006. (see attached image)

 

<domain type='kvm'>
  <name>windows_8.1</name>
  <uuid>cc411d70-4463-4db7-bf36-d364c0cdaa9d</uuid>
  <memory unit='KiB'>7812500</memory>
  <currentMemory unit='KiB'>7812500</currentMemory>
  <vcpu placement='static'>4</vcpu>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-q35-2.1'>hvm</type>
    <boot dev='cdrom'/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough'>
  </cpu>
  <clock offset='localtime'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/cache/VM/Win81/win81.iso'/>
      <target dev='sdc' bus='sata'/>
      <readonly/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/cache/VM/Win81/virtio-win-0.1-81.iso'/>
      <target dev='sdd' bus='sata'/>
      <readonly/>
      <address type='drive' controller='0' bus='0' target='0' unit='3'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/mnt/cache/VM/Win81/win81.qcow2'/>
      <target dev='vda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/>
    </disk>
    <controller type='sata' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'/>
    <controller type='pci' index='1' model='dmi-to-pci-bridge'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
    </controller>
    <controller type='pci' index='2' model='pci-bridge'>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/>
    </controller>
    <controller type='usb' index='0' model='none'/>
    <interface type='bridge'>
      <mac address='52:54:00:a7:b6:1b'/>
      <source bridge='br0'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
    </interface>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='cirrus' vram='9216' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>
    </memballoon>
  </devices>
</domain>

error.jpg.c9f6ba7607a02ae2eecd796621d89b93.jpg

I found that, again, it's because the connection goes to the "HOSTNAME" instead of the "hostname.local" or the "IP address".  On a Mac, going to hostname only doesn't work.

 

It should have an option in the config page that we can check "append .local at the hostname (for Mac)" and that will solve that issue.

 

Thanks !

  • Author

I found that, again, it's because the connection goes to the "HOSTNAME" instead of the "hostname.local" or the "IP address".  On a Mac, going to hostname only doesn't work.

 

It should have an option in the config page that we can check "append .local at the hostname (for Mac)" and that will solve that issue.

 

Thanks !

This is a problem with Bonjour/ZeroConf.  If I fix it like you want it will break for those with both mac and pc.  Other options I have tried break it also. The hostname lookup is done server side(unraid).

You could set up a dns though your router.

or add all the hosts you want to talk to in your /etc/host file(s) on all your machines. 

or have your DHCP server hand out a default search domain of 'local' (depending on your DHCP server)

or try adding .local to your unraid name even though it's not  correct to set a hostname with a .local suffix

other plugins works fine because they use IP address instead of hostname. 

 

I don't understand how a "optional" option to add .local would break it for everyone else?  If people don't need it, then they don't "check" it ?  On all Mac users, it's the way it works, the .local is to indicate it's local on the LAN, this is how Mac works on LAN.  This is not a "custom" setup on my LAN.  This is default on Mac OS X since at least 6 last OS X version.

  • Author

 

 

other plugins works fine because they use IP address instead of hostname. 

 

I don't understand how a "optional" option to add .local would break it for everyone else?  If people don't need it, then they don't "check" it ?  On all Mac users, it's the way it works, the .local is to indicate it's local on the LAN, this is how Mac works on LAN.  This is not a "custom" setup on my LAN.  This is default on Mac OS X since at least 6 last OS X version.

I understand it's default to osx and not custom on your lan.  IP messes up things for others including me. A mac option might not work for those that have mac and pc. If they enable a mac option then their pc might not connect. Did you add hostname and ip "UNRAID XXX.XXX.XXX.XXX" to your /etc/host file on your mac?There are alot of threads on how to fix this for your mac.  Have you tried any of them that I suggested?

i'm using these great plugins to try to get a new VM installed and running (windows 7).

 

I've ran into several roadblocks so far, but kept trying and changing things, and kept making progress.  I've gotten as far as getting the VM shown in VNC, and can start the install.  However, it's not showing me any hard drive to install to.  I've created the windows7.img file, and think i have it in the XML properly, but it's not showing for install.

 

my XML is here...

 

<domain type='kvm'>
  <name>windows7</name>
  <uuid>7a7e63e4-38b5-4e73-992a-1c90eb64f4b9</uuid>
  <memory unit='KiB'>3906250</memory>
  <currentMemory unit='KiB'>3906250</currentMemory>
  <memoryBacking>
    <nosharepages/>
    <locked/>
  </memoryBacking>
  <vcpu placement='static'>2</vcpu>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-q35-2.1'>hvm</type>
    <boot dev='cdrom'/>
    <bootmenu enable='yes'/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough'>
    <topology sockets='1' cores='2' threads='1'/>
  </cpu>
  <clock offset='localtime'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/mnt/cache/VM/windows7.img'/>
      <target dev='vdc' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/backup/Programs/WindowsISOs/Windows7-Custom.iso'/>
      <target dev='hda' bus='sata'/>
      <readonly/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x2'/>
    </controller>
    <controller type='sata' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'/>
    <controller type='pci' index='1' model='dmi-to-pci-bridge'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
    </controller>
    <controller type='pci' index='2' model='pci-bridge'>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='00:16:3e:c7:c7:c7'/>
      <source bridge='br0'/>
      <model type='rtl8139'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/>
    </interface>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='cirrus' vram='9216' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x04' function='0x0'/>
    </memballoon>
  </devices>
  <seclabel type='none' model='none'/>
</domain>

 

Where am I going wrong?

thanks.  I thought about that just after I posted (and found the syntax in another xml example), and downloaded them, and added them to the XML and just tried again.  it seems windows is now installing.

 

the drivers showed 2 different drivers, one was a redhat something, and the other was a something balloon driver.

 

I picked the redhat one, and that seems to have worked, then hard drive showed up and let me install to it.

 

thanks again!

 

For anyone following along (or looking here sometime in the future, including me), here's the updated XML...

 

<domain type='kvm' id='3'>
  <name>windows7</name>
  <uuid>7a7e63e4-38b5-4e73-992a-1c90eb64f4b9</uuid>
  <memory unit='KiB'>3906560</memory>
  <currentMemory unit='KiB'>3906250</currentMemory>
  <memoryBacking>
    <nosharepages/>
    <locked/>
  </memoryBacking>
  <vcpu placement='static'>2</vcpu>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-q35-2.1'>hvm</type>
    <boot dev='cdrom'/>
    <bootmenu enable='yes'/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough'>
    <topology sockets='1' cores='2' threads='1'/>
  </cpu>
  <clock offset='localtime'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/mnt/cache/VM/windows7.img'/>
      <backingStore/>
      <target dev='vdc' bus='virtio'/>
      <alias name='virtio-disk2'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/backup/Programs/WindowsISOs/virtio-win-0.1-81.iso'/>
      <backingStore/>
      <target dev='hdd' bus='usb'/>
      <readonly/>
      <alias name='usb-disk3'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/backup/Programs/WindowsISOs/Windows7-Custom.iso'/>
      <backingStore/>
      <target dev='hda' bus='sata'/>
      <readonly/>
      <alias name='sata0-0-0'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <alias name='usb0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <alias name='usb0'/>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <alias name='usb0'/>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <alias name='usb0'/>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x2'/>
    </controller>
    <controller type='sata' index='0'>
      <alias name='sata0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'>
      <alias name='pcie.0'/>
    </controller>
    <controller type='pci' index='1' model='dmi-to-pci-bridge'>
      <alias name='pci.1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
    </controller>
    <controller type='pci' index='2' model='pci-bridge'>
      <alias name='pci.2'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='00:16:3e:c7:c7:c7'/>
      <source bridge='br0'/>
      <target dev='vnet0'/>
      <model type='rtl8139'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/>
    </interface>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='5900' autoport='yes' websocket='5700' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='cirrus' vram='9216' heads='1'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x04' function='0x0'/>
    </memballoon>
  </devices>
  <seclabel type='none' model='none'/>
</domain>

damn.  the VNC session got disconnected while I was typing the above.

 

trying to connect again gives a windows that says it's connecting...

 

but doesn't connect.

 

I'm not sure if windows is still installing in the background, or if I should kill it and start over.

I cannot connect via VNC to my windows VM either. I was originally thinking it was just because I was passing through my graphics card but maybe VM Manager acts differently with windows vs linux?

On a similar note I also cannot connect to my Windows VM via virt-manager VNC either; however, when webvirtmgr was installed  I believe I could...

trying to connect again gives a windows that says it's connecting...

 

but doesn't connect.

 

I cannot connect via VNC to my windows VM either. I was originally thinking it was just because I was passing through my graphics card but maybe VM Manager acts differently with windows vs linux?

 

In my case, it's because my server died, AGAIN! :(  >:(

 

My understanding is that you cannot use VNC if you're doing GPU passthru, that they are mutually exclusive.

 

I've not gotten that far yet though, :(

 

 

My understanding is that you cannot use VNC if you're doing GPU passthru, that they are mutually exclusive.

 

That's what I originally thought but I swear I could see VNC into windows when I was logged into my ubuntu VM with virt-manager installed. Now it just gives me a gray screen...

I've managed to get Windows7 installed and can access it via VNC,

I haven't tried passthrough yet. One step at a time  :)

 

My VM has no internet access though, I have no Virtual Network created and everytime I try to make a new one I get

"The pool bridge name must not contain any special characters" message. How do I go about setting up a new network?

 

Here is my xml if its any use

 

<domain type='kvm' id='8'>
  <name>win7</name>
  <uuid>55888d70-8e14-4b0a-e720-aaa0d9484c75</uuid>
  <memory unit='KiB'>524288</memory>
  <currentMemory unit='KiB'>524288</currentMemory>
  <vcpu placement='static'>8</vcpu>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-i440fx-2.1'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='localtime'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='yes'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/mnt/cache/images/win7/win7qcow.img'/>
      <backingStore/>
      <target dev='hda' bus='ide'/>
      <alias name='ide0-0-0'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <controller type='usb' index='0'>
      <alias name='usb0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci.0'/>
    </controller>
    <controller type='ide' index='0'>
      <alias name='ide0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:e9:12:93'/>
      <source bridge='br0'/>
      <target dev='vnet0'/>
      <model type='virtio'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/0'/>
      <target port='0'/>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/0'>
      <source path='/dev/pts/0'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='5900' autoport='yes' websocket='5700' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='cirrus' vram='9216' heads='1'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </memballoon>
  </devices>
</domain>

  • Author

I've managed to get Windows7 installed and can access it via VNC,

I haven't tried passthrough yet. One step at a time  :)

 

My VM has no internet access though, I have no Virtual Network created and everytime I try to make a new one I get

"The pool bridge name must not contain any special characters" message. How do I go about setting up a new network?

 

The "no virtual network" is a little misleading.  It just means exactly what it says though. Virtual networks can't be started. I don't know if it's just a setting for libvirt or how libvirt was compiled.  I intend to add the bridge or other network info there.

 

You just need a bridge setup in unraid and in your xml (which it looks like you do). You might need to install the drivers for it in windows.

 

Archived

This topic is now archived and is closed to further replies.

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.