From nobody Tue Nov 05 21:09:16 2024 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XjgvP6XBVz5bc0J for ; Tue, 05 Nov 2024 21:09:37 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from webmail5.jnielsen.net (webmail5.jnielsen.net [69.87.218.172]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.freebsdsolutions.net", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XjgvP42b7z4bTD for ; Tue, 5 Nov 2024 21:09:37 +0000 (UTC) (envelope-from lists@jnielsen.net) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple ([50.207.241.62]) (authenticated bits=0) by webmail5.jnielsen.net (8.17.2/8.17.2) with ESMTPSA id 4A5L9RQR029087 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 5 Nov 2024 14:09:30 -0700 (MST) (envelope-from lists@jnielsen.net) X-Authentication-Warning: webmail5.jnielsen.net: Host [50.207.241.62] claimed to be smtpclient.apple Content-Type: text/plain; charset=utf-8 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.1\)) Subject: Re: bhyve on serial switch virtual terminal From: John Nielsen In-Reply-To: <352r31oo-npr3-490q-qon3-9r5qqn3o506q@yvfgf.mnoonqbm.arg> Date: Tue, 5 Nov 2024 14:09:16 -0700 Cc: "virtualization@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <352r31oo-npr3-490q-qon3-9r5qqn3o506q@yvfgf.mnoonqbm.arg> To: "Bjoern A. Zeeb" X-Mailer: Apple Mail (2.3776.700.51.11.1) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6364, ipnet:69.87.218.0/24, country:US] X-Rspamd-Queue-Id: 4XjgvP42b7z4bTD X-Spamd-Bar: ---- On Nov 4, 2024, at 6:25=E2=80=AFPM, Bjoern A. Zeeb = wrote: >=20 > this is probably a FAQ ... if you run bhyve in an xterm with nmdm > console and boot a freebsd, how can you then switch terminals of the > guest? You cannot. Running bhyve in this way provides you with a SERIAL console = which (even on real hardware) has no terminal-switching ability; it=E2=80=99= s just a single tty. > The installer used to use a different screen for logging information = or > providing a shell; now I have no idea if bsdinstall hsa similar ways > but the general point is we don't have a 'send key sequence' to the > guest, do we? I don=E2=80=99t think bhyve has special support for that, no. If you are = running, for example, cu to access your nmdm device then you can look at = cu(1) to see what commands it supports. > Ctrl+Alt+F2 will never reacch the guest but get one out of X... and > likewaise a lot of other things. Is there an escape sequence or > anything for this or is the answer "use vnc"? If you want a full-featured console (even text-only) then yes, you = probably should use the VNC graphics emulation in bhyve. JN