Page 2 of 3

Posted: 28. Nov 2008, 00:01
by Sasquatch
Try to disable it and re-enable it. Go to Full Screen a few times and hopefully it will resize.

Posted: 10. Feb 2009, 16:36
by user888
Same problem over here. Auto-resize works with openSUSE 11.1 (32-bit) as guest, but not with Centos 5.2 (32-bit) as guest. Using Virtual Box 2.1.2 on WindowsXP SP3 host /w guest additions.

Posted: 20. Feb 2009, 08:43
by BNineFounder
user888 wrote:Same problem over here. Auto-resize works with openSUSE 11.1 (32-bit) as guest, but not with Centos 5.2 (32-bit) as guest. Using Virtual Box 2.1.2 on WindowsXP SP3 host /w guest additions.
According to the VBox user manual, if you want your Linux guest's auto-resize to work, your guest Linux distro (except FC 9) must use Xorg 1.3 or higher. I use CentOS 5.2 and it shows the Xorg version as 1.1.x. Guess we're out of luck and just have to edit the xorg.conf file.

Posted: 20. Feb 2009, 08:50
by mega_newbie
BNineFounder,
looks like you are most correct


on my Centos5.2 xorg.conf file edited for my desired resolution looks like this:

Code: Select all

# Xorg configuration created by system-config-display

Section "ServerLayout"
	Identifier     "single head configuration"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "VBoxMouse"
	Driver      "vboxmouse"
	Option	    "CorePointer"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	ModelName    "LCD Panel 1920x1200"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "vboxvideo"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes     "1920x1200" "1680x1050" "1024x768"
	EndSubSection
EndSection


Let's hope this helps some people out :-D

Posted: 20. Feb 2009, 15:13
by Sasquatch
Mega_newbie, that is about the same xorg.conf file I posted several times here, though it is made on Ubuntu. And for the GA in 2.1.4, it will keep the resolution that you set in xorg.conf, and not a dynamic resolution as you would have if you don't note any resolution in it. You should only need the 'Driver "vboxvideo"' entry.

Posted: 20. Feb 2009, 19:46
by BNineFounder
mega_newbie wrote:on my Centos5.2 xorg.conf file edited for my desired resolution looks like this: [snip] Let's hope this helps some people out :-D
It did indeed help. Thank you. I couldn't find my xorg.conf file that I had backed up for CentOS on my computer, but yours worked!

Sasquatch, I appreciate your advice. Sounds like you were being a little 'sharp' with mega newbie, but his post did help.

Thank you all! :D

Posted: 21. Feb 2009, 00:53
by Sasquatch
It was meant as advise, in case he was wondering why his Guest wouldn't resize (or for any other user that would use his xorg.conf). I had no intention of being 'sharp' or negative, just informative.

Re: How to install Guest Additions in CentOS 5.1

Posted: 4. Mar 2009, 23:13
by Cor-newbie
Just wanted to say after making the changes to my xorg.conf as mega-newbie posted, the full screen mode works perfectly. Thanks!

Re: How to install Guest Additions in CentOS 5.1

Posted: 22. May 2009, 23:23
by naitsirhc
Fighting with english language, but I understood everything and could solve my problems too...

Thanx so much to everyone people who post in this thread...

Thank U! :mrgreen:

Re: How to install Guest Additions in CentOS 5.1

Posted: 18. Jun 2009, 20:20
by dkd903
There is a very nicely done guide on explaining the entire process of installing the Guest Additions for a Linux Guest. The article also gives an insight to all the problems that you may encounter:
http://digitizor.com/2009/05/26/how-to- ... nux-guest/

Re: How to install Guest Additions in CentOS 5.1

Posted: 2. Jul 2009, 14:39
by Sasquatch
dkd903 wrote:There is a very nicely done guide on explaining the entire process of installing the Guest Additions for a Linux Guest. The article also gives an insight to all the problems that you may encounter:
http://digitizor.com/2009/05/26/how-to- ... nux-guest/
The version he uses is a bit outdated. 1.5.6 is quite old for software standards, it was released over a year ago. I've made a howto myself as you can see at the top of the topic listing. You don't have to copy the install file to anywhere, just run the file from the mount location. I"ve noted a few possible things you can expect in it too, though nothing yet about OpenGL.

Re: How to install Guest Additions in CentOS 5.1

Posted: 5. Aug 2010, 06:28
by yonas
The first post by yoyo works for me with:
  • VirtualBox 3.2.6
    Guest OS: CentOS 2.6.18-194.8.1.el5 #1 SMP Thu Jul 1 19:07:06 EDT 2010 i686 i686 i386 GNU/Linux
    Host OS: Ubuntu 10.04
After logging into gnome, I can go to full-screen.

need help with additions

Posted: 7. Sep 2010, 13:15
by lebeg
Can't find the sources package! Can anyone help me out?

Re: How to install Guest Additions in CentOS 5.1

Posted: 7. Sep 2010, 20:46
by Sasquatch
Version too old so the repo is down?

Re: How to install Guest Additions in CentOS 5.1

Posted: 25. Jan 2011, 20:24
by john.doe
I know this is an old thread, but Guest Additions still don't work right in CentOS using the standard install process. So, here's what worked for me:

Code: Select all

sudo -s
yum install kernel-devel
yum install gcc
cd /media/VBOXADDITIONS_4.0.2_69518
sh VBoxLinuxAdditions.run
My environment:

Host OS: Windows 7
Guest OS: CentOS 5.5 64 bit
VBox: 4.0.2 r69518