CTRL + C and CTRL + V between Windows and Linux VM in Virtual Box

How to copy/paste between Windows and virtualized Desktop Debian? The obvious solution would be to install the “For additional Guest” Oracle VM VirtualBox, but when it generates the error “Failed to set up service vboxadd”?


First of all, I might point out that this solution was applied to the following environment:
– Desktop with Windows 10
– Oracle VM VirtualBox with Debian 9 Virtualized netinst


The problem is that it was not possible to copy and paste between Windows and Linux (virtualized environment). To do CTRL + C and CTRL + V, nothing happened.

The proposed solution in forums on the Internet said that to solve this problem it was enough to install the package “For additional Guest” that comes in the Oracle VM VirtualBox, but when I tried to do this, resulted in the following error:

"Failed to set up service vboxadd, Please check the log file"


As I was using the Netinst (Lean version of Debian), It is possible that some software required missed time to rotate the “For additional Guest”.

Installation of additional packages:

apt-get update apt-get install gcc make apt-get install linux-headers-$(uname -r)
init 6

This last command is to reboot the Linux.

Installation of the “For additional Guest”:

// STEP 1
In Oracle VM VirtualBox, access the Device menu > Insert the CD image for Additional Guest
// STEP 2
Give double click the icon VBOXADDTIONS_5.1.24_ 117012 (or another version) that will appear on the desktop
// STEP 3
Open the terminal, access road to VBoxLinuxAdditions, Normally this:
CD /Media/cdrom0/
// STEP 4 - Installation!
sudo sh ./Vboxlinuxadditions*.run

After this, don't forget to enable the VMBox options to allow copy and paste (Clipboard / bi-directional), as the figure below:

Restart the Linux and do the test!

Total hits: 50341

9 comments on “CTRL + C and CTRL + V between Windows and Linux VM in Virtual Box

  1. Gabriela dos Reis Silva said:

    Soooi see that my machine no longer starts after I gave this last command.
    Restarted, but when I type my user and password to enter pops up a black screen (as if it were going to come in) and back to the same screen to enter the user and password

    • Which machine, the Debian VM? Tries Ctrl+Alt+F1, log in as root. Check permissions or file/directory owners: ls -la /home/User. See if in fact the USER owns, otherwise, Try: sudo chown -R User:User /home/User. Trade User for the username you're trying to log in to.

  2. Good afternoon, here worked up the part of having to double click on the icon, since I'm doing it for a graphic install ( Command line only).
    I made it up there, and i couldn't, i tried to access by command but also could not access here, says that it is not possible to open the file.

    Some alternative?


Leave a reply

The your email address will not be published. Required fields are marked with *