Problem to connect to headless Virtualbox 4.0.6 with rdesktop: Connection refused
I am currently trying to learn how to run VMs on a headless machine and connect to them with rdesktop.
For a first test I installed Virtualbox 4.0.6 (latest version, from the oracle website) on a Slackware -current 32 bit machine that doesn't run headless, so that I can test the VM in the "normal" mode. Installation went fine, no problems here. After installation I created a VM (for use with Puppy Linux as a test) with the following commands: Code:
VBoxManage createvm --name "Puppy" --ostype "Linux26" --register Running the VM from the host (means not in headless mode) works flawlessly. I then started the VM in headless mode with Code:
VBoxHeadless --startvm "Puppy" Code:
Oracle VM VirtualBox Headless Interface 4.0.6 I then tried to connect to the machine with Code:
rdesktop -a 16 -N localhost Code:
rdesktop -a 16 -N dragon All I get every time is Code:
ERROR: connect: Connection refused I looked at the settings of the VM using the Virtualbox GUI and set the port manually to 3389, because the port was not specified there. That didn't help. I am somewhat stuck here, I googled for that problem and searched on this forum, but I didn't find a solution. May be someone had the same problem and can point me to a solution. Thanks in advance. |
Sometimes I am really dumb. Even though it is clearly stated in the users manual of Virtualbox that the extension pack has to be installed to work with headless servers I just forgot that.
Silly me. |
glad you got it figured out :-). If you're planning on running headless, look into phpVirtualBox, its a WebGUI for VB, makes a lot of common tasks easier.
|
Thanks for that hint, I will have a look at it.
|
All times are GMT -5. The time now is 11:28 PM. |