Gice

Technology and General Blog

When working in a VirtualBox and its virtual machines, it is generally necessary to duplicate and paste some content material involving the Virtual device and the host. In other terms, if we use true specialized conditions, we want to share the clipboard involving visitor and host. For sharing the clipboard, all you need to do is put in the Guest Additional Picture in your Digital Machine and help the sharing of the clipboard.

Installation of VirtualBox Guest Addition Picture

To set up visitor more picture in your Virtual Machine, comply with the technique presented below:

Open up the Digital box and select the machine in which you want to allow the clipboard sharing element, and get started the device.

Once the equipment is commenced, open the terminal of the Working system and execute the command provided down below to put in some vital offers for setting up Visitor Addition Picture:

For Ubuntu or Debian dependent working systems:

$ sudo apt set up build-necessary dkms linux-headers-$(uname -r)

For CentOS or RHEL primarily based functioning methods:

$ sudo dnf set up gcc kernel-devel kernel-headers dkms make bzip2 perl

Soon after putting in the expected offers as effectively, insert the Guest Addition CD picture by clicking on the “Devices” in the menu bar of the Digital machine and selecting “Insert Visitor Addition CD image” from the “Devices” menu:

The set up will complete in a while.

When it is accomplished, it will inquire to reboot the process. So, shut down the machine and go to the configurations of that equipment by suitable-clicking on the device and picking out the configurations icon or find the equipment and click on on the settings icon as demonstrated in the screenshot connected down below:

In the options window of the machine, go to the “General” tab from the still left sidebar and pick the “Advanced” tab as proven in the photo given below:

In the “Advanced” tab, you can see the two dropdowns named “Shared Clipboard” and “Drag’n’Drop.”

Pick out each and every dropdown menu and decide on the “Bidirectional” option to permit the machine’s clipboard sharing and drag-drop characteristics.

Soon after switching both equally possibilities, click on the “ok” button proven in the bottom ideal corner of the configurations window to conserve all the settings accomplished.

Now, just start off the device to help copy and paste in between VirtualBox and host.

But if it is not operating for you, then it means that the visitor Addition Graphic is not inserted effectively. You have to insert it manually.

Insert Visitor Addition CD Image Manually

To start with, produce a new /mnt/cdrom directory:

$ sudo mkdir -p /mnt/cdrom

Following generating, mount the image to the /mnt/cdrom:

$ sudo mount /dev/cdrom /mnt/cdrom

Modify listing to the /mnt/cdrom and execute the “VBoxLinuxAddition.run” script:

$ sudo sh ./VBoxLinuxAdditions.operate –nox11

At the time the script has finished the execution. Reboot the technique applying the command described down below:

Right after rebooting the equipment, retry to copy and paste anything in between the host and Digital machine. It will unquestionably function properly good now.

Allow Shared Clipboard Alternative

There is a further way to help the shared clipboard option to bidirectional by going to the “Devices” in the menu bar, “shared Clipboard,” and clicking on the “Bidirectional” selection as demonstrated in the screenshot delivered beneath:

After enabling it, you can quickly copy and paste anything between host and Virtual Machine

Summary

This put up has covered all the standard to professional-degree concepts and procedures to put in the Guest Addition CD Image to empower the duplicate and paste among VirtualBox and host. We have acquired to share the clipboard in between the host and the digital machine and enable the drag-drop features involving them by putting in the Visitor Addition Impression in the digital equipment using the simple strategy and manually from the terminal.

Leave a Reply

Your email address will not be published. Required fields are marked *