Page 1 of 1

Can't connect to headless Ubuntu guest

Posted: 22. Oct 2010, 05:53
by lathom
After starting my Ubuntu Server guest with the command:

vboxmanage startvm UbuntuServer --type headless

I've tried connecting to it from my Mac OS host with the command:

rdesktop -a 16 -N localhost:3389

Instead of connecting, I get the error:

"ERROR: connect: Connection refused"

Is there something I'm doing wrong?

Thanks

Re: Can't connect to headless Ubuntu guest

Posted: 24. Oct 2010, 14:55
by Sasquatch
You didn't read the documentation for when you're using VBoxHeadless. The build-in VRDP server is NOT running when using headless.

Re: Can't connect to headless Ubuntu guest

Posted: 24. Oct 2010, 18:37
by lathom
Thanks Sasquatch! It works now if I use the "--type VRDP" parameter. I was confused because starting the VM via VBoxHeadless does start the VRDP server automatically, whereas with VBoxManage you have to specify.