So I was able to do this: ./VBoxLinuxAdditions.run I got the warning could not find the X.org or xfree86 window system, skipping
When I do lsmod | grep guest I get vboxguest /*numbers*/ 3 vboxsf, vboxvideo /numbers/ is actual number code that I can't remember.
When I do VBoxService --version I get 5.1.26, which is the version for my VM VirtualBox.
This is : vboxadd-install.logProblem is, I have shared clip board selected, but it doesn't work! I can't use CTRL + SHFT + V to paste into my ubuntu server 32 bit 17.04 VM!
I have spent hours and hours trying to get this work, I do not want my time to be spent in vain. Any help?
So after installing gcc sudo apt-get install gcc I rebooted reboot. But I still was not able to CRT + SHIFT + V, here is /var/logs/vboxadd-install.log after installing gcc and rebooting. Above the line "make1: gcc: Command not found was just the same stuff from the first image, and under "Creating user for the guest additions" was
en0ps3: reset adapter. and the same line "creating udev rule for the Guest Additions kernel module.
1 Answer
For a GUI-less server the shared clipboard functionality of Virtual Box can not work. A text-based server does not have a clipboard.
We may still want to install guest additions in an Ubuntu server for the following features they provide:
- Shared folders using
vboxsffilesystem - Time sync with the host
- generic host-guest communication via
VBoxManage guestproperty - automatic guest logon (passing credentials on booting the VM)
Installing guest additions needs access to build tools such as gcc or make.
Also see: How do I install Guest Additions in a VirtualBox VM?
For copy and pasting commands from the host to the guest I would recommend an SSH session, which would also give you many additional features for remote guest control.
3