I have a virtualbox headless VM running on CentOS 7. I can show the console of the VM by opening up the virtualbox manager, right clicking the machine and choose "Show". Is there a way to do this (pop up the head of the headless client) without opening up the gui manager, i.e., from the command line? I've tried most likely commands for vboxmanage but get errors or the wrong result.

  • 2
    Would ssh into the VM give you the same access, or do you require the console for some other reason?
    – jc__
    May 12, 2017 at 14:00
  • I require the console. It's a windows-10 instance and I need to access the desktop apps.
    – ChrisDR
    May 12, 2017 at 14:35
  • 2
    If you wanted to keep it 'headless' you could enable the remote display and access it from any VNC viewer. Or not start in headless mode at all.
    – jc__
    May 12, 2017 at 15:06
  • 2
    Make that RDP viewer not VNC.
    – jc__
    May 12, 2017 at 15:15
  • 1
    @ChrisDR : (1) You just partially shot yourself in the foot.  You say that the question “could apply to any client”, reinforcing the ambiguity regarding scope. (2) If your host PC is running CentOS, that (at least potentially) makes the question on-topic at U&L — but you should edit your question to mention that, and not hide it here in the comments. (3) I’d suggest that you be patient for another day or two, and see whether anybody posts an answer. If you get no response, click on “flag”, “in need of moderator intervention”, and explain that you want your question moved to Super User. May 15, 2017 at 4:02

1 Answer 1


So far, no answers. After more research it looks like VirtualBox does not provide this functionality. Best that it seems I can do is to use a remote desktop. For my CentOS, the most convenient app is rdesktop. You need to have the extension pack installed. Then enable remote desktop protocol for the client. Once the VM is running you can then use rdesktop to access the client console. If rdesktop is started immediately after the VM, you do get access to the boot sequence. Thus:

$ vboxmanage modifyvm "archive" --vrde on
$ vboxmanage startvm "archive" --type headless ; rdesktop localhost 

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.