Bhyve and vnc
D'Arcy Cain
darcy at druid.net
Mon Jul 13 13:26:56 UTC 2020
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 have
to do is add 'graphics="yes"' to the config for it to start a VNC server but
I can't seem to get this to work. Here is my config for a FreeBSD guest:
guest="FreeBSD"
#loader="bhyveload"
loader="uefi"
graphics="yes"
cpu=2
memory=1024M
network0_type="virtio-net"
network0_switch="public"
disk0_type="virtio-blk"
disk0_name="disk0.img"
uuid="805a2997-3d2a-11ea-8cfd-b4b52fcc4894"
network0_mac="22:22:22:22:22:01"
boot_serial=no
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?
--
D'Arcy J.M. Cain <darcy at 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 at VybeNetworks.com, VoIP: sip:darcy at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20200713/9386a492/attachment.sig>
More information about the freebsd-virtualization
mailing list