Is there a way to connect to a VirtualBox guest OS without the use of vrdp?

I have a VirtualBox test server that seems to halt somewhere during early boot, and I would like to connect to it from a terminal on the host in a similar fashion as vrdp. I don't have access to any GUI stuff on the host. Both the guest and the host are Ubuntu servers. Regular networking on the guest is not enabled by the time it halts.

EDIT: I ended up installing X on a related host, then used rdesktop in the usual fashion.

  • One possible workaround is if you have an X server on the system you are connecting from, you could always use ssh -X to connect to the host and then use X11 forwarding to use the VirtualBox GUI. – sbtkd85 Sep 12 '11 at 16:58
  • @sbtkd Which VBox GUI would that be? As it sits I have access to the VBoxManage tools, and rdesktop-vrdp . rdesktop-vrdp gives me "Failed to open display", i quite often use ssh -X to other systems where it works great. – Captain Giraffe Sep 12 '11 at 17:11
  • Sorry I'm not sure of the exact command to invoke as I don't have an Ubuntu host with virtualbox installed, but I would think that rdesktop-vrdp or virtualbox should work. – sbtkd85 Sep 12 '11 at 17:20
  • I read you can start the virtual machine as 'headless' and then connect to it, but I haven't got it working myself yet: superuser.com/questions/442664/… – 719016 Jun 28 '12 at 15:03

from Linux, run below command:

  rdesktop-vrdp <host server name>:<virtual guest  VRDE Port number>
-u <user name> -p <password>

For example:

  rdesktop-vrdp onecloud:3800 -u cloud1 -p <password>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.