Mouse & Keyboard not working in Virtual Box VM

Warren Block wblock at wonkity.com
Mon Dec 7 14:18:41 UTC 2015


On Sun, 6 Dec 2015, John Aten wrote:

> I would love to provide the output of pkg info | grep 'xf86-input-' , 
> but unfortunately I totally destroyed the vm I was working in. When I 
> first tried to install guest additions from ports, I got an error that 
> said the source code was unavailable. When I got the source through 
> SVN, I messed up and got a different version than the one I was 
> running. I then installed the guest additions, so it appears that this 
> messed things up somehow, unless I made some other error. I followed 
> Colin House's suggestion to buildworld & buildkernel, following the 
> instructions in the handbook, but somehow messed everything up; after 
> that the VM wouldn't boot at all, so I decided to just start over.

Probably an error with mergemaster.  That could be repaired, given time.

As far as VirtualBox, yes, the guest additions kernel module needs to be 
built against the running code.  Once that is done, the Handbook section 
on VirtualBox shows X configuration:
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/virtualization-guest-virtualbox-guest-additions.html

The Handbook general Xorg configuration section has been rewritten 
recently:
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html


More information about the freebsd-questions mailing list