2

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?

1
  • Only RDP is supported, you may find some add-ons. I don't know...
    – user92200
    Nov 11, 2012 at 22:21

4 Answers 4

1

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.

1
  • 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, 2012 at 19:09
1

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

1
  • 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, 2012 at 20:28
0

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.

2
  • Thanks I will take a look at it. But not really the answer I was looking for.
    – Dr_Bunsen
    Nov 8, 2012 at 14:40
  • I am sorry but the VBoxHeadless keeps saying there is no such thing as -vnc.
    – Dr_Bunsen
    Nov 13, 2012 at 11:06
0

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .