I'm running VirtualBox 3.1.4beta on Windows 7, my guest OS is Debian squeeze/sid, with 2.6.26-2-amd64 kernel. I did everything they suggest here: http://forums.virtualbox.org/viewtopic.php?f=3&t=15679 and more (installing ksmg, or whatsitsname and other packages), my KERN_DIR is set...but nothing seems to work. The kernel module cannot be created and I always get the error message:
Makefile:147: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
Okay, turns out problem was on my side, my aptitude was completely corrupted.
So now I'm running the Debian testing version, with 2.6.32 kernel. I managed to install the guest additions version 3.1.4beta2 (the session info displays them as "activated"), but
1. the seamless mouse does not work
2. whenever I switch to host and back, mouse wheel (scroll) stops working. I have to switch the guest off (saving the configuration) and back and it works again.
Anyone having similar problems?
Update: As for shared folders, I can only mount them read-only for normal users. Even when the mount point has read/write rights, the mounted folder does not inherit the rights (see attachment for an example)
There seems to be a slight bug with the mouse in certain versions of Linux. Specifically the newer kernels where they are deprecating hal.
For now (as a temporary fix) create /etc/X11/xorg.conf and add the following.
So you don't have the guest additions installed?
My Debian squeeze did not have an xorg.conf because they are not using it any longer.
I was however able to change my resolution to any size I wanted (after I installed the guest additions) with the mouse of the host+F toggle for full screen.
Defined Mode sizes in the xorg.conf will prevent the auto resize from happening.
Also now you have (2) mouse entries and that is not going to work either. Comment out the top part and try it with the section I sent and see if it will work. You will need to log out and back in for this to take effect.
I really do have the guest additions installed...the automatic adjustment did not work, for example in the fullscreen mode, I had a large grey screen with my desktop inside.
Now I deleted everything from xorg.conf, except for the Mouse entry and the seamless mouse works, yay. Thank you.
The adjustment now works for full screen, but not smaller window sizes (which is okay with me).
I really do have the guest additions installed...the automatic adjustment did not work, for example in the fullscreen mode, I had a large grey screen with my desktop inside.
Now I deleted everything from xorg.conf, except for the Mouse entry and the seamless mouse works, yay. Thank you.
The adjustment now works for full screen, but not smaller window sizes (which is okay with me).
Makefile:23: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.. Stop.
I set KERN_DIR to /usr/src/linux-headers-2.6.32-3-amd64 and /usr/src/linux-headers-2.6.32-3-common, nothing helped. Maybe I cannot install the linux-headers package correctly? This is what happens: