VirtualBox Guest Additions not working in Lubuntu 17.04 – Solved

Environnement:

Host OS: Windows 10 x64
VirtualBox Graphical User Interface
Version 5.1.26 r117224 (Qt5.6.2)

Guest OS: Lubuntu 17.04

VBOXADDITIONS_5.1.26_117224

Problem:

I manually installed VirtualBox Guest Additions from VBOXADDITIONS_5.1.26_117224 ISO and restarted the guest.

The bidirectional clipboard and the drag and drop still not working.

Solution:

Installation of Guest Additions from Ubuntu repository.

Command:

sudo apt-get install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11

Because I didn’t uninstall the ISO version, the setup process it asked me if I want to use the maintainer version or the latest version. Personally I chosed Y for the maintainer version. Here is a sample:

Setting up virtualbox-guest-x11 (5.1.22-dfsg-0ubuntu1.17.04.1) …

Configuration file ‘/etc/X11/Xsession.d/98vboxadd-xclient’
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer’s version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation

It works! The above text was copied from clipboard directly from Guest OS Lubuntu 17.04 in Windows 10 host OS.