Guest Additions not working on CentOS
Solution 1:
This is a simple fix, first install dependent drivers:
yum -y install xorg-x11-drivers xorg-x11-utils
and re-run the guest additions script
Solution 2:
@user1836766 I did what I directed. However, after installing another message came up:
VBoxClient: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory modprobe vboxguest failed
so I solved the problem like this:
$ sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
$ sudo yum install perl gcc dkms kernel-devel kernel-headers make bzip2
$ reboot
$ mount /dev/cdrom /mnt
$ cd /mnt
$ ./VBoxLinuxAdditions.run
$ reboot