![]() ![]() It is important to perform step 2 of this article with the VBoxVmService stopped. However, guest settings cannot permanently edited when the VBoxVmService is running (described here). You have to make sure that the guest settings have VRDE enabled regardless of the settings you specify in the VBoxVmService.ini.For the corresponding VM block, add the lines Vrde=on and VrdePort=3390. You can specify VRDE options in the VBoxVmService.ini (this INI is in the VBoxVmService installation path).If you are running the VM as a service via VBoxVmService:.This inserts a virtual CD ROM containing the Guest Additions installer. This can be done by running the VM in the GUI and choosing Devices > Install Guest Additions from the menu. ![]() ![]() Make sure the VirtualBox Guest Additions are installed on the VM.Given a example host system with IP 192.168.1.40 and a guest with VRDE port 3390, you would have to connect to 192.168.1.40:3390. When you are trying to connect remotely, make sure you are using the correct IP and port.On a Windows host you can do this by opening the console (cmd.exe) and typing netstat -ano. Make sure VBoxManage or VBoxHeadless are listening on the chosen VRDE port on the host system when the VM is running.Depending on how you run the VM, open the port for incoming connections to the VBoxManage and/or VBoxHeadless executable. The VRDE ports must not be blocked by a firewall on the host system.Especially omit port 3389 on a Windows Pro system as the integrated RDP server is already listening on this port. Make sure you don’t specify already used ports. If you are running multiple VMs, use a separate port for each VM. Choose an appropriate VRDE port for the VM.If not, you can change the VM settings via vboxmanage modifyvm “MyVMName” –vrde on and vboxmanage modifyvm “MyVMName” –vrdeport 3390. There should be an entry VRDE: enabled (Address: 0.0.0.0, Ports 3390, …). Console: Type vboxmanage list vms and then vboxmanage showvminfo “MyVMName” (replace MyVMName accordingly).Check “Enable server” and choose an appropriate port, e.g. VirtualBox GUI: Select the VM, click Change > Display > Remote Display.There are two ways of changing the VM’s VRDE settings: If you are running VBoxVMService, make sure that the VBoxVMService is stopped when making changes to a VM (see last step). VRDE should be activated for the guest.This is a separate download on the VirtualBox download site. The matching version of the VirtualBox Extension Pack should be installed on the host system.Hint: If you are running VirtualBox VMs via VBoxVmService, read step 8 first. These steps are verified with VirtualBox 5.1 and a Windows 10 Pro VM, but should work with other VirtualBox and/or guest OS versions as well. Given a working VirtualBox installation and virtual machine, you should check the following steps to make sure VRDE is working properly. This article should help you troubleshooting non-working VRDE connections. the RDP server integrated in Windows Pro versions) or connecting on machine level via VirtualBox VRDE, which is compatible to Microsoft RDP. Running a virtual machine in VirtualBox, you have two options accessing it via a remote desktop protocol (RDP) connection: running a RDP server on the virtual machine itself (e.g. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |