- Run the Virtual Machine installed using VirtualBox. Go to the Devices menu and select the "Install Guest Addons . . ." option. Reboot the machine.
- When the virtual machine is shutdown, you should be able to see that in the settings "CD/DVD-ROM" section will be configured for the "VBoxGuestAdditions.iso".
- On the Virtual Machine startup, you shall be able to see this iso mounted and have icon on the desktop.
- Before these Addons can be installed certain dependencies like make, gcc, kernel-headers and kernel-devel needs to be installed. These can be done using the following commands:
- #] yum install make
- #] yum install gcc-c++
- #] yum install kernel-headers
- #] yum install kernel-devel
- When the dependencies are installed, we proceed installing the addons
- #] cd /media/VBOXADDITIONS_2.0.6-39755/
- #] sh ./VBoxLinuxAdditions-x86.run
- Reboot the Virtual Machine. Now fire the commands to get the Display in the System > Administration menu.
- #] yum install system-config-display
- Now you can open the System > Administration > Display window. In the Hardware tab, select the VBoxVideo drivers in the Video Card configuration. Press OK two times and reboot the machine.
- On restart, again open the Display window. If the desired resolution is not being displayed then you have to manually modify the /etc/X11/xorg.conf file.
- Open the /etc/X11/xorg.conf file . Modify the Section "Screen". You need to add the Modes.
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768"
EndSubSection
EndSection