From owner-freebsd-virtualization@freebsd.org Mon Dec 2 14:28:08 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 36F2A1AB719 for ; Mon, 2 Dec 2019 14:28:08 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47RSBv4Y7Xz3QFP for ; Mon, 2 Dec 2019 14:28:07 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=99w0xizWIRUT4w0/EMfhqwDIE6VJDbHWghglNUto9SY=; b=Ok24UOC82Nqw3vwrbxddF1FemH VqBWgThUqfPtktylqIybWeVm39lZ5+Y6KY/Cd5DyFP0TXXLGHYsGYt4NfX+AbFPvYDsN8f8Cx04Ml CbAkHyK3ulQFzcSPLXYYDiXdVrOuTFXx3zrudvpVyCtVzx7c7f009A6LeXGKb3d0iUto=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1ibmgI-000407-4d for freebsd-virtualization@freebsd.org; Mon, 02 Dec 2019 21:28:06 +0700 Date: Mon, 2 Dec 2019 21:28:06 +0700 From: Victor Sudakov To: FreeBSD Virtualization Subject: Re: Need X-server to run in bhyve guest Message-ID: <20191202142806.GA15072@admin.sibptus.ru> References: <20191201160247.GB74303@admin.sibptus.ru> <201912011751.xB1HpSqA026863@gndrsh.dnsmgr.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: <201912011751.xB1HpSqA026863@gndrsh.dnsmgr.net> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 47RSBv4Y7Xz3QFP X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=Ok24UOC8; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-8.45 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; IP_SCORE(-3.35)[ip: (-9.87), ipnet: 2001:19f0:5000::/38(-4.93), asn: 20473(-1.92), country: US(-0.05)]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; 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: Mon, 02 Dec 2019 14:28:08 -0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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? > > >=20 > > > 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: > > >=20 > > > https://www.gulbra.net/freebsd-bhyve/ > >=20 > > I'd prefer to stick to bhyveload for now. >=20 > 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.=20 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. Second, unless I select ZFS, there is no option to install on GPT+UEFI. Fine, let's install on ZFS. 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. Thank you for the hint, Rodney! --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJd5R92AAoJEA2k8lmbXsY007YIALdsL7O7/7u3T8c7qbBvUuqJ 1Kj6yDqT4PZr9ZUoakZyztWw2HM4Oq0AZ41qMa1tRu/bwetv0eXb6LJRg0aWfy2v BlZUruoMP1OS8hE3Q0KO9jhsiD8W9y/+XcW8xT751TevEi8O7qkDnHbUCF3Sbldx uZ58XGDE+uDYcRvHzdB7R9nqz2vFrFCwMvnp+zJ8vQuxwud5v7Yw1l5pWAhix6DA t+mL/K2ywf7c+exTdCg7IePumxvHpb7tgEedi8o99UA4OY8ZG1vWwsff/xtCZrX3 KybG0HPxfDNuact+pOYvLOqJOM8pC9trM2uAtXbnLQtMqj+4ae8P4Bzg8qxfJIc= =svV0 -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ--