I have tried this:
sudo apt-get install virtualbox-guest-dkms and enabling bidirectional shared clipboard.
VirtualBox 4.12 Shared clipboard not working in Ubuntu14.04
and various other things, now hard to collect, but nothing works so far.
How to fix it?
Update
When trying to insert guest additions CD image, I get this error:
From this question, Unable to Install Guest Additions CD Image on Virtual Box, I tried:
Tried also:
sudo apt-get upgrade
sudo apt-get install virtualbox-guest-additions-iso and this gives:
Restarting the virtual machine did not help, no errors.