RDP to Virtualbox

  • Hello,


    i got a problem connection to VMs via RDP. I already googled a lot for a solution, tried different network-configuraitons (nat, bridged, etc...) but i dont get a connection.


    In the little preview-window i can see the vm running, in the console-tab i only get a grey window...


    Thanks for your help!


    Greetings,
    Alexander

  • I have had issues with console RDP myself
    but with normal windows rdp client you do not need to use port, just put an IP in the address bar

    omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
    SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
    PSU: Silencer 760 Watt ATX Power Supply
    IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
    OS on 2×120 SSD in RAID-1 |
    DATA: 3x3T| 4x2T | 2x1T

  • thanks for your answer. when i use just the ip-address, i get connected to the remote-desktop of my omv-server (192.168.178.11 is its ip).


    rdp of the omv server runs on port 3389
    rdp port of vm with win10 is 9010
    rdp port of vm with ubuntu is 9200


    or is that the mistake?

  • or is that the mistake?


    it is, well not a mistake but misunderstanding.
    when you RDP you need to use the IP of the target VM not the host.
    if you are using the host IP it will try to RDP into host not VM.
    the port in VB is given for when you need to setup a clinent used for RDPing and the port is different from the standard defined for remote connect
    i.e. Standard port for RDP protocol is "3389" if you use windows RDP client or any other that complies with standard this is the port it will use. some client let you change the port if needed and this is where you would use the port. not user but you can use the IP:port notation in standard windows client but I am not 100% sure.


    in your case you simply using wrong IP on the client.


    now, I had some issue with VB built in console client as well. and the issue is security.
    if I remember how I fixed it last time I will let you know

    omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
    SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
    PSU: Silencer 760 Watt ATX Power Supply
    IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
    OS on 2×120 SSD in RAID-1 |
    DATA: 3x3T| 4x2T | 2x1T

  • if it is new I do not think you can RDP into it.
    you have to use the console in VB webpage to set all up.
    hold on a minute I will try to fire up the test setup I have to see if it works

    omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
    SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
    PSU: Silencer 760 Watt ATX Power Supply
    IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
    OS on 2×120 SSD in RAID-1 |
    DATA: 3x3T| 4x2T | 2x1T

  • as i remember setting up the win10 vm on a older serverbuild, i could connect via rdp to the server (server-ip) and with the specific port i could choose, if i want to get connected to the server itself oder to the virtual machine. i think this was the way i installed win10 on it...

  • ok, I just test the setup


    I could not connect using RDP, even though you are right for new VM you need the host IP and the port
    but it is only work with VNC.


    you need to setup remote display in VM settings/display tab.
    not 100% sure but you do need VNC password. I usually set it to the same user password as the server.


    than using VNC client you can get a nice console and setup VM


    does not work with RDP though.

    omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
    SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
    PSU: Silencer 760 Watt ATX Power Supply
    IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
    OS on 2×120 SSD in RAID-1 |
    DATA: 3x3T| 4x2T | 2x1T

  • thanks a lot for trying and helping. now i downloaded realvnc, too, and tried to connect to the vms and i worked.


    can you explain what the difference between the realvnc-client an the windows-rdp-client is?

  • Well I can not explain in details, but essentially they use different protocol and standards to establish connection. It is not about clients per see, it us about underlying technology.
    Rdp is predominately windows standard, in fact it was developed for Windows by Microsoft, and is rarely used in Linux, vnc is multiplatform and can be used on almost all OS.


    Sent from my SM-N910T using Tapatalk

    omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
    SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
    PSU: Silencer 760 Watt ATX Power Supply
    IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
    OS on 2×120 SSD in RAID-1 |
    DATA: 3x3T| 4x2T | 2x1T

  • Well, with OMV3 the virtualbox rdp server doesn't work anymore. It just wants to load VNC which doesn't work (either console nor with tightvnc).


    So: How can I set up a VM without having access to it?

  • Vnc works. I have tried several clients no issues. You need a third party client like tightvnc


    Sent from my SM-N910T using Tapatalk

    omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
    SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
    PSU: Silencer 760 Watt ATX Power Supply
    IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
    OS on 2×120 SSD in RAID-1 |
    DATA: 3x3T| 4x2T | 2x1T

  • Hello all,


    You can manually configure phpVirtualBox with NGINX or apache2
    On my OMV3 I've installed whole VBOX and phpVBOX by hand, using NGINX for phpVBOX.
    I didn't do it via plugin coz it needs backports kernel if I remember good.


    Please look here for www files:
    https://sourceforge.net/projects/phpvirtualbox/

    Debian 8.6 Jessie + OMV 3.0.latest Kernel: Linux 4.8.0-0.bpo.2-amd64
    Processor: Intel Core 2 Duo E8400@3GHz
    Memory: 4GB RAM
    OS-HDD: Samsung SSD 120 GB +LVM


    Full media and download center configured.


    BIG and special thanks for OMV-Extras team for great plug-ins (especially: TeamSpeak, VirtualBox, Sonarr, Radarr, and rest I use :))


    ------------------------------


    Wise guy don't know everything, he can search or ask!
    Don't ask me via PM!

    • Official Post

    I didn't do it via plugin coz it needs backports kernel if I remember good.

    It needs the backports repo but not the backports kernel. And the backports repo is enabled by default now. Although, I don't have any problems with the backports kernel and all of my systems use it.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.15 | compose 7.2.16 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    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 again,


    connecting with a vnc-client works well now for me. just got one problem left with the keybord-layout if i connect with a vnc-client. when i connect to the vm with putty, for example, it works fine.


    do you have a idea to fix it?


    thanks a lot!


    Alexander

  • I remember last time I installed Linux Mint in VB (OMV2), I had to install extra plugin from the Linux Mint in order for me to RDP it.
    So the the VB wouldn't work with the backport kernel for the time being?

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

  • I don't know what extra plugin you had to install from linux mint.
    are you talking about Linux RDP service for Mint?
    than it has nothing to do with OMV or VB, Linux dose not support RDP by default, even for VNC you need to install and start a service.

    omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
    SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
    PSU: Silencer 760 Watt ATX Power Supply
    IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
    OS on 2×120 SSD in RAID-1 |
    DATA: 3x3T| 4x2T | 2x1T

    • Official Post

    You can enable a Virtualbox rdp server that allows to connect to the guest just like you were setting in front of the machine. This rdp server is disabled by default but can be enabled with (run commands on the host as root):


    su - vbox -c 'VBoxManage modifyvm "VM name" --vrde on'


    The following command will list the VMs on the host:


    su - vbox -c 'VBoxManage list vms'



    Then you remote desktop to the host:port. Each VM will have a different port. Generally the ports start at 9000.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.15 | compose 7.2.16 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    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!

    Edited 2 times, last by ryecoaaron ().

Participate now!

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