From owner-freebsd-virtualization@freebsd.org Mon Jul 13 13:26:56 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7B7B5363B37 for ; Mon, 13 Jul 2020 13:26:56 +0000 (UTC) (envelope-from darcy@druid.net) Received: from mail.vex.net (mail.vex.net [98.158.139.68]) by mx1.freebsd.org (Postfix) with ESMTP id 4B54Dv5CkSz3dx6 for ; Mon, 13 Jul 2020 13:26:55 +0000 (UTC) (envelope-from darcy@druid.net) Received: from dilbert.druid.net (unknown [216.105.80.84]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: darcy) by mail.vex.net (Postfix) with ESMTPSA id B7500770E9 for ; Mon, 13 Jul 2020 09:26:48 -0400 (EDT) To: freebsd-virtualization@freebsd.org From: D'Arcy Cain Subject: Bhyve and vnc Autocrypt: addr=darcy@druid.net; prefer-encrypt=mutual; keydata= mDMEXu32OxYJKwYBBAHaRw8BAQdAD839OEQVMqCs45KVwLKg4srvl51WsVhMpTGOd9z3Ym20 HUQnQXJjeSBDYWluIDxkYXJjeUBkcnVpZC5uZXQ+iJYEExYIAD4WIQSQJTNYM0vv3aTmBCs/ 5DDweYZnXQUCXu32OwIbAwUJCWYBgAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRA/5DDw eYZnXWAxAP9cDL1j4koUFRBNQyC4iMp/cx5KnozmtsFtiTrWdZBrIwD6A2rLFx60tJryd/qp SZpXk7UPDLH/PY1hstjx9WUbXQi4OARe7fY7EgorBgEEAZdVAQUBAQdAbK0SOaTRrkI2QAWz rCz29D2RDOgGTvEbDpyWiyA5RhQDAQgHiH4EGBYIACYWIQSQJTNYM0vv3aTmBCs/5DDweYZn XQUCXu32OwIbDAUJCWYBgAAKCRA/5DDweYZnXaNOAQDC77ymNjoMZQVgDCcmgZEk6IZxn45k nyW17OYCpRctvgD9Fg3aocAbHK7V9AhmSbDPxLNQygQUPjjU7Cyn97b1cQs= Message-ID: <36f27ff3-1a6d-31aa-abc0-8b588861088f@druid.net> Date: Mon, 13 Jul 2020 09:26:48 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="XLBGlTzYDuCwEIsjaWncJE7iKVlG0LddH" X-Rspamd-Queue-Id: 4B54Dv5CkSz3dx6 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of darcy@druid.net has no SPF policy when checking 98.158.139.68) smtp.mailfrom=darcy@druid.net X-Spamd-Result: default: False [-1.58 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.38)[-0.378]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; HAS_ATTACHMENT(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; AUTH_NA(1.00)[]; DMARC_NA(0.00)[druid.net]; NEURAL_HAM_SHORT(-0.13)[-0.131]; NEURAL_SPAM_LONG(0.03)[0.028]; SIGNED_PGP(-2.00)[]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; ASN(0.00)[asn:19842, ipnet:98.158.139.0/24, country:CA]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2020 13:26:56 -0000 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 | 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--