Update Centos to version 7.6
Centos is regularly updated - when the number after the . (dot) is updated is it a minor update. But still minor updates brings new and fresh software in the latest releases.
Centos 7.6 is not compatible with VirtualBox 5.2.22 and the new 7.6 kernel does not yet contain fixes to the error that makes the mouse not working correct.
Update VirtualBox to version 6.something and then update your Centos.
If you accedentially updated your Centos first the it can be a bit problematic to install the VirtualBox extension because the mouns doesn't work in the mix of Viirtualbox 5.2.22 drivers and Centos 7.6 drivers.
Follow these instructions and you should be up running soon:
1. Update VirtualBox to version 6.something
2. Start your Centos - hope that yakuake starts automatically.
In VirtualBox menu click on Devices and select Optical Drives. In this menu select Force unmount if it is available.
3. Open yakuake and execute
] $ sudo mkdir -p /mnt/cd ] $ sudo mount -t iso9660 /dev/sr0 /mnt/cd ] $ cd /mnt/cd ] $ ./autorun.sh ] $ sudo reboot now
after the reboot your mouse may be working again and the window resizes to its maximum.
4. After reboot it is a good idea to update the Centos software to the latest by performing:
] $ sudo yum update
if you get a new kernel reboot.
5. Currently there is a bug in the kernel delivered from Centos. A patched version that will work correctly is over at https://people.centos.org/toracat/kernel/7/plus/bug15570new/kernel-3.10.0-957.1.3.bug15570.plus.el7.x86_64.rpm
] $ sudo yum install https://people.centos.org/toracat/kernel/7/plus/bug15570new/kernel-3.10.0-957.1.3.bug15570.plus.el7.x86_64.rpm
reboot and maybe install the VirtualBox extension to this kernel again.