Page 1 of 1
How-to setup VNC server?
Posted: 4. Apr 2011, 15:38
by Technologov
My understanding is that VNC server code was committed to VBox 3.2.0 source tree and still exists in 4.0 source tree.
Is it available in standard Oracle builds ? Or recompilation required ?
What are the commands to enable VNC server ?
I can't find any docs on this topic, looked in several places:
1. User manual
2. VirtualBox HOWTOs and tutorials
link
3. On this forum, "How-to" section
-Technologov
Re: How-to setup VNC server?
Posted: 4. Apr 2011, 16:46
by Perryg
I am not able to compile VNC into VirtualBox at all (since 4.0.*). Even though Frank says the code is still there.
http://vbox.innotek.de/pipermail/vbox-d ... 03618.html
Code: Select all
In file included from /trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp:62:
/trunk/src/VBox/Frontends/VBoxHeadless/FramebufferVNC.h:30: fatal error: rfb/rfb.h: No such file or directory
compilation terminated.
AFAIK if it would work you would need to compile it that way. None of the released (compiled) version have it activated.
Re: How-to setup VNC server?
Posted: 4. Apr 2011, 18:40
by Perryg
OK I finally remembered how I made this work.
You need to install the libvncserver0 & libvncserver-dev in the host and add VBOX_WITH_VNC := 1 to your LocalConfig.kmk
This will compile against your host and it does work (I just tried it again).
Re: How-to setup VNC server?
Posted: 10. May 2011, 18:20
by telligent
VirtualBox 4.0.6 OSE, Ubuntu 10.04 LTS
For me there wasn't a LocalConfig.kmk file in the build dir (and modifying the other ones in the different sub directories didn't work).
Finally found (by searching all of the files in the source dir for "VNC") that to enable VNC, you need to run the configure command as follows:
./configure --enable-vnc
Re: How-to setup VNC server?
Posted: 10. May 2011, 18:42
by Perryg
If it does not exist you need to create it. There are other build settings you can use as well.