[LINUX] Introduce Guest Additions in CentOS7 to enable mouse integration and automatic resolution resizing.

What kind of person is the article for?

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.

Operating environment

Windows10,64bit Oracle VirtualBox 6.0.14 CentOS-7x86_64-DVD-1908 linux redhat64bit

Reason for writing the article

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.

What went

I installed it referring to https://youtu.be/EdX-2ci1XtQ.

$su
$ping -c 3 www.google.com
$uname -a
$yum update kernel -y
$reboot
$su
$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. image.png image.png

$reboot

And when you restart again, you can change the settings.

Recommended Posts

Introduce Guest Additions in CentOS7 to enable mouse integration and automatic resolution resizing.
[Blender] How to handle mouse and keyboard events in Blender scripts