RDP on multiple server config
A web-based front-end to VirtualBox written in PHP
Brought to you by:
imoore76
On multiple server configuration, there is a problem with RDP :
- phpVirtualBox is installed on server 'A'
- connect to server 'B' with link on top line 'Hosting'
- select a VM and look at 'Remote Desktop Server Port'
==> the link point to server 'A' not 'B'
so when you try to connect, it doesn't work
Hello,
I'm not seeing this issue. When I switch servers the link updates. What version of phpvirtualbox are you using?
I'm using phpVirtualBox 4.3-1 with VirtualBox 4.3.20 on Ubuntu 14.04 LTS.
When I was connected on server 'A', I have http://'A'/phpvirtualbox/ in WebBrowser URL.
I click on first line VirtualBox('A') and choose 'B'.
So I have VirtualBox('B') on first line and http://'A'/phpvirtualbox/ on URL ==> this is normal.
The VM list is good (server 'B').
But the RDP links are http://'A'/phpvirtualbox/rdp.php?host='A'&port=xxx&id=xxx&vm=xxx.
==> The port, the id, the vm are ok, but not the host (it may be 'B').
Can you post your config.php with usernames/passwords removed please?
Actually, before you do that, make sure that you don't have consoleHost specified in config.php. If you do, phpVirtualBox will use that setting. If it is set, comment it out by adding a # in front of it. If it is not set, please go ahead and post your config.php.
consoleHost is set to server 'A' and when I comment it, it work fine.
So I don't know why it was set, but it's ok now.
Thank you very much.
No problem. Glad it was resolved.