9

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.log enter image description here Problem 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. enter image description here 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.

Takkat
  • 142,284
  • Are you installing VBoxLinuxAdditions within your virtual machine, ok? Did you follow these: https://forums.virtualbox.org/viewtopic.php?t=15679 – Redbob Aug 25 '17 at 04:31
  • Apparently you have not installed gcc in your guest. See note 3 in my answer here – Takkat Aug 25 '17 at 06:05
  • @Takkat So I installed gcc v: 6.3.0 then i rebooted and I still cannot CTRL + SHIFT + V – DR. Palson_PH.d Aug 25 '17 at 19:03
  • Can you install the guest additions now? They are needed for clipboard. – Takkat Aug 25 '17 at 19:20
  • @Takkat So I must re-install guest additions for gcc to work? I am using ubuntu server btw. I just installed gcc and rebooted nothing happened, I updated my original questions with a new image of what vboxadd-install.log. It still says gcc command not found. If I need to re-install, how do I delete the previous files before re-installing, or do I not need to? – DR. Palson_PH.d Aug 25 '17 at 19:37
  • 2
    Ah - now I finally understood - sorry for me being thick. No - you can't have a shared clipboard in a TTY-only server as there is none on the server side. You could copy & paste via SSH if that was an option for you. – Takkat Aug 25 '17 at 20:11
  • :( What a bummer, thank you anyway. I thought I was going crazy. – DR. Palson_PH.d Aug 25 '17 at 20:19
  • one last questions, @Takkat is there any reason to even keep guestAdditions installed? – DR. Palson_PH.d Aug 25 '17 at 20:20
  • See answer - I would not need those ;) – Takkat Aug 26 '17 at 07:08

1 Answers1

11

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:

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.

Takkat
  • 142,284