Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 2020 09:26:48 -0400
From:      D'Arcy Cain <darcy@druid.net>
To:        freebsd-virtualization@freebsd.org
Subject:   Bhyve and vnc
Message-ID:  <36f27ff3-1a6d-31aa-abc0-8b588861088f@druid.net>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--XLBGlTzYDuCwEIsjaWncJE7iKVlG0LddH
Content-Type: multipart/mixed; boundary="AmcF06nDDjBxE7PawvXB9HcNbUdK91CwC"

--AmcF06nDDjBxE7PawvXB9HcNbUdK91CwC
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

I have been running bhyve for a couple of years using vm-bhyve.  It works=

just fine except for one thing.  All the searches I do say that all you h=
ave
to do is add 'graphics=3D"yes"' to the config for it to start a VNC serve=
r but
I can't seem to get this to work.  Here is my config for a FreeBSD guest:=


guest=3D"FreeBSD"
#loader=3D"bhyveload"
loader=3D"uefi"
graphics=3D"yes"
cpu=3D2
memory=3D1024M
network0_type=3D"virtio-net"
network0_switch=3D"public"
disk0_type=3D"virtio-blk"
disk0_name=3D"disk0.img"
uuid=3D"805a2997-3d2a-11ea-8cfd-b4b52fcc4894"
network0_mac=3D"22:22:22:22:22:01"
boot_serial=3Dno

Here is the output of info:

------------------------
Virtual Machine: freebsd
------------------------
  state: running (30366)
  datastore: default
  loader: uefi
  uuid: 805a2997-3d2a-11ea-8cfd-b4b52fcc4894
  uefi: default
  cpu: 2
  memory: 1024M
  memory-resident: 49524736 (47.230M)

  console-ports
    com1: /dev/nmdm-freebsd.1B

  network-interface
    number: 0
    emulation: virtio-net
    virtual-switch: public
    fixed-mac-address: 22:22:22:22:22:01
    fixed-device: -
    active-device: tap2
    desc: vmnet-freebsd-0-public
    mtu: 1500
    bridge: vm-public
    bytes-in: 0 (0.000B)
    bytes-out: 0 (0.000B)

  virtual-disk
    number: 0
    device-type: file
    emulation: virtio-blk
    options: -
    system-path: /VM/freebsd/disk0.img
    bytes-size: 21474836480 (20.000G)
    bytes-used: 4230779904 (3.940G)

and the listing:

NAME      DATASTORE  LOADER  CPU  MEMORY  VNC  AUTOSTART  STATE
freebsd   default    uefi    2    1024M   -    Yes [2]    Running (30366)=


Am I missing something?

--=20
D'Arcy J.M. Cain <darcy@druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 788 2246     (DoD#0082)    (eNTP)   |  what's for dinner.
IM: darcy@VybeNetworks.com, VoIP: sip:darcy@druid.net

Disclaimer: By sending an email to ANY of my addresses you
are agreeing that:

1.  I am by definition, "the intended recipient".
2.  All information in the email is mine to do with as I see
    fit and make such financial profit, political mileage, or
    good joke as it lends itself to. In particular, I may quote
    it where I please.
3.  I may take the contents as representing the views of
    your company if I so wish.
4.  This overrides any disclaimer or statement of
    confidentiality that may be included or implied in
    your message.


--AmcF06nDDjBxE7PawvXB9HcNbUdK91CwC--

--XLBGlTzYDuCwEIsjaWncJE7iKVlG0LddH
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQSQJTNYM0vv3aTmBCs/5DDweYZnXQUCXwxhGAAKCRA/5DDweYZn
XX7zAQCqR1n1vhlB8Yz74BuGPk40wtVTgmzhmo3qEbPyJakKnwEA8JRebgQD/6vL
eWRHYmTo5SVAaXefRKvUtYiJ4OvDUA4=
=Zq6R
-----END PGP SIGNATURE-----

--XLBGlTzYDuCwEIsjaWncJE7iKVlG0LddH--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36f27ff3-1a6d-31aa-abc0-8b588861088f>