Page 1 of 1

Dysfunctional guest additions in Arch Linux guest w/ Openbox

Posted: 7. Mar 2011, 19:12
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 19 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] 

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

Posted: 7. Mar 2011, 19:31
by Perryg

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

Posted: 7. Mar 2011, 21:57
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??

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

Posted: 7. Mar 2011, 22:10
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.

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

Posted: 10. Mar 2011, 23:33
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.

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

Posted: 13. Mar 2011, 04:23
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.