"unknown X server version"Apart of the updated Virtualbox version this guide also assumes functional Fedora Linux installation with working Internet connection. Lastly, the aim here is to provide a generic guide for Virtualbox Guest additions on Fedora Linux virtual machine and as a result reader needs to adjust some of the following commands to is your envireoment.
Virtual box menu -> Devices -> Insert Guest Additions CD imageThe following message will pop up:
# mount | grep -i vbox /dev/sr0 on /run/media/fedora/VBOXADDITIONS_VERSION type iso9660 # cd /run/media/fedora/VBOXADDITIONS_VERSION # ls 32Bit AUTORUN.INF cert runasroot.sh VBoxSolarisAdditions.pkg VBoxWindowsAdditions.exe 64Bit autorun.sh OS2 VBoxLinuxAdditions.run VBoxWindowsAdditions-amd64.exe VBoxWindowsAdditions-x86.exe
yum install kernel-devel-$(uname -r) kernel-headers-$(uname -r) gcc
# ./VBoxLinuxAdditions.run Verifying archive integrity... All good. Uncompressing VirtualBox 4.3.12 Guest Additions for Linux............ VirtualBox Guest Additions installer Removing installed version 4.3.12 of VirtualBox Guest Additions... Copying additional installer modules ... Installing additional modules ... Building the VirtualBox Guest Additions kernel modules Building the main Guest Additions module [ OK ] Building the shared folder support module [ OK ] Building the OpenGL support module [ OK ] Doing non-kernel setup of the Guest Additions [ OK ] Starting the VirtualBox Guest Additions [ OK ] Installing the Window System drivers Installing X.Org Server 1.14 modules [ OK ] Setting up the Window System to use the Guest Additions [ OK ] You may need to restart the hal service and the Window System (or just restart the guest system) to enable the Guest Additions. Installing graphics libraries and desktop services component[ OK ]All is now ready to reboot your system for VirtualBox Guest Additions to take effect. If you installation fails from some reason make sure to read
/var/log/vboxadd-install.logfor additional information the help you resolve your problem.