Need X-server to run in bhyve guest

Victor Sudakov vas at sibptus.ru
Mon Dec 2 14:28:08 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.

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!

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20191202/8f52c005/attachment.sig>


More information about the freebsd-virtualization mailing list