How To Enable Copy Paste ( Shared Clipboard ) Between VirtualBox Host And Guest OS

After install a linux ( Ubuntu or CentOS ) in oracle VirtualBox, you should want to enable copy & paste function between the virtual machine and the host machine. This article will tell you how to do it.

1. Prerequisite.

  1. First you should start the virtual machine.
  2. Then click Devices —> Insert Guest Additions CD image… menu item to install the VirtualBox Guest Additions software in your virtual machine OS.
  3. If you meet error during above process, you can read article How To Resolve VirtualBox Guest Additions: Kernel Headers Not Found For Target Kernel Error to learn how to fix it.

2. Enable Copy & Paste ( Share Clipboard ) Between Oracle VirtualBox Virtual Machine And Host Machine Steps.

  1. Right click the virtual machine in VirtualBox.
  2. Then click Settings… menu item in the popup list.
    virtualbox centos vm settings menu item
  3. Then click Advanced tab in the General settings window.
    set virtualbox vm share clipboard, drag and drop configuration
  4. Select Bidirectional item in the Shared Clipboard drop down list.
  5. You can also select Bidirectional item in the Drag’n Drop drop down list.
  6. You can also click Devices —> Shared Clipboard —> Bidirectional , Devices —> Drag and Drop —> Bidirectional menu item to configure above settings.
    virtualbox - devices - drag and drop - bidirectional
READ :   How To Edit Hosts File In Mac OS And Linux

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.