Page 1 of 1

Guest addition problem

Posted: 23. Oct 2016, 05:57
by lmohaisen
Hello,

I have windows 8.1 laptop and I am running ubuntu 16.10 as a guest on virtualbox 5.1.8. I installed the guest additions and I restarted the machine but it seems there is a problem. First, a message, " virtualbox kernel service is not running, Exiting" appears. Then the copy from the host and paste into the guest is not working even with bidirectional "share clipboard" and "drag'n drop" options.

Thank you in advance.

Re: Guest addition problem

Posted: 23. Oct 2016, 10:40
by socratis
It's the same problem. If the kernel service is not running, you won't have Copy/Paste functionality, among others. The question is why isn't the kernel service running. Can you post a ZIPPED "/var/log/vboxadd-install.log" from your guest? Or try to install/update the guest additions and post the output of that operation?

Re: Guest addition problem

Posted: 23. Oct 2016, 12:22
by AntonioChiapponi
Hi,
updated a couple of haour ago from 5.1.6 to 5.1.8 so now additions don't work fine.

Windows 10 64bit Enterprise
VM Linux Suse Desktop 13.2

here is the /var/log file obteined after the autorun.sh

Thank you for a possible help

Re: Guest addition problem

Posted: 23. Oct 2016, 13:02
by socratis
Actually, the log files are too small, so I'll include them here verbatim, in the unlikely event that someone, at some point, might think that searching is a better idea compared to registering and posting.

VBoxGuestAdditions.log

Code: Select all

vboxadd.sh: failed: Look at /var/log/vboxadd-install.log to find out what went wrong.
vboxadd.sh: failed: Please check that you have gcc, make, the header files for your Linux kernel and possibly perl installed..
vboxadd-install.log

Code: Select all

/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
Both logs point to the same source for the problem:
Please check that you have gcc, make, the header files for your Linux kernel and possibly perl installed.
I'm not familiar with Suse's installation/update procedures, but you have to install the things mentioned above.

Re: Guest addition problem

Posted: 23. Oct 2016, 14:23
by AntonioChiapponi
Hi socratis,
thank you.
I have all installed ... it seems that Suse distro isn't well recognized ...

Re: Guest addition problem

Posted: 23. Oct 2016, 15:04
by socratis
AntonioChiapponi wrote:it seems that Suse distro isn't well recognized
If you mean it's not "well supported" in VirtualBox, and you made this assumption from the installation of guest additions, then that's not the case. It's up to each distribution to include some basic necessities for VirtualBox to work.

I don't have a Suse guest, but some installations allow you to customize them, so If you had enabled the developer tools, it would have worked from the beginning.

Re: Guest addition problem

Posted: 23. Oct 2016, 16:54
by lmohaisen
Hello,

I am not expert in Linux so could you please help step by step in:
-how to get the vboxadd-install.log
-how can I update guest additions

Thank you very much for your support.