Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been looking for a way to connect to my virtualbox vm guest by a vnc client.
By that I mean, not installing a vnc client/server on the vm, but as an addition to virtualbox; The same way as vps providers do.
I have searched for this, nothing came up.

How do I do this?

share|improve this question
Only RDP is supported, you may find some add-ons. I don't know... – spudowiar Nov 11 '12 at 22:21

I'm having the same problems because the PEUL is not an option for me. From what I can tell VNC is available if you build it yourself and use the --enable-vnc option when running configure.

share|improve this answer
that's indeed as far as I have come. But I just want a vm, so I can run normally while I am at school(school computers suck XD) – Dr_Bunsen Dec 10 '12 at 19:09

Is vnc a requirement? or are you simply referring to being able to access the "physical screen" of your virtual machine without having to use a network enabled vm?

If so, The Virtual Box way of doing it ,is using Oracles implementation of the remote desktop protocol (RDP) which they call VRDP.

This allows you control of the guest with any rdesktop client.

You can see Oracles instructions for installing the vrdp here

If you really require / prefer VNC , or dont want the proprietary vbox extension you can enable vnc support with some tinkering according to this post

share|improve this answer
vnc is a must, since I am used to it, and have a jar as viewer, which I can really run everywhere(even school/work computer with limitation). But this looks very promising, I will try this tomorrow. – Dr_Bunsen Nov 12 '12 at 20:28

Most other hypervisors (KVM, Xen, VMWare) have built-in VNC servers for the video framebuffer. The commercial version of VirtualBox does not have this capability but there was a GPL-licensed extension added to the Open Source Edition some time back.

If you install virtualbox from the universe repository, according to the changelog it has been enabled since version 3.1.53-dfsg-1 (for "headless" machines).

Unfortunately I don't use VirtualBox so somebody else (or google) would need to help you with how to set up the machine for VBoxHeadless.

share|improve this answer
Thanks I will take a look at it. But not really the answer I was looking for. – Dr_Bunsen Nov 8 '12 at 14:40
I am sorry but the VBoxHeadless keeps saying there is no such thing as -vnc. – Dr_Bunsen Nov 13 '12 at 11:06

In case you want a VirtualBox Headless machine, as in @WillDaniels' answer, here is a howto guide, which explains how to create a headless vm, and connect it to the network via bridged networking.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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