Page 1 of 1
Fedora 24 (with KDE) clean installation - guest additions do not install?
Posted: 30. Aug 2016, 12:20
by janpeter
Hi
I have just made a clean install of Fedora 24 (Scientific Spin using KDE) and seems to work.
However, guest-additions seems not to install in a correct way. I follows some Youtube- guide
and used terminal to install guest additions (as root user) using command /VBoxLinuxAddtions.run
and get attached error message that point to a log-file and that log-file also attached.

- Loggfile indicating source of error
- Skärmavbild 2016-08-30 kl. 11.54.39.png (49.7 KiB) Viewed 2993 times
I have used VBox for many years with little problems, but I am new to use Fedora.
Host machine is Mac OS X 10.11.6 and VBox 5.0.26.
Find some similar posts here but not similar enough for me to solve the problem.
Appreciate some input!
Re: Fedora 24 (with KDE) clean installation - guest additions do not install?
Posted: 30. Aug 2016, 13:33
by Perryg
The error indicates you do not have the kernel headers and kernel devel installed that matches your running kernel. Correct that and it should install and work properly.
Re: Fedora 24 (with KDE) clean installation - guest additions do not install?
Posted: 1. Sep 2016, 09:20
by janpeter
Thanks. Actually I needed to do the following commands
su
yum install kernel-devel-4.5.5-300.fc24.x86_64
sudo dnf install kernel-revel kernel-headers
cd /run/media/janpeter ./VBoxLinuxAdditions
shut down VM
remove GuestAddtions.iso from the /Storage/Controller:IDE
start again
Now guest addition works, except shared folders, where I get problems with permissions.
I looked in VirtualBox manual section 4.2.2.1 about Installing the Linux Guest Additions.
I am not totally convinced that what I have described above corresponds to what is referred to here
and to page 37 for host installation that should be follows. Let me know!
But I did the check
su
rcvboxadd setup
Got OK for different items, and then recommended re-start of VM.
The problem with guest additions remained
PS. I think this thread belongs to Linux Guests (and not Hosts).
I thought I actually did post it under Linux Guests, but could have done a misstake.
Good if someone could move the thread to the more appropriate place.
I also suspect that all people installing Fedora 24 as guest need to go through this exercise.
Re: Fedora 24 (with KDE) clean installation - guest additions do not install?
Posted: 19. Dec 2016, 18:59
by janpeter
Hi
I found out that the problem with the shared folder is about permissions
and the following command in the Fedora guest worked:
$ sudo usermod -a -G vboxsf username
(and username should be the actual username in the guest)
Then a restart of the Fedora-guest to make the command to take action.
This time I made before a clean installation of Fedora 25 (with Gnome 3.22 this time) following the guide on
this youtube video:
https://linux-video-tutorials.blogspot. ... albox.html
Now I think everyone can install Fedora 25 in Virtual Box !
Jan Peter