3

ubuntu with xfce (xubuntu) on virtualbox and guest additions installed and clipboard sharing set to bidirectional allows plain text to be copied/pasted to/from the virtual and the host system;

ubuntu with lxde (lubuntu) on virtualbox and guest additions installed and clipboard sharing set to bidirectional does not allow plain text to be copied/pasted to/from the virtual and the host system;

how can this be fixed for lubuntu 18.04 LTS?

note - this appears to be a serious issue, because it exists in lubuntu 16.04 also, as well as at least one other lubuntu 18.04-based linux variant I tried; I have not found a lubuntu where it works; as if something basic in lubuntu causes copy/paste of plain text to not work

  • what is the host OS? – bogdan May 4 '18 at 9:30
  • @bogdan host OS is windows 10 – jmarina May 4 '18 at 9:58
  • Had you installed the guest additions in the guest? Any errors on that? – Takkat May 4 '18 at 10:07
  • @Takkat the guest additions installed without errors in the guest, and it is also a new install, with nothing else added, just the base system + guest additions, it is reproducible – jmarina May 4 '18 at 10:34
  • @OrganicMarble no the user is not added to the vboxsf group, I just checked using this command: grep vboxsf /etc/group – jmarina May 4 '18 at 13:46
6

A variation of this answer worked. Specifically, this fixes it for lubuntu 16.04:

sudo apt-get update
sudo apt-get install virtualbox-guest-x11 xorg-video-abi-20 xserver-xorg-core

if it asks you about keeping a file or installing the new one, press i to select the new one/package maintainer's version;

sudo VBoxClient --clipboard

this fixes it for lubuntu 18.04 and derived variants:

sudo apt-get update
sudo apt-get install virtualbox-guest-x11

if it asks you about keeping a file or installing the new one, press i to select the new one/package maintainer's version;

sudo VBoxClient --clipboard

note - the last command by itself, sudo VBoxClient --clipboard, was also sufficient to fix it for lubuntu 18.04 after guest additions installed. However, without installing anything with apt, so it might be worth trying first on other systems as well.

  • 3
    this has also fixed the problem where i was not able to see the shared folders from host on the VM. believe package virtualbox-guest-x11 was missing earlier. – raghavan May 31 '18 at 13:09

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.