I tried to create a virtual environment using CentOS7 and VirtualBox, but the pointer does not return to the original OS unless I press the host key, and this article is for those who do not know how to adjust the screen.
Windows10,64bit Oracle VirtualBox 6.0.14 CentOS-7x86_64-DVD-1908 linux redhat64bit
The other day, I created a virtual environment for linux using CentOS7, but I found it difficult to operate the pointer and screen size, so I checked it and enabled the tab for mouse integration and automatic resolution resizing. I learned that it can be solved. It seems that the solution is to put GuestAdditon in the virtual environment to enable these. This can be done from Device> Insert Guest Addtions CD image in the virtualbox tab. However, even if I did this, the changes were not reflected, so I wrote an article in the hope that it would help those who are similarly stuck.
I installed it referring to https://youtu.be/EdX-2ci1XtQ.
$ping -c 3 www.google.com
$yum update kernel -y
$yum install gcc kernel-devel kernel-header
Now that you've done that, insert the GuestAddtions CD image. It can be executed from Device> Insert GuestAddtions CD image in the tab of virtualbox. Press Run Popup to run it.
And when you restart again, you can change the settings.