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.

Any use WebVirtMgr with KVM ??

Featured Replies

 

 

 

Yes, virt-manager has a VNC connection added. My only thoughts are maybe I have to edit/uncomment more things out of libvirtd.conf? I shouldn't have to install a VNC viewer on my ubuntu vm correct?

 

The only thing you should have uncommented in libvirt.conf is tcp listen. You created a sasl2passwd user and password so virt-manager asks for a username and password to view unraid vm's? Virt-manager has a built in vnc viewer. What ip address and port are in your vm xml file.

 

correct tcp listen is uncommented. I also created an sal2passwd user and virt-manager requires me to enter that password to login. I used virt-manager to create the VM, virt-manager used 127.0.0.1 and 5900.

  • Replies 120
  • Views 31.7k
  • Created
  • Last Reply

 

 

 

Yes, virt-manager has a VNC connection added. My only thoughts are maybe I have to edit/uncomment more things out of libvirtd.conf? I shouldn't have to install a VNC viewer on my ubuntu vm correct?

 

The only thing you should have uncommented in libvirt.conf is tcp listen. You created a sasl2passwd user and password so virt-manager asks for a username and password to view unraid vm's? Virt-manager has a built in vnc viewer. What ip address and port are in your vm xml file.

 

correct tcp listen is uncommented. I also created an sal2passwd user and virt-manager requires me to enter that password to login. I used virt-manager to create the VM, virt-manager used 127.0.0.1 and 5900.

Maybe try a different vnc viewer from another computer.

Thanks no more 1006 error but it times out. I'm not home so I'm probably not forwarding the right ports.  Do I need to do anything in the vm differently?

 

Forward whatever the websocket ports are for your domains.  Your browser is making a direct websocket connection to the domain via novnc (it's all client side).

Thanks no more 1006 error but it times out. I'm not home so I'm probably not forwarding the right ports.  Do I need to do anything in the vm differently?

 

Forward whatever the websocket ports are for your domains.  Your browser is making a direct websocket connection to the domain via novnc (it's all client side).

Thanks I'm not sure what the default port is but just specified a port and got it working. Thanks for your help.  So you know also if it's a limitation of webvirtmgr that only virtual networks are available when creating a vm? In virt-manager all networks are available.

What's the reason for restarting libvirtd within the plugin?

 

https://github.com/dmacias72/webvirtmgr_unRAID_6/blob/master/webvirtmgr.plg#L1033-L1035

It's only on install but I had to downgrade libvirt to 1.2.6 to get network functionality within virt-manager or webvirtmgr. Otherwise you would see an error that it wasn't supported.  I opened up a thread in the defect forum hoping they will include network support in their version.

 

Edit: I don't really like the idea of restarting it cause when I added your repo the other night i forgot and was watching tv and it rebooted my mythbuntu vm.

 

I think maybe I should make a separate libvirt plugin to install 1.2.6, include the scripts to symlink libvirt and start and stop with the array and enable tcp listen.

I got the virt-manager vnc working. I had to remove the default settings for the vnc and change it to "listen to all public network interfaces". On a side note, I upgraded to b8 and the WebVirtMgr plugin will not start. Have you guys tried upgrading yet?

Thanks! Let me know, I may just have to delete the stuff and reinstall.

It's working for me.  I installed it after boot but its working. 

What's the reason for restarting libvirtd within the plugin?

 

https://github.com/dmacias72/webvirtmgr_unRAID_6/blob/master/webvirtmgr.plg#L1033-L1035

It's only on install but I had to downgrade libvirt to 1.2.6 to get network functionality within virt-manager or webvirtmgr. Otherwise you would see an error that it wasn't supported.  I opened up a thread in the defect forum hoping they will include network support in their version.

 

Edit: I don't really like the idea of restarting it cause when I added your repo the other night i forgot and was watching tv and it rebooted my mythbuntu vm.

 

I think maybe I should make a separate libvirt plugin to install 1.2.6, include the scripts to symlink libvirt and start and stop with the array and enable tcp listen.

I posted some scripts in a separate thread a few days ago to manage Libvirt. I agree with having the this all part of a separate package. My scripts are intended to bring all domains up once the array is online and bring them down gracefully prior to stopping the array. While writing them, I discovered the slackware Libvirt scripts always stop all instances when Libvirt is stopped, which is a terrible assumption. I ended up killing libvirtd directly and removing the pid file in my script.

@dmacias

 

The files you got from me looks to works great with webvirtmanager.

 

libvirt-1.2.8-x86_64-1_SBo.tgz
libvirt-python-1.2.8-x86_64-1_SBo.tgz

@dmacias

 

The files you got from me looks to works great with webvirtmanager.

 

libvirt-1.2.8-x86_64-1_SBo.tgz
libvirt-python-1.2.8-x86_64-1_SBo.tgz

I'll add them in to the plugin now.  I still wanna move the libvirt package to its own plugin.

This is login for webvirtmgr? You might remove the connection from webvirtmgr and recreate it using tcp and the peter_sm/yourpassword

Sorry I just confused myself.  The username/password for webvirtmgr login is created with manage.py createsuperuser and the tcp connection username/password is created with saslpasswd2  which is for any kvm management program to access libvirt via tcp

 

So once you login to webvirtmgr, you create a tcp connection to unraid using the saslpasswd2 username/password.

Same goes for virt-manager

 

Could you explain what this means? I can connect with my username and password to virt-manager but webvirtmanager does not accept the same username and password. To setup the webvirtmanager do I type "manage.py createsuperuser USERNAME"?

Yes you need to create a username and password to access webvirtmgr. When you type in that command you just put in the name you want to use like admin and it will ask for an email and password. If webvirtmgr is on your cache drive you would type in

/mnt/cache/manage.py createsuperuser

 

Also I need to update the repo back to

https://github.com/retspen/webvirtmgr

It looks like he updated it.

 

Edit: you might type manage.py createsuper --help for the correct command line parameters. I know you can enter email and username in the command line then all you have to do is enter a password.

  • Author

reading all that now, i'm lost !! :o

 

Is there a PLG or a Docker of that WebVirtMgr to manage VMs of KVM ?

reading all that now, i'm lost !! :o

 

Is there a PLG or a Docker of that WebVirtMgr to manage VMs of KVM ?

There's a plugin webvirtmgr. As of now it includes an updated libvirt package so when you install it your vm's are restarted. My plan was to make a separate libvirt plugin also and the post separate plugins for each.

 

Guys, this is awesome work.  I am geeking out over this right now.  I just installed it as I've been caught up in the haze of other stuff.  Got the login stuff figured out and I'm just starting to toy around with some of the more comprehensive stuff.

Guys, this is awesome work.  I am geeking out over this right now.  I just installed it as I've been caught up in the haze of other stuff.  Got the login stuff figured out and I'm just starting to toy around with some of the more comprehensive stuff.

Thanks. Any chance of including a similar build of libvirt like peter_sm built so network management is available?  Also it would be cool to include libvirt-php so you could include a webpage like docker has.

http://libvirt.org/php/

 

So you could do something like this

 

https://github.com/xpmozong/libvirt-php-examples

 

There's also this

https://minovotn.fedorapeople.org/php-virt-control/

  • Author

This is the error I receive when I try to install on Unraid 6b8.  See attached log.

 

I don't know if it help, but my WebUI is on port 90 instead of port 80 (because of PlexConnect docker).

Log_error.txt

Guys, this is awesome work.  I am geeking out over this right now.  I just installed it as I've been caught up in the haze of other stuff.  Got the login stuff figured out and I'm just starting to toy around with some of the more comprehensive stuff.

Thanks. Any chance of including a similar build of libvirt like peter_sm built so network management is available?  Also it would be cool to include libvirt-php so you could include a webpage like docker has.

http://libvirt.org/php/

 

So you could do something like this

 

https://github.com/xpmozong/libvirt-php-examples

 

There's also this

https://minovotn.fedorapeople.org/php-virt-control/

Eric and I talked about this around 2am this morning. We are looking into this.

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.