Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322325 - app-emulation/virtualbox-ose-3.2.0-r1: New USE-Flag suggestion
Summary: app-emulation/virtualbox-ose-3.2.0-r1: New USE-Flag suggestion
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-01 02:08 UTC by Malte Frerichs
Modified: 2010-12-08 23:17 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed patch to for the ebuild (virtualbox-ose-3.2.6.ebuild.patch,776 bytes, patch)
2010-08-04 18:40 UTC, Ricardo I. Vieitez
Details | Diff
fixed and improved patch (virtualbox-ose-3.2.10.ebuild.patch,982 bytes, patch)
2010-11-03 16:39 UTC, pjank
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Malte Frerichs 2010-06-01 02:08:13 UTC
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
Comment 1 Ricardo I. Vieitez 2010-08-04 18:40:28 UTC
Created attachment 241429 [details, diff]
Proposed patch to for the ebuild
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-11-01 17:51:25 UTC
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.
Comment 3 pjank 2010-11-03 16:39:17 UTC
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)
Comment 4 pjank 2010-11-03 16:41:24 UTC
(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...


Comment 5 Gus Power 2010-12-07 09:30:29 UTC
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.
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-12-08 23:17:56 UTC
+  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.