Join Scott Simpson for an in-depth discussion in this video Using the command line to install the Guest Additions for VirtualBox, part of Learning Fedora Linux (2015).
- You may notice that my screen isn't quite…taking advantage of the full width of the display.…To fix that, I need to install the guest additions.…In parallels or VMware, this is named differently,…but here on VirtualBox I'll go to Devices…and choose Insert Guest Additions CD Image…and I'll click the Run button.…I'll enter my password and the Guest Additions installer…will start up, but it's presenting us…with a couple issues.…The first one, as you can see here on line five…of the output, is that the gcc utility was not found.…
That's a compiler for the C language.…It's also telling me that the headers…for the current kernel weren't found.…I can install that with this line that it's…given me here, yum install kernel-devel,…blah, blah, blah, with all the numbers.…So I'll copy that portion because I…definitely can't remember that, and choose Copy.…I'll press return to close the window,…then I'll go up to Activities…and start typing in terminal.…Now, this is one of those things…that pops up that looks really advanced,…
- List the things one should do during Fedora installation on VirtualBox.
- Explain how to begin working with files and folders in the GNOME shell.
- Name the minimum requirement for adding a new user.
- Identify where to go to customize the GNOME environment.
- Name the desktop environment that Fedora uses by default.
- List the command that you would issue to install an infrastructure server.
Skill Level Beginner
Q: Why don't the VirtualBox Guest Additions install properly on Fedora 23?
A: It seems that the VirtualBox Guest Additions don’t like the version of the X.Org Server software that comes with the Fedora 23 ISO. Before installing the additions, make sure to run:
sudo dnf update
This will get the latest version of X.Org Server (currently 1.18). After that, restart the VM. Then run:
sudo dnf install gcc kernel-devel-$(uname -r)
This command installs the gcc compiler and updated kernel headers, which the Guest Additions need in order to build themselves. $(uname -r) takes the output of the uname -r command, which returns the current kernel version number, and uses it to request to install the correct version for your system. Then try installing the Guest Additions again. You should see "Installing X.Org Server 1.18 modules [ OK ].” Restart the system again, and the full-screen feature should work.