Dysfunctional guest additions in Arch Linux guest w/ Openbox

Discussions about using Linux guests in VirtualBox.
Post Reply
penyuan
Posts: 44
Joined: 5. Jun 2010, 13:01
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Arch Linux, Ubuntu 10.04

Dysfunctional guest additions in Arch Linux guest w/ Openbox

Post by penyuan »

Hello,
I have installed the latest Arch Linux (uname -r: "2.6.37-ARCH") with the latest Openbox window manager as a guest system on my Mac OS X 10.6.6 host running VirtualBox 4.0.4.
After installing the latest Guest Additions 4.0.4, mouse pointer integration works fine, but nothing else works:

(1) Even though "Auto-resize Guest Display" is checked, my guest system's display does not resize dynamically, not can I use it full screen.

(2) My clipboards are not synchronised between the guest and the host.

(3) I specified the directory /temp on my Mac OS X host to be shared with the guest with the name "temp". By following the howto on this forum on how to setup shared folders in a Linux guest ("sudo mount -t vboxsf temp ~/vboxshared", "vboxshared" is the folder I created in the guest for shared folders), I either get an error saying there is an invalid argument, or the entire guest system freezes.

What am I doing wrong to cause the three problems above? Thanks for your help.

Below are my log files.

/var/log/vboxadd-install.log
(see attachment)
vboxadd-install.log.tar.bz2
/var/log/vboxadd-install.log
(4.58 KiB) Downloaded 18 times
/var/log/vboxadd-install-x11.log

Code: Select all

VirtualBox Guest Additions installation, Window System and desktop setup
/var/log/VBoxGuestAdditions.log

Code: Select all

:: Starting the VirtualBox Guest Additions     [BUSY]    [DONE] 
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Dysfunctional guest additions in Arch Linux guest w/ Openbox

Post by Perryg »

penyuan
Posts: 44
Joined: 5. Jun 2010, 13:01
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Arch Linux, Ubuntu 10.04

Re: Dysfunctional guest additions in Arch Linux guest w/ Openbox

Post by penyuan »

Thanks, but the link points to how to use Arch Linux as a HOST, not as a guest system.
I did find one on using Arch Linux as guest, followed its intructions, but it didn't change anything for me.
Any other ideas??
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Dysfunctional guest additions in Arch Linux guest w/ Openbox

Post by Perryg »

The link I sent cover VirtualBox in ArchLinux. Section 3.2 explains how to get the guest additions installed, and where you are now.
Not knowing what you have done or have installed you need to make sure that you have installed the necessary packages to be able to build external kernel modules and then install the guest additions. Watch for errors and see if a log get created with regards to VBox or xorg that indicates what the problem was.
penyuan
Posts: 44
Joined: 5. Jun 2010, 13:01
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Arch Linux, Ubuntu 10.04

Re: Dysfunctional guest additions in Arch Linux guest w/ Openbox

Post by penyuan »

I will try to check for error messages.
In case it is something I did wrong during the installation (I installed the guest additions from the VB dropdown menu, and after it didn't work I installed it again from the Arch Linux repository), is there a way to cleanly remove VB additions from my Arch Linux guest so I can start over? Thanks.
penyuan
Posts: 44
Joined: 5. Jun 2010, 13:01
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Arch Linux, Ubuntu 10.04

Re: Dysfunctional guest additions in Arch Linux guest w/ Openbox

Post by penyuan »

Finally got it to work:

Add "VBoxClient-all" to the window manager's startup script. In the case of OpenBox, add "VBoxClient-all" to the first line of ~/.config/openbox/autostart.sh inside the Linux guest system. So far clipboard sharing, dynamic screen resize, seamless mode, and shared folders works by following the documentation. Thanks for your help.
Post Reply