How to install Guest Additions in CentOS 5.1

Discussions about using Linux guests in VirtualBox.

Postby Sasquatch » 28. Nov 2008, 00:01

Try to disable it and re-enable it. Go to Full Screen a few times and hopefully it will resize.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Postby user888 » 10. Feb 2009, 16:36

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.
user888
 
Posts: 1
Joined: 10. Feb 2009, 16:34

Postby BNineFounder » 20. Feb 2009, 08:43

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.
BNineFounder
 
Posts: 2
Joined: 20. Feb 2009, 08:34

Postby mega_newbie » 20. Feb 2009, 08:50

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   Expand viewCollapse view
# 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
mega_newbie
 
Posts: 1
Joined: 20. Feb 2009, 08:46

Postby Sasquatch » 20. Feb 2009, 15:13

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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Postby BNineFounder » 20. Feb 2009, 19:46

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
BNineFounder
 
Posts: 2
Joined: 20. Feb 2009, 08:34

Postby Sasquatch » 21. Feb 2009, 00:53

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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: How to install Guest Additions in CentOS 5.1

Postby Cor-newbie » 4. Mar 2009, 23:13

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

Re: How to install Guest Additions in CentOS 5.1

Postby naitsirhc » 22. May 2009, 23:23

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:
Never be so BIG to ignore the small people, we also live in this world... :wink:
naitsirhc
 
Posts: 8
Joined: 15. May 2009, 00:55
Primary OS: MS Windows XP
VBox Version: OSE Debian
Guest OSses: ubuntu, centos, windows

Re: How to install Guest Additions in CentOS 5.1

Postby dkd903 » 18. Jun 2009, 20:20

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-install-virtualbox-guest-additions-for-a-linux-guest/
dkd903
 
Posts: 2
Joined: 18. Jun 2009, 08:55
Primary OS: Fedora 10
VBox Version: OSE Fedora
Guest OSses: Windows 7, Fedora 11

Re: How to install Guest Additions in CentOS 5.1

Postby Sasquatch » 2. Jul 2009, 14:39

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-install-virtualbox-guest-additions-for-a-linux-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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: How to install Guest Additions in CentOS 5.1

Postby yonas » 5. Aug 2010, 06:28

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.
yonas
 
Posts: 2
Joined: 5. Aug 2010, 06:21
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: xx

need help with additions

Postby lebeg » 7. Sep 2010, 13:15

Can't find the sources package! Can anyone help me out?
lebeg
 
Posts: 1
Joined: 7. Sep 2010, 13:13
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: CentOS

Re: How to install Guest Additions in CentOS 5.1

Postby Sasquatch » 7. Sep 2010, 20:46

Version too old so the repo is down?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: How to install Guest Additions in CentOS 5.1

Postby john.doe » 25. Jan 2011, 20:24

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   Expand viewCollapse view
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
john.doe
 
Posts: 76
Joined: 10. Feb 2009, 16:39
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: WinXP, Vista, 2003, 2008, various Linux distros and others

PreviousNext

Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 15 guests