Need X-server to run in bhyve guest

Rodney W. Grimes freebsd-rwg at gndrsh.dnsmgr.net
Sun Dec 8 01:35:40 UTC 2019


-- Start of PGP signed section.
> Jason Tubnor wrote:
> > On Thu, 5 Dec 2019 at 12:32, Rodney W. Grimes <freebsd-rwg at gndrsh.dnsmgr.net>
> > wrote:
> > >
> > > 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...
> > >
> > >
> > More coverage on the above as Rod describes can be found on the wiki (down
> > near the bottom):
> > 
> > https://wiki.freebsd.org/bhyve/UEFI
> 
> Jason and Rodney, thanks, it's useful to know, though for the present I
> was happy enough with the serial console installation.
> 
> Now I'd like to concentrate on the question how to start a graphical
> desktop environment in a bhyve guest.

Ok, found the issue, or atleast a work around... scfb is not probing correctly,
so create:
	/usr/local/etc/X11/xorg.conf.d/driver-scfb.conf
With this in it:

Section "Device"
     Identifier    "Card0"
     Driver        "scfb"
EndSection

Your x11 should then work fine....  I tested with xfce

-- 
Rod Grimes                                                 rgrimes at freebsd.org


More information about the freebsd-virtualization mailing list