As part of my configuration of that new xubuntu, I installed the VirtualBox Guest Additions (following these instructions):
Code: Select all
--in the guest xubuntu, opened a Terminal and executed
sudo apt update
sudo apt install build-essential dkms linux-headers-$(uname -r)
--mounted the VBoxGuestAdditions.iso CD file into the xubuntu guest's virtual CD-ROM drive
--opened a Terminal in the directory where that CD-ROM drive was mounted and executed
sudo sh ./VBoxLinuxAdditions.run
That seemed to work, indeed, here is what xubuntu thinks it has:
Code: Select all
$ lsmod | grep -i vbox
vboxsf 81920 1
vboxvideo 36864 0
ttm 106496 2 vmwgfx,vboxvideo
drm_kms_helper 184320 2 vmwgfx,vboxvideo
vboxguest 348160 6 vboxsf
drm 491520 7 vmwgfx,drm_kms_helper,vboxvideo,ttm
$ modinfo vboxguest
filename: /lib/modules/5.4.0-58-generic/misc/vboxguest.ko
version: 6.1.16 r140961
license: GPL
description: Oracle VM VirtualBox Guest Additions for Linux Module
author: Oracle Corporation
srcversion: 72CDCB8BA3ED3B5FE9AE9E8
alias: pci:v000080EEd0000CAFEsv00000000sd00000000bc*sc*i*
depends:
retpoline: Y
name: vboxguest
vermagic: 5.4.0-58-generic SMP mod_unload
Code: Select all
General
Advanced
Shared Clipboard: Disabled --> Bidirectional
...
Shared Folders
click on + to add new, and then:
Folder path: C:\davidm\virtualMachines\shared
Folder Name: shared
Auto-mount: (checked)
The Shared Folder seems to now work fine, after I executed
Code: Select all
sudo adduser davidm vboxsf
But the shared host to guest clipboard has a bizarre problem: copying from my favorite Windows text editor, TextPad, and pasting inside the guest xubuntu works bizarrely.
In particular, in a newly launched xubuntu, if I open a Terminal and attempt to paste some text from TextPad into it, nothing appears!
I can then go to seemingly any other Windows program on the host and paste what I copied from TextPad into it (e.g. into Notepad++).
I can copy text from seemingly any OTHER Windows host program (e.g. Notepad++, IntelliJ, etc) and paste that text into the xubuntu guest.
Strangest of all, if I copy something from the xubuntu guest and paste it into TextPad, I can then copy text from TextPad and paste it back into xubuntu!
So, why does the inital copy/paste from TextPad alone into xubuntu fail?
I am using the latest TextPad 8.5.0 64 bit.
Before doing this post, I web searched and found some clipboard issues in the last year like but these seem to be unrelated to what I report above.