From owner-freebsd-emulation@FreeBSD.ORG Fri Jun 1 20:52:49 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AFEA316A468 for ; Fri, 1 Jun 2007 20:52:49 +0000 (UTC) (envelope-from per@hedeland.org) Received: from pluto.hedeland.org (1-1-1-13a.mal.sth.bostream.se [82.182.84.27]) by mx1.freebsd.org (Postfix) with ESMTP id 115EC13C448 for ; Fri, 1 Jun 2007 20:52:48 +0000 (UTC) (envelope-from per@hedeland.org) Received: from pluto.hedeland.org (localhost [127.0.0.1]) by pluto.hedeland.org (8.13.6/8.13.1) with ESMTP id l51Kqbpr004140 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 1 Jun 2007 22:52:38 +0200 (CEST) (envelope-from per@pluto.hedeland.org) Received: (from per@localhost) by pluto.hedeland.org (8.13.6/8.13.1/Submit) id l51Kqa9s004139; Fri, 1 Jun 2007 22:52:36 +0200 (CEST) (envelope-from per) Date: Fri, 1 Jun 2007 22:52:36 +0200 (CEST) From: Per Hedeland Message-Id: <200706012052.l51Kqa9s004139@pluto.hedeland.org> To: scottro@nyc.rr.com, sean-freebsd@farley.org In-Reply-To: <20070531084434.F22646@thor.farley.org> X-Scanned-By: MIMEDefang 2.48 on 10.1.1.1 Cc: freebsd-emulation@freebsd.org Subject: Re: Running "Windows Emulation" headless ... possible? 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: Fri, 01 Jun 2007 20:52:49 -0000 Backing up a bit here... "Sean C. Farley" wrote: > >On Thu, 31 May 2007, Scott Robbins wrote: > >> On Thu, May 31, 2007 at 01:18:07AM -0300, Marc G. Fournier wrote: >>> >>> I want to run a Windows environment for one piece of software, but, I >>> don't want to run it on my machine, I want to run it on a remote >>> server ... basically, what I'd like to do is start up the 'VM', and >>> connect to it using vnc ... the idea is that the software needs to >>> run 24x7, but I need to be able to connect to it from multiple >>> locations throughout the day ... >>> >>> Is there something that I can do using ... Xvfb? Or something like >>> that? Anyone have experience with this sort of thing? For this purpose, I've found Xvnc (part of the tightvnc port/package) to work great. In particular back when I ran (mutiple) vmware it was *the* way to have them going regardless of the state of my X session, and available remotely - though actually for Windows in vmware I connected to a vnc server running on Windows rather than to Xvnc, that way I got rid of the annoying vmware console window altogether:-) (for *nix in vmware I had no use for the console other than when something got b0rken). >> At any rate, with qemu, you could set up the server with tap >> networking, give the MS machine its own address on the subnet, and run >> tightvnc server. > >Actually, QEMU has a built-in VNC server (-vnc). As far as I've been able to figure out, it doesn't have any support for authentication though, which may or may not be an issue depending on your environment. Personally I try to mitigate that by having it listen only on loopback, and tunnel vnc through ssh to the host for remote connections. I've also found it (too:-) to be a bit flaky, e.g. it seems to have a tendency to die (possibly pulling the whole qemu down) if you move the window around or hide/expose it a lot. The big advantage with it for me is that it brings total "headlessness" though, i.e. generally no need to run qemu under Xvnc, which I did back before -vnc existed. --Per Hedeland