From owner-freebsd-emulation@FreeBSD.ORG Tue Jan 15 23:29:35 2013 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A4BC0354 for ; Tue, 15 Jan 2013 23:29:35 +0000 (UTC) (envelope-from soeren.schroeder@gmail.com) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx1.freebsd.org (Postfix) with ESMTP id 63FD225A for ; Tue, 15 Jan 2013 23:29:35 +0000 (UTC) Received: by mail-vc0-f176.google.com with SMTP id fo13so731271vcb.7 for ; Tue, 15 Jan 2013 15:29:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=BiAd1cRmUKYGYn8484vELtuPzoODcLNOUWXDoTsNojY=; b=S0fuJ6aMDZ8q9UwcV0jBPBkxG34NsjFmaj4QEfpaxioFM1TSRDXHGbRdW6oGrgrCkO mUl+P83nMqlsc7VZTWDlw5NuFBRvftsC8FQBU5uemhAf4pOISDQZcrLjCZXBtvBK8wHB A/hLWibglxsajW3f0Y9iuU0sncKWE2ZEqhxmHinse4HJ5Owbiku33VCKI3n3BixqDHm6 CtngVLh5+F772pAbwJwGeQnnd+3gHF5M5IC5s514MqmYax7YfT4kGhq8I80GG+3y9ych aIazWXBpgVnNEoPtHRI9+/M72mN8Jn8NsvHbB5gncWCXfgqZMLDJVWlzedBwIYQfkn5M cccQ== MIME-Version: 1.0 Received: by 10.220.156.193 with SMTP id y1mr28685309vcw.56.1358292568884; Tue, 15 Jan 2013 15:29:28 -0800 (PST) Sender: soeren.schroeder@gmail.com Received: by 10.58.49.199 with HTTP; Tue, 15 Jan 2013 15:29:28 -0800 (PST) In-Reply-To: References: Date: Wed, 16 Jan 2013 00:29:28 +0100 X-Google-Sender-Auth: fXdgx4Xz8fET_hgiMWBU6cSlTwM Message-ID: Subject: Re: VNC in virtualbox-ose-4.2.6 From: =?ISO-8859-1?Q?S=F8ren_Schr=F8der?= To: Edho Arief Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-emulation@freebsd.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: sch@chaos.dk List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2013 23:29:35 -0000 On Tue, Jan 15, 2013 at 5:06 PM, Edho Arief wrote: > > This also costed me few hours googling and few recompiles to find this: > > https://forums.virtualbox.org/viewtopic.php?f=3D31&t=3D50085 > > and this http://lists.freebsd.org/pipermail/freebsd-ports/2012-September/= 078427.html Thanks for these excelent pointers. Just what I needed. A small recap for future googlers VNC implementation is changed from 4.1 to 4.2. No more --vnc option in 4.2. to enable VNC in 4.2, stil check the VNC option in "make config" before building the port, and then do (for a vm called test1): VBoxManage setproperty vrdeextpack VNC VBoxManage modifyvm test1 --vrdeproperty VNCPassword=3Dsomepass VBoxManage modifyvm test1 --vrdeauthlibrary null VBoxManage modifyvm test1 --vrdeport 5901 VBoxHeadless --startvm test1 if moving from a 4.1 installation and using the rc.conf way of starting vms, remove the "--vnc --vncport 5901 --vncpass=3Dsomepass" from vboxheadless_test1_flags getting rid of the --vncpass option was nice. Everyone with access to ps could see the password. Now the cleartext password is stored in the test1.vbox control file (with -rw------- rights) some google bait: FreeBSD Virtualbox 4.2 VNC howto enable vnc console headl= ess --=20 S=F8ren Schr=F8der. Obey Gravity - It's the law !