From owner-freebsd-questions@FreeBSD.ORG Thu Jan 2 01:57:13 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4F071E09 for ; Thu, 2 Jan 2014 01:57:13 +0000 (UTC) Received: from mail4-b.eqx.gridhost.co.uk (mail4-b.eqx.gridhost.co.uk [95.142.156.15]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 17CC71760 for ; Thu, 2 Jan 2014 01:57:12 +0000 (UTC) Received: from [86.5.77.2] (helo=[192.168.0.17]) by mail4-b.eqx.gridhost.co.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.72) (envelope-from ) id 1VyWqV-0006Ju-IU for freebsd-questions@freebsd.org; Thu, 02 Jan 2014 01:13:11 +0000 From: Ben Paley Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: VirtualBox and Xorg Message-Id: Date: Thu, 2 Jan 2014 01:13:10 +0000 To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) X-Mailer: Apple Mail (2.1827) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jan 2014 01:57:13 -0000 Hello all, I=92ve installed 9.2-RELEASE in VirtualBox on a Macbook. It was, against = my expectations, pretty much the easiest install I=92ve ever done, but = I=92ve had trouble with Xorg. I followed the instructions at = http://www.freebsd.org/doc/handbook/virtualization-guest.html#virtualizati= on-guest-virtualbox-guest-additions - I=92ve installed = emulators/virtualbox-ose-additions successfully (as far as I can tell, = anyway; VB now lets me configure a shared directory, even though I don=92t= seem to be able to mount it because FreeBSD doesn=92t support the file = system). I=92ve added the vboxguest and vboxservice lines to rc.conf, = and I=92ve created /usr/local/etc/hal/fdi/policy/90-vboxguest.fdi with = permissions 644 owned by root:wheel. If I do startx with no configuration then I get a nice vanilla X but the = cursor doesn=92t respond. If I do "Xorg -configure=94 then the Device section in xorg.conf.new is = just like the one in the docs. The InputDevice is a little different: Section =93InputDevice=94 Identifier =93Mouse0=94 Driver =93vboxmouse=94 Option =93Protocol=94 =93auto=94 Option =93Device=94 =93/dev/sysmouse=94 Option =93ZAxisMapping=94 =934 5 6 7=94 EndSection =85but commenting out the extra lines doesn=92t seem to change anything: = if I do =93X -config /root/xorg.conf.new=94 then the screen goes black = and I=92m not sure what=92s happening. The cursor gets captured and = released by VirtualBox just as it should, but while it=92s captured it = becomes black or invisible or ceases to exist, or something. In any case = I don=92t think it moves, because when I release it, it shows up in the = same place even if I=92ve been wiggling my finger around. I have a feeling that the vboxmouse and vboxvideo aren=92t present, or = are improperly detected or something. Am I supposed to install them = separately? Or is there anything else obvious? Or non-obvious? I=92m not sure whether or not the system is using HAL - hal-0.5.14_20 is = installed, but I don=92t really know if I need the HAL policy file: but = it doesn=92t seem to make any difference if I move it. Thanks very much in advance, Ben=