[WorksForMe] Copy/Paste between host and vm not working

Discussions related to using VirtualBox on Linux hosts.
Post Reply
satimis
Posts: 506
Joined: 12. Jun 2007, 03:41

[WorksForMe] Copy/Paste between host and vm not working

Post by satimis »

Motherboard - Ausu PRIME X570-P
CPU - AMD Ryzen 5 3400G
VirtualBox 6.0
(Graphic comes from CPU)
Host - Ubuntu 18.04 gnome desktop
Guest - Ubuntu 18.04 gnome desktop

Installation went through without problem.

-> Advanced
Shared Clipboard: [Bidirectional] # already selected
Drag'n'Drop: [Bidirectional] # already selected

-> Display
Graphics Control ; [VboxSVGA]

Please help. Thank

Regards
satimis
Last edited by socratis on 24. Nov 2019, 18:14, edited 1 time in total.
Reason: Marked as [WorksForMe].
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Copy/Paste between host and vm not working

Post by scottgus1 »

We need a guest log. Start the guest from cold boot, not save-stated. Log in on the guest and try the shared clipboard. Then shut down the guest from within the guest OS. Then zip and post the guest's vbox.log, using the forum's Upload Attachment tab.
mayost
Posts: 5
Joined: 23. Nov 2019, 19:01

Re: Copy/Paste between host and vm not working

Post by mayost »

Did you guest install: Guest Additions CD
satimis
Posts: 506
Joined: 12. Jun 2007, 03:41

Re: Copy/Paste between host and vm not working

Post by satimis »

Hi all,

Thanks for your advice. I got my problem solved as follows;

Steps performed
On VM Terminal ran;
$ sudo apt update
$ sudo apt install linux-headers-$(uname -r) build-essential dkms
-> Devices -> Insert Guest Additions CD Image ......

Then following window popup;
VBox_GAs_6.0.14" contains software intended to be automatically started.  Would you like to run it?
if you don't trust this location or aren't sure, press Cancel.

[Cancel]    [Run]
-> Run

After installation finished rebooted VM. That is all. Now copy/paste between Host and VM is working.
  1. One thing I couldn't resolve I have no CD inserted but the Guest Addition ISO was there. Why ?????
  2. My hard disc on the box is M.2 PCIe SSD. But I couldn't select NVMe Controller, resulting in no booting device found. I must select SATA controller. Why ?
Thanks

Regards
satimis
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Copy/Paste between host and vm not working

Post by scottgus1 »

mayost wrote:Did you guest install: Guest Additions CD
The simplest solution is the best! +1 Mayost!
satimis wrote:I have no CD inserted but the Guest Addition ISO was there. Why ?????
I'm not entirely certain what you mean here, but a guest's virtual drive can either use the host PC's physical CD drive, or .ISO CD image files on the host PC's hard drive. The Guest Additions is a CD image, an .ISO file. So no physical CD is needed.
satimis wrote:My hard disc on the box is M.2 PCIe SSD. But I couldn't select NVMe Controller
All the 'hardware' seen by the guest OS, except for the CPU, is virtual. None if it actually exists physically. So your guest can be set up to boot from a SATA drive, even though the drive file is stored on a NVMe, or an IDE, or USB3, or whatever will come out three years from now. Why you couldn't select NVMe for your guest, I wouldn't know. But you don't have to match guest hardware to host hardware.
satimis
Posts: 506
Joined: 12. Jun 2007, 03:41

Re: Copy/Paste between host and vm not working

Post by satimis »

Your advice noted. Thanks

Regards
satimis
Last edited by socratis on 24. Nov 2019, 18:13, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Copy/Paste between host and vm not working

Post by socratis »

satimis wrote:I got my problem solved as follows;
In a word by actually performing the Guest Additions installation... Marking as [WorksForMe].
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
satimis
Posts: 506
Joined: 12. Jun 2007, 03:41

Re: Copy/Paste between host and vm not working

Post by satimis »

Pls advise where to mark it?
Last edited by socratis on 24. Nov 2019, 18:26, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: [WorksForMe] Copy/Paste between host and vm not working

Post by socratis »

I did already, take a look at the thread's title... ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
satimis
Posts: 506
Joined: 12. Jun 2007, 03:41

Re: [WorksForMe] Copy/Paste between host and vm not working

Post by satimis »

Thanks

Regards
satimis
Last edited by socratis on 24. Nov 2019, 20:06, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
Post Reply