From owner-freebsd-virtualization@freebsd.org Tue Dec 3 08:19:56 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E2AE21CCFE1 for ; Tue, 3 Dec 2019 08:19:56 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47Rvzc0kvnz43rt for ; Tue, 3 Dec 2019 08:19:55 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id xB38JsTZ033873; Tue, 3 Dec 2019 00:19:54 -0800 (PST) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id xB38JsNL033872; Tue, 3 Dec 2019 00:19:54 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201912030819.xB38JsNL033872@gndrsh.dnsmgr.net> Subject: Re: Need X-server to run in bhyve guest In-Reply-To: <20191202142806.GA15072@admin.sibptus.ru> To: Victor Sudakov Date: Tue, 3 Dec 2019 00:19:54 -0800 (PST) CC: FreeBSD Virtualization X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 47Rvzc0kvnz43rt X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-rwg@gndrsh.dnsmgr.net has no SPF policy when checking 69.59.192.140) smtp.mailfrom=freebsd-rwg@gndrsh.dnsmgr.net X-Spamd-Result: default: False [-0.41 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.83)[-0.831,0]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.51)[-0.511,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.04)[ip: (0.14), ipnet: 69.59.192.0/19(0.07), asn: 13868(0.03), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Dec 2019 08:19:56 -0000 > Rodney W. Grimes wrote: > > > Henrik Gulbrandsen wrote: > > > > On 2019-12-01 06:35, Victor Sudakov wrote: > > > > > If I were to test different desktop environments (gnome, xfce etc) in a > > > > > FreeBSD guest in bhyve, what X server (probably with vnc access, or rdp > > > > > access, or whatever?) would you advise? > > > > > > > > This will work with the normal X server and bhyve's built-in VNC if > > > > you run the guest with UEFI CSM and apply my Video BIOS patch: > > > > > > > > https://www.gulbra.net/freebsd-bhyve/ > > > > > > I'd prefer to stick to bhyveload for now. > > > > I would strongly encourage you to use vnc and UEFI bios mode > > in bhyve for what you are attempting to do. Unless your guess > > is not able to run a uefi frame buffer type display, which any > > recent FreeBSD should be just fine with. > > All right, I just tried to install FreeBSD 12.1 under vm-bhyve in UEFI > mode. > > Well, the installation was not trivial. > > At first, in the VNC client, I see the loader menu, then the "Loading > kernel..." message, and then a blank screen. Fine, I run "vm console" > and install via the serial console, the UEFI screen still being blank. *sigh* Thats broken If I make it to this weeks bhyve call I'll bring it up, this sounds like a loader to kernel handoff regression. > > Second, unless I select ZFS, there is no option to install on GPT+UEFI. > Fine, let's install on ZFS. Do you mean GPT+UFS? Not sure what the failure is here. I usually install MBR/(UFS or ZFS) so this is not a use case for me. > Installation complete, reboot... The serial console is available, the > UEFI VNC console is available too, though much later :-) :-( > Fine, I will experiment with that. Maybe Gnome or xfce will recognize > this console as a monitor. It should just be the scfb x11 driver. > > Thank you for the hint, Rodney! Glad to have moved you forward, even if it uncovered more sharp pokey edges of bhyve in the process. > Victor Sudakov, VAS4-RIPE, VAS47-RIPN -- Rod Grimes rgrimes@freebsd.org