Missing the build in VNC-Server of the OSE-Edition which is a special feature of the OSE-Edition (http://www.virtualbox.org/wiki/Editions) Reproducible: Always Steps to Reproduce: 1. Start emerge of virtualbox-ose-3.2.0-r1 2. Stop emerge by pressing Ctrl + z 3. Add the Line "VBOX_WITH_VNC := 1" to the file /var/tmp/portage/app-emulation/virtualbox-ose-3.2.0-r1/work/VirtualBox-3.2.0_OSE/LocalConfig.kmk 4. resume the emerge by pressing "fg" The OSE-Edition has an integrated vnc-server which is very usefull, if you use the OSE-Edition in headless mode. The current ebuild has no possibility to enable this server. It can be enabled by Adding the line VBOX_WITH_VNC := 1 to the file VirtualBox-3.2.0_OSE/LocalConfig.kmk After compiling there are new parameters for VBoxHeadless to configure the VNC-Server It would be nice, if someone can add an useflag "vnc" which does the Changes above. Greetings Malte
Created attachment 241429 [details, diff] Proposed patch to for the ebuild
I am unable to get the VNC interface started. Can you maybe explain how you got it working? I already added your patch to my local overlay and compiled virtualbox-ose with vnc USE flag being enabled but I fail to actually get a vnc connection to my running guest-VM.
Created attachment 253045 [details, diff] fixed and improved patch This one is updated to the latest virtualbox version (3.2.10). Fixed two problems causing the previous one (from Ricardo) not compiling: 1. "LocalConfig.kmk" file path (no slash at the beginning) 2. "net-libs/libvncserver" dependency (hope that's how it should be done... I'm new to this)
(In reply to comment #2) > ...but I fail to actually get a vnc connection to my running guest-VM. "VBoxHeadless" command has new options: --vnc, --vncport and so on...
Tried on amd64, patch for 3.2.10 works well (2.6.29-gentoo-r5 #7 SMP x86_64 AMD Phenom(tm) 9950 Quad-Core Processor). Any chance of getting this into the main portage tree? - I see 3.2.12 has just been released. Gus.
+ 08 Dec 2010; Lars Wendler <polynomial-c@gentoo.org> + virtualbox-ose-3.2.12.ebuild, +files/virtualbox-ose-vnc.patch: + Added vnc functionality as requested in bugs #322325 and #348204. Thanks to + Malte Frerichs (request) and Branko Majic (request + patch). + Fixed without revbump. I had trouble getting keyboard input submitted to the VM (with the exception of enter, backspace and cursor keys all others didn't produce any input). So if this appears to be a common problem I will remove the whole vnc stuff again.