New openmediavault-kvm plugin

    • Official Post

    are you running xrdp on VMs using KVM?

    Yep. I have an Ubuntu 22.04 VM that I use xrdp on every day. I also have a Windows 10 Pro VM that I use every once in a while. I'm using a bridge on them but pretty sure I used to use NAT and was able to connect from a machine other than the host.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Yep. I have an Ubuntu 22.04 VM that I use xrdp on every day. I also have a Windows 10 Pro VM that I use every once in a while. I'm using a bridge on them but pretty sure I used to use NAT and was able to connect from a machine other than the host.

    Did you have to do anything special on the host or in the KVM setup for the VM? This is driving me crazy.

    • Official Post

    Nope. Can you telnet from another machine to port 3389? Here is the VM xml:


    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Can you telnet from another machine to port 3389?

    No, I get "connect failed" when I try to telnet to 3389 on my host. And other than your bridge interface, I don't see any significant differences in our configs. I don't have any firewall rules on my host, so I don't know what would be blocking 3389.


    Edit: Definitely something weird going on. I can't ping my Windows PC from the Debian VM either. It's like NAT isn't working at all.

    • Official Post

    No, I get "connect failed" when I try to telnet to 3389 on my host.

    Don't use your host. use another system.

    I can't ping my Windows PC from the Debian VM either. It's like NAT isn't working at all.

    I would expect that since your Debian VM is on the wrong side of the NAT to see your Windows PC. You really should convert to a bridge. There are instructions on how to do that in the kvm guide.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    Spice works fine

    When you use spice, you only need to connect to the host. The spice service is connecting directly to the spice component of the VM without involving networking.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • When you use spice, you only need to connect to the host. The spice service is connecting directly to the spice component of the VM without involving networking.

    Just to be clear, for xrdp, I should be connecting to the IP of the host, correct? So let's say the host is 192.168.1.10 and the VM is 192.168.122.100. I'm connecting to 192.168.1.10:3389, right? Neither one works for me. Obviously, the host is accessible on my LAN because it's my NAS, and my Windows PC is on the same subnet (192.168.1.9). I feel like I'm just missing something really obvious.

    • Official Post

    Just to be clear, for xrdp, I should be connecting to the IP of the host, correct? So let's say the host is 192.168.1.10 and the VM is 192.168.122.100. I'm connecting to 192.168.1.10:3389, right? Neither one works for me. Obviously, the host is accessible on my LAN because it's my NAS, and my Windows PC is on the same subnet (192.168.1.9). I feel like I'm just missing something really obvious.

    if xrdp is running on the guest, you should be connecting to the guest's IP address UNLESS you are using NAT. You should only use the host's ip when connecting to spice or vnc adapters for the VM or if you have some kind of port forwarding enabled to allow the outside world to talk to the VM inside the NAT. You really should switch to a bridge. Then the guest would be on the same network as all of your other machines.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Hello,


    I have a mini PC that is running proxmox, inside the proxmox i have a VM running OMV with KVM plugin, i followed this instructions and every thing seens fine, but when i tryed to start my VM (Home Assistant qcow2 image) the VM don't start and the follow error appear:




    Anyone can help? i don't found solutions on internet =/

  • Hi, just trying to build up a new OMV6 NAS with KVM and I am struggling already around about 2 days to build up a KVM VM with bridged network.
    Sorry if the same issue pops up here many times before, but I didn't got the clue here to fix my problem here (as a not so experienced Linux User). I tried different variants already.

    I configured my system as described here:

    [How-To] Use the Openmediavault-KVM plugin - Guides - openmediavault


    The situation is that I can access the Host via br0, but the guest OS only sees its own loopback Adapter - therefore it cannot get its ip via DHCP and I cannot access it via network.


    Network Settings:


    Network Bound to KVM:


    Docker is disabled


    Version

    6.1.1-1 (Shaitan)

    Processor
    Intel(R) Xeon(R) CPU E31260L @ 2.40GHz

    Kernel
    Linux 5.16.0-0.bpo.4-amd64

    HW: HP Microserver Gen8




    Has anyone an idea how to proceed or what to check further?

    • Official Post

    Your OMV config looks fine. What OS is the guest?


    You really should update your system. The 5.16 backports kernel is very old.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • The kernel came with a fresh OMV6 installation. Neither the Web-Gui, nor apt-get is offering me something newer ...

    Sorry, I'm not the linux expert. How could I upgrade the system? Usually I used the GUI with OMV.


    The Guest OS is MLD (I think Debian based?) I used already for years under OM4 Virtual Box with a Bridged Network

    MiniDVBLinux Distribution


    My intention was to Upgrade the old System (OMV4, still running smoothly) with hard disk replacements (the old were running 24h 6 years now) by new ones (old ones available as backup).

    So I tried a new clean installation with new disks (building up the same configuration), just using KVM instead of VirtualBox.

    HP Gen8 Microserver | Xeon E31260L | 64 bit | omv 6.1.1-1 Shaitan | omvextrasorg 6.1.1 | kvm 6.2.6

    • Official Post

    How could I upgrade the system

    Sounds like you installed without a internet connection and your repos are incomplete. What is the output of: sudo apt-get update

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Like I tried to state above, looks ok for me:

    Internet connection should be available:

    HP Gen8 Microserver | Xeon E31260L | 64 bit | omv 6.1.1-1 Shaitan | omvextrasorg 6.1.1 | kvm 6.2.6

  • Seems that I forgot the reboot after ugrading ....

    After reboot I have:

    Code
    uname -srm
    Linux 6.0.0-0.deb11.2-amd64 x86_64


    Edit:

    Building up a new VM Machine now with the same settings as described above:
    Now I cannot start: Error Message:

    HP Gen8 Microserver | Xeon E31260L | 64 bit | omv 6.1.1-1 Shaitan | omvextrasorg 6.1.1 | kvm 6.2.6

    Edited 2 times, last by RaHe67: Further information, typo ().

    • Official Post

    Like I tried to state above, looks ok for me:

    Sorry, you are incorrect. You did install without an internet connection as I stated above. You only have the security repo because omv adds it. Run this to fix:


    echo "deb http://deb.debian.org/debian/ bullseye main contrib non-free" | sudo tee /etc/apt/sources.list

    echo "deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free" | sudo tee -a /etc/apt/sources.list

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!