I have recently set up virtualbox on my dedicated server which runs Ubuntu Server 18.04. I have also set up phpvirtualbox and with it I can view, create and manage my VMs.
Unfortunately, despite my best efforts, I have been unable to connect to a VM using RDP. When I attempt to do so I receive the following unhelpful message which suggests my client can't see the server:
Make sure that the remote computer is turned on and connected to the network and that remote access is enabled.
Additionally, if I try to use the console within phpvirtualbox, I get the following complaint:
I have googled this complaint and found many people in a similar situation. However, I have not found anything that helps me move forward.
I did wonder if port 9000 (which is the port that my VM is se to use for the display) needs to be allowed at my server end. I have set the firewall to allow this port but unfortunatley this has not resulted in a working setup either.
My phpvirtualbox config is pasted below.
Can an experienced phpvirtualbox user with server admin experience help me out by providing some diagnosis tips? This would be much appreciated.
<?php/** * phpVirtualBox example configuration. * @version $Id: config.php-example 585 2015-04-04 11:39:31Z imoore76 $ * * rename to config.php and edit as needed. * */classphpVBoxConfig {
/* Username / Password for system user that runs VirtualBox */var $username='*****';var $password='*****';/* SOAP URL of vboxwebsrv (not phpVirtualBox's URL) */var $location='http://127.0.0.1:18083/';/* Default language. See languages folder for more language options. * Can also be changed in File -> Preferences -> Language in * phpVirtualBox. */var $language='en';/* Set the standard VRDE Port Number / Range, e.g. 1010-1020 or 1027 */var $vrdeports='9000-9100';/* Set the default VRDE address, e.g. 192.168.1.1 */
#var $vrdeaddress='192.168.0.40';
#var $vrdeaddress='0.0.0.0';/* * * Not-so-common options / tweaking * *///Multipleserversexampleconfig. Uncomment(remove/* and */)touse.
//AddALLtheserversyouwanttouse. Evenifyouhavetheserverset//above. Thedefaultserverwillbethefirstoneinthelist.
/*var $servers = array( array( 'name' => 'London', 'username' => 'user', 'password' => 'pass', 'location' => 'http://192.168.1.1:18083/', 'authMaster' => true // Use this server for authentication ), array( 'name' => 'New York', 'username' => 'user2', 'password' => 'pass2', 'location' => 'http://192.168.1.2:18083/' ),);*///Disableauthentication
#var $noAuth=true;//Host/iptouseforconsoleconnectionsvar$consoleHost='192.168.0.40';//Disable"preview"box
#var $noPreview=true;//Defaultpreviewboxupdateintervalinseconds
#var $previewUpdateInterval=30;//Previewboxpixelwidth
#var $previewWidth=180;//Maxnumberofprogressoperationstokeepinlistvar $maxProgressList=5;//Changedefaultpreviewaspectratioto1.
//http://www.wikipedia.org/wiki/Aspect_ratio_%28image%29#Previous_and_presently_used_aspect_ratios
#var $previewAspectRatio=1.6;//EnablecustomVMicons
#var$enableCustomIcons=true;
Last edit: Brian J Hoskins 2020-10-25
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello all.
I have recently set up virtualbox on my dedicated server which runs Ubuntu Server 18.04. I have also set up phpvirtualbox and with it I can view, create and manage my VMs.
Unfortunately, despite my best efforts, I have been unable to connect to a VM using RDP. When I attempt to do so I receive the following unhelpful message which suggests my client can't see the server:
Additionally, if I try to use the console within phpvirtualbox, I get the following complaint:
I have googled this complaint and found many people in a similar situation. However, I have not found anything that helps me move forward.
I did wonder if port 9000 (which is the port that my VM is se to use for the display) needs to be allowed at my server end. I have set the firewall to allow this port but unfortunatley this has not resulted in a working setup either.
My phpvirtualbox config is pasted below.
Can an experienced phpvirtualbox user with server admin experience help me out by providing some diagnosis tips? This would be much appreciated.
Last edit: Brian J Hoskins 2020-10-25