Guest Additions problems in Sabayon Linux 5.3

Discussions about using Linux guests in VirtualBox.
Post Reply
nickolas360
Posts: 6
Joined: 8. Jul 2010, 02:58
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Chromium OS, Ubuntu 10.04, Linux Mint 9, Sabayon Linux 5.3

Guest Additions problems in Sabayon Linux 5.3

Post by nickolas360 »

I'm running Sabayon Linux 5.3 in Virtualbox (Windows Host). I've heard that Sabayon Linux comes with the Guest Additions as part of the system, but only Mouse Pointer integration is working. I've tried installing the Guest Additions manually, but I can't because the installation says that I already have a version installed. It did ask me if I still want to continue the installation, but the installation was canceled before I could type "Yes" or "No". How do I get all of the Guest Additions Features working?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Guest Additions problems in Sabayon Linux 5.3

Post by Perryg »

Sabayon is based on Gentoo. Which desktop did you install?
I am DLing the Gnome 5.3 desktop version now to see what the problem might be but more than likely will not have an answer until later tonight or tomorrow.
nickolas360
Posts: 6
Joined: 8. Jul 2010, 02:58
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Chromium OS, Ubuntu 10.04, Linux Mint 9, Sabayon Linux 5.3

Re: Guest Additions problems in Sabayon Linux 5.3

Post by nickolas360 »

I'm using the Sabayon GNOME 5.3 desktop version (x86).
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Guest Additions problems in Sabayon Linux 5.3

Post by Perryg »

Ok I have been able to compile the guest additions in Sabayon by installing the (linux-sabayon-sources-2.6.34). This must match the kernel.
Everything works (shared folders, mouse integrations, Etc) except the auto-resize which has been the problem in the past.
I see where the /etc/X11/xorg.conf has been modified by the guest additions installation so everything looks right but have not been able to find out why the problem persists.
I will see what I can find but this may take a while. You can actually manually set the screen size in the xorg.conf for now.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Guest Additions problems in Sabayon Linux 5.3

Post by Perryg »

OK I finally got it.
FIRST thing to do is to remove the original guest additions!
Then install (linux-sabayon-sources-2.6.34) must match your kernel
I then had to copy the /lib/rc/sh/function.sh to /sbin/ VBox was complaining about it not being there. I tried to make a symlink but that did not work.
I then needed to run equo install x11-libs/qt-opengl
Replace contents of /etc/X11/xorg.conf with the following

Code: Select all

Section "Device"
	Identifier  "Device-vboxvideo"
	Driver      "vboxvideo"
EndSection
Section "Screen"
	Identifier  "Screen-vboxvideo"
	Device      "Device-vboxvideo"
EndSection

Section "InputDevice"
	Identifier  "InputDevice-vboxmouse"
	Driver      "vboxmouse"
EndSection

Section "ServerLayout"
	Identifier  "Default Layout"
	Screen      "Screen-vboxvideo"
	InputDevice "InputDevice-vboxmouse"
EndSection
Then install the VirtualBox guest additions that you have.
nickolas360
Posts: 6
Joined: 8. Jul 2010, 02:58
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Chromium OS, Ubuntu 10.04, Linux Mint 9, Sabayon Linux 5.3

Re: Guest Additions problems in Sabayon Linux 5.3

Post by nickolas360 »

OK, I'm kind of a Linux newbie so could you tell me how to do what you just said? Thanks.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Guest Additions problems in Sabayon Linux 5.3

Post by Perryg »

Well you picked one of the hardest Linux OSes to cut your teeth on i must say.
Gentoo is more like BSD than Linux really and while Sabayon has automated a lot of things it does not have the best instructional forum around (IMHO)

Anyway I did explain everything that you need to do in the last post I made.
Use sulfer and search entropy for guest. purge the guest additions they have installed (OSE version)
Use sulfer to install the linux-sabayon-soruce-2.6.34
Copy the file I indicated.
Open a terminal and type sudo -i press enter type your password and press enter.
type equo install x11-libs/qt-opengl
Copy or type the code to place in the xorg.conf file and then install the Guest Additions that came with your VirtualBox
reboot and you should have it.
Post Reply