Page 1 of 1

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

Posted: 23. Nov 2019, 04:55
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

Re: Copy/Paste between host and vm not working

Posted: 23. Nov 2019, 20:32
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.

Re: Copy/Paste between host and vm not working

Posted: 23. Nov 2019, 20:57
by mayost
Did you guest install: Guest Additions CD

Re: Copy/Paste between host and vm not working

Posted: 24. Nov 2019, 04:13
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

Re: Copy/Paste between host and vm not working

Posted: 24. Nov 2019, 15:57
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.

Re: Copy/Paste between host and vm not working

Posted: 24. Nov 2019, 16:55
by satimis
Your advice noted. Thanks

Regards
satimis

Re: Copy/Paste between host and vm not working

Posted: 24. Nov 2019, 18:14
by socratis
satimis wrote:I got my problem solved as follows;
In a word by actually performing the Guest Additions installation... Marking as [WorksForMe].

Re: Copy/Paste between host and vm not working

Posted: 24. Nov 2019, 18:20
by satimis
Pls advise where to mark it?

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

Posted: 24. Nov 2019, 18:26
by socratis
I did already, take a look at the thread's title... ;)

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

Posted: 24. Nov 2019, 18:29
by satimis
Thanks

Regards
satimis