OpenMediaVault-Plugin-Developers / openmediavault-virtualbox

virtualbox plugin for OpenMediaVault
13 stars 6 forks source link

remote desktop port #21

Closed lucserre closed 5 years ago

lucserre commented 5 years ago

When starting a second virtual machine, it assigns remote desktop (vnc) port that is already taken by other running machine. Both are set to use port range 9000-9100. First machine starts and gets port 9000 and it works, but then second machine also says 9000 when you start it, but it obviously doesn't connect. 9001 doesn't work either in this situation.

ryecoaaron commented 5 years ago

I just tried this on my OMV 4.x test machine and it is working just fine. What version of OMV are you using?

lucserre commented 5 years ago

I use version: 4.1.13-1 Here are screenshots of it happening. image image

ryecoaaron commented 5 years ago

Not sure why that is happening on your system but not mine. I just updated the phpvirtualbox package to 5.2-1 (from 5.2-0). Making that will fix it? Not much we can do with the plugin to fix this since this is a problem with phpvirtualbox and/or virtualbox itself. As a workaround, did you try using a static port instead of the port range? screenshot_2018-11-12_18-51-12 screenshot_2018-11-12_18-51-41

lucserre commented 5 years ago

Static port works, actually. Good point! Sorry - I didn't realize there was a distinction between phpvirtualbox and openmediavault-virtualbox. Did you just upgrade phpvirtualbox by command line itself (apt)? or through OMV?

ryecoaaron commented 5 years ago

Actually, there are four packages involved with OMV - virtualbox, phpvirtualbox, virtualbox-ext-pack-installer, and openmediavault-virtualbox

I create the packages for OMV for phpvirtualbox (I don't maintain phpvirtualbox code though). I noticed that 5.2-1 was out on their github repo. So, I created a new package for 5.2-1 and put it in the OMV repo. So, if you go to the Updates tab and click Check, it should show up for you to update your system.

lucserre commented 5 years ago

Thanks for the info. I'll check for update later again (it's not there yet). And thanks for being part of 'maintaining' this for everyone to use/enjoy. Cheers!