From owner-freebsd-emulation@FreeBSD.ORG Tue Apr 27 08:46:11 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 490CE106566B for ; Tue, 27 Apr 2010 08:46:11 +0000 (UTC) (envelope-from kvasilev@cellnetrix.com) Received: from cellnetrix.com (office.cellnetrix.com [80.243.14.38]) by mx1.freebsd.org (Postfix) with ESMTP id C607E8FC15 for ; Tue, 27 Apr 2010 08:46:10 +0000 (UTC) Received: from localhost (localhost.com [127.0.0.1]) by cellnetrix.com (Postfix) with ESMTP id 6ABEE189E04F for ; Tue, 27 Apr 2010 12:46:08 +0400 (MSD) X-Virus-Scanned: amavisd-new at cellnetrix.com Received: from cellnetrix.com ([127.0.0.1]) by localhost (c-dev.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8zWwGjMA61rs for ; Tue, 27 Apr 2010 12:46:05 +0400 (MSD) Received: by cellnetrix.com (Postfix, from userid 1009) id 9CC26189E04A; Tue, 27 Apr 2010 12:46:05 +0400 (MSD) X-Spam-Checker-Version: SpamAssassin 3.2.2 (2007-07-23) on c-dev.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS, HTML_MESSAGE, MIME_HTML_ONLY autolearn=no version=3.2.2 Received: from [192.168.2.191] (unknown [192.168.2.191]) by cellnetrix.com (Postfix) with ESMTP id 48727189E043 for ; Tue, 27 Apr 2010 12:46:03 +0400 (MSD) Message-ID: <4BD6A433.6090900@cellnetrix.com> Date: Tue, 27 Apr 2010 12:45:39 +0400 From: Konstantin Vasilev User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 To: freebsd-emulation@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: text/plain; charset="KOI8-R" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: [PATCH] VirtualBox headless VNC support by LibVNCServer (20100421) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 08:46:11 -0000 Hi all, I try this patch. All works well! Only one question. Why command VBoxHeadless -v off --startvm mayVMname doesn't go to background and doesn't release console? -- With best regards, Konstantin Vasilyev Head of Department Service Platforms Support Cellnetrix R&D Center Proezd No. 4922, 4/3, office 18, Zelenograd, Moscow, 124498, Russia Tel. : +7 499 995 0773 ext 104 Fax : +7 499 995 0773 Mob. : +7 916 638 8046 Skype : konstantin_vasiliev Web : [1]http://www.cellnetrix.com Cellnetrix Head Office Holstenkamp 54 D-22525 Hamburg, Germany Tel. : +49 40 891 062 Fax : +49 40 891 064 22.04.2010 10:43, Daisuke Aoyama pishet: Hi all, First, thank you for porting great software and thank you for using my patch. This archive contains an individual patch files and a modified Makefile for virtualbox-ose 3.1.6_3. Please select an options you want before building. And make it by normal way. I tested the binary on FreeNAS 0.7.1 stable (FreeBSD 7.2-RELEASE-p7 amd64/i386 kernel) and FreeNAS 0.7.2 devel (FreeBSD 7.3-RELEASE amd64/i386 kernel). What's new? ----------- Fix some bugs. Add modifier hook such as AltGr. Add the ability to parse non-US keymaps. (the code is referred to Hubert Tournier's patch) How to use ---------- # cd /usr/ports/emulators/virtualbox-ose # tar xvf /path/to/vboxvnc-20100421.tar.gz # tar xvf /path/to/vboxint18-20100310.tar.gz (optional) # make config # make It provides an internal VNC server for guest OS console access in VBoxHeadless frontend. Supported Options: -v, -vnc, --vnc on|off Enable (default) or disable the VNC Server -a, -vncaddress, --vncaddress IP address the VNC server will bind to -p, -vncport, --vncport Port number the VNC server will bind to -k, -vnckeymap, --vnckeymap Keyboard mapfile (default: builtin US) -S, -vncsecret, --vncsecret VNC Authentication secret three options at one line is an equivalent option, for example: "-v on", "-vnc on", "--vnc on" are same feature. -v option specify whether VNC server starts in the machine. default is on (enable). -a and -p options specify IP address and port number of VNC server. default IP is wildcard, port is 5900. If you have multiple IPs(NICs) in your system, you can select the listen address of the server. -k option specify the keyboard layout convert from VNC keys to Scancodes. default is US standard 101keys. (I tested only US 101 keyboard) If you want another keyboard, you can spcify the path of kbdmap(5). In the standard installation of FreeBSD, it's located in /usr/share/syscons/keymaps/. for example, "-k /usr/share/syscons/keymaps/jp.106.kbd" uses JP 106 keyboard. -S option specify the password of the VNC server. However, it have security risk in common server. It assumed used with FreeNAS (limited user environment). Please consider the risk by using command line. When starting the VM, the proctitle is changed like below (you can see by "ps axww"): VBoxHeadless: VM: TestVM4 Port: 5900 Auth: off (VBoxHeadless) vboxint18-20100310.tar.gz (optional patch): [PATCH] VirtualBox INT18 patch for gPXE iSCSI boot/install [2]http://lists.freebsd.org/pipermail/freebsd-emulation/2010-March/ 007540.html _______________________________________________ [3]freebsd-emulation@freebsd.org mailing list [4]http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to [5]"freebsd-emulation-unsubscribe@freebsd.org" References 1. http://www.cellnetrix.com/ 2. http://lists.freebsd.org/pipermail/freebsd-emulation/2010-March/007540.html 3. mailto:freebsd-emulation@freebsd.org 4. http://lists.freebsd.org/mailman/listinfo/freebsd-emulation 5. mailto:freebsd-emulation-unsubscribe@freebsd.org