Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Dec 2011 12:33:54 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Greg Byshenk <freebsd@byshenk.net>
Cc:        freebsd-emulation@freebsd.org, Andriy Gapon <avg@freebsd.org>
Subject:   Re: "headed" virtualbox + vnc
Message-ID:  <alpine.BSF.2.00.1112011226190.12893@wonkity.com>
In-Reply-To: <20111201175643.GJ75313@portland.byshenk.net>
References:  <4ED76F0B.6090603@FreeBSD.org> <alpine.BSF.2.00.1112010916230.10195@wonkity.com> <4ED7B320.5020007@FreeBSD.org> <20111201175643.GJ75313@portland.byshenk.net>

index | next in thread | previous in thread | raw e-mail

On Thu, 1 Dec 2011, Greg Byshenk wrote:

> On Thu, Dec 01, 2011 at 07:02:24PM +0200, Andriy Gapon wrote:
>> on 01/12/2011 18:17 Warren Block said the following:
>>> On Thu, 1 Dec 2011, Andriy Gapon wrote:
>
>>>> Is it possible to start a guess VM with GUI and also be able to access it via VNC?
>>>> All google hits for freebsd+virtualbox+vnc are about VBoxHeadless.
>>>
>>> net/x11vnc installed in the guest should work.
>>
>> Of course that's not what I meant/wanted.
>
> It's about as close as you can get, I think.
>
> If I understand aright, "standard" VNC uses its own display, which
> means that it can't somehow "attach" to an existing X display.
>
> I've never used it, but according to its description, x11vnc -does-
> allow you to connect to a running X display:
>
> 	"x11vnc differs from traditional UNIX VNC servers in that
> 	it is accessing a real X displays that may already be in
> 	progress rather than creating its own X server for clients
> 	to connect to."

Yes, I've used it and it works pretty well.  Another option is to always 
run the VM guest headless and use a VNC client on the host to connect to 
it "locally".  That works too, and is similar to using the direct 
VirtualBox window.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1112011226190.12893>