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.

9
  • Are you installing VBoxLinuxAdditions within your virtual machine, ok? Did you follow these: forums.virtualbox.org/viewtopic.php?t=15679
    – Redbob
    Aug 25, 2017 at 4:31
  • Apparently you have not installed gcc in your guest. See note 3 in my answer here
    – Takkat
    Aug 25, 2017 at 6:05
  • @Takkat So I installed gcc v: 6.3.0 then i rebooted and I still cannot CTRL + SHIFT + V Aug 25, 2017 at 19:03
  • Can you install the guest additions now? They are needed for clipboard.
    – Takkat
    Aug 25, 2017 at 19:20
  • 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, 2017 at 20:11

1 Answer 1

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.

3
  • the server is not up yet (not public), and host is windows, while client is linux. So would I still be able to use SSH? Aug 26, 2017 at 21:15
  • 1
    Yes, we can use SSH just fine in the local net.
    – Takkat
    Aug 27, 2017 at 0:18
  • Thanks for this. Good to know that I should stop searching and just use an SSH session.
    – Ardee Aram
    Jan 24, 2019 at 6:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .