From owner-freebsd-virtualization@freebsd.org Thu Dec 5 01:32: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 4C4661B4F43 for ; Thu, 5 Dec 2019 01:32: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 47Sys30Wrtz4Zyh for ; Thu, 5 Dec 2019 01:32:54 +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 xB51WjUQ041699; Wed, 4 Dec 2019 17:32:45 -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 xB51Wiwt041698; Wed, 4 Dec 2019 17:32:44 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201912050132.xB51Wiwt041698@gndrsh.dnsmgr.net> Subject: Re: Need X-server to run in bhyve guest In-Reply-To: <20191202163408.GA18034@admin.sibptus.ru> To: Victor Sudakov Date: Wed, 4 Dec 2019 17:32:44 -0800 (PST) CC: freebsd-virtualization@freebsd.org 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: 47Sys30Wrtz4Zyh 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.65)[-0.650,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.69)[-0.695,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)[]; 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: Thu, 05 Dec 2019 01:32:56 -0000 > Victor Sudakov wrote: > > > > Fine, I will experiment with that. Maybe Gnome or xfce will recognize > > this console as a monitor. > > > > Thank you for the hint, Rodney! > > Nope, would not run for me in the VNC console (see below). Did you do > anything special? > > /usr/local/bin/startxfce4: Starting X server > > > X.Org X Server 1.18.4 > Release Date: 2016-07-19 > X Protocol Version 11, Revision 0 > Build Operating System: FreeBSD 12.0-RELEASE-p12 amd64 > Current Operating System: FreeBSD uefi1.sibptus.ru 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC amd64 > Build Date: 14 November 2019 08:46:03AM > > Current version of pixman: 0.38.4 > Before reporting problems, check http://wiki.x.org > to make sure that you have the latest version. > Markers: (--) probed, (**) from config file, (==) default setting, > (++) from command line, (!!) notice, (II) informational, > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > (==) Log file: "/var/log/Xorg.0.log", Time: Mon Dec 2 23:28:28 2019 > (==) Using default built-in configuration (30 lines) > scfb trace: probe start > scfb trace: probe done > (EE) > Fatal server error: > (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices > (EE) > (EE) > Please consult the The X.Org Foundation support > at http://wiki.x.org > for help. > (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. > (EE) > (EE) Server terminated with error (1). Closing log file. > xinit: giving up > xinit: unable to connect to X server: Connection refused > xinit: server error > TO fix some of your issues, ie the fact that the kernel boot messages and the installer do not appear in the vnc display if you drop to the loader prompt during the boot process and set serial_boot="NO" then you get the kernel boot messages and the installer in the vnc output. Once you finished the install adding: boot_serial="NO" to /boot/loader.conf works around the fact the kernel boot messages are going to a serial console. This *may* effect x11 startup, I havent got to that part yet... > Victor Sudakov, VAS4-RIPE, VAS47-RIPN -- Rod Grimes rgrimes@freebsd.org