12

I am unable to install virtual box guest additions in Lubuntu 16.04

My following is my terminal screenshot:

enter image description here

When I type in terminal ./autorun.sh

I get the following output:

Linux guest additions installer not found --try to start them manually.

Why this is happening and how to "start them manually"?

I have tried shutting down the machine, removing guestadditions.iso, restarting the machine, and reinserting the guest additions CD.

But the problem persists.

Why is this happening?

rancho
  • 4,136

4 Answers4

27

I managed to solve my problem, it is pretty easy.

What I did was I opened terminal and typed:

apt update
apt upgrade #To install Linux headers
apt install gcc
apt install make
cd /media/"username"/VBOX*
./VBoxLinuxAdditions.run
reboot

Then I set the monitor screen resolution to mine (which is 1360x644)

Then I restarted it again.

And it is done

rancho
  • 4,136
2

Another issue I found where none of these solutions worked (installing Raspberry Pi Desktop):

./VBoxLinuxAdditions.run no good

sudo ./VBoxLinuxAdditions.run no good

sudo sh VBoxLinuxAdditions.run SUCCESS

So it seems you sometimes have to explicitly run the vbox additions file with sh - otherwise it will fail with "Linux guest additions installer not found --try to start them manually."

1

The problem is that autorun.sh looks for konsole, gnome-terminal, mate-terminal, or xterm, and Lubuntu has none of them installed. A simple remedy is to run

sudo apt install xterm gcc make 

before inserting the guest additions Then you can double-click on autorun.sh in PCManFM, and the installation works as it was presumably intended.

0

Typeing the following commands works for me:

$ sudo apt-get install linux-headers-$(uname -r)
$ ./VBoxLinuxAdditions.run