9

I have Windows 7 and use VirtualBox. I have installed Ubuntu Server as a guest.

Is there any easy way where I can copy text in the Ubuntu Server terminal to my Windows 7 host? How about in the other direction?

Jonas
  • 28,660

5 Answers5

9

I think the best solution is to "ssh" into the server and work on it like that.

The best known SSH client & terminal emulator on Windows is probably PuTTY. When you use that, it will allow you to copy/paste text from/to it.

JanC
  • 1,373
5

I believe you need to install the Virtualbox Guest Additions. This adds certain integration features like the ability to share the clipboard between the host and guest.

After installing guest additions you see the options for clipboard settings such as "Host to Guest", "Guest to Host", as well as "Bidirectional" clipboard sharing. The last is my preference.

2

In the Oracle Virtualbox settings, go to Settings > General > Advanced

There is an option for Drag and Drop. Select the direction you want to copy the text.

Canadian Luke
  • 24,640
amjad
  • 21
  • 1
0

I had to run manually the following command after the installation of VirtualBox Guest Additions to make copy & paste work.

sudo VBoxClient --clipboard

wonea
  • 1,877
Vladimir
  • 101
-1

Yes. Highlight the text and right-click. Choose "Copy". Go to the other application and right-click, then choose "Paste". At least that works with my own Ubuntu host and Windows XP guest, in either direction.

CarlF
  • 8,872