Need X-server to run in bhyve guest
Rodney W. Grimes
freebsd-rwg at gndrsh.dnsmgr.net
Tue Dec 3 08:19:56 UTC 2019
> 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 at freebsd.org
More information about the freebsd-virtualization
mailing list