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
How-to setup VNC server?
-
Technologov
- Volunteer
- Posts: 3342
- Joined: 10. May 2007, 16:59
- Location: Israel
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: How-to setup VNC server?
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
AFAIK if it would work you would need to compile it that way. None of the released (compiled) version have it activated.
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.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: How-to setup VNC server?
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).
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).
-
telligent
- Posts: 9
- Joined: 9. May 2011, 23:09
- Primary OS: Ubuntu other
- VBox Version: OSE self-compiled
- Guest OSses: centos 5.x
Re: How-to setup VNC server?
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
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
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: How-to setup VNC server?
If it does not exist you need to create it. There are other build settings you can use as well.