From nobody Mon May 1 14:13:58 2023 X-Original-To: freebsd-emulation@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 4Q94vs3G8wz48bW5 for ; Mon, 1 May 2023 14:14:17 +0000 (UTC) (envelope-from tedm@mittelstaedt.us) Received: from mail.freebsd-corp-net-guide.com (gw.portlandia-servers.com [50.198.160.189]) (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.freebsd-corp-net-guide.com", Issuer "Cool Dudes Co" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q94vq1f2jz3Plq for ; Mon, 1 May 2023 14:14:14 +0000 (UTC) (envelope-from tedm@mittelstaedt.us) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mittelstaedt.us header.s=default header.b=OT6RutOf; spf=pass (mx1.freebsd.org: domain of tedm@mittelstaedt.us designates 50.198.160.189 as permitted sender) smtp.mailfrom=tedm@mittelstaedt.us; dmarc=pass (policy=none) header.from=mittelstaedt.us Received: from [192.168.1.148] ([192.168.1.148]) (authenticated bits=0) by mail.freebsd-corp-net-guide.com (8.15.2/8.15.2) with ESMTPA id 341EE44A023667 for ; Mon, 1 May 2023 07:14:04 -0700 (PDT) (envelope-from tedm@mittelstaedt.us) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mittelstaedt.us; s=default; t=1682950444; bh=APKWN0Nxheg+QcgZpjn+vQHYICvpkClZPkpEEfz6qwg=; h=Date:Subject:To:References:From:In-Reply-To; b=OT6RutOfnEvfNAKZKO1F4TEEE69qkuvAz8InR4DAuqxJCBS3J/bPTZWnyFlx7u3rP VKdqBUOm0qS3OMUWtC2x/+iOykLvb4TSTLfaCbqqhxrrdWK1mLNZF8SyUNFh0H1tmG WiXIfYTqb5GOckYrq/UXuIWUYEX8pPSsdqFlYIZg= Content-Type: multipart/alternative; boundary="------------ev37qBXuPV206LDBv3GAUDrI" Message-ID: <062d1549-020d-e0c9-21ad-bf12720a4287@mittelstaedt.us> Date: Mon, 1 May 2023 07:13:58 -0700 List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: How to break to console on Mint Linux VM Content-Language: en-US To: freebsd-emulation@freebsd.org References: From: Ted Mittelstaedt In-Reply-To: X-Spam-Status: No, score=-1.0 required=4.1 tests=ALL_TRUSTED,HTML_MESSAGE autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.freebsd-corp-net-guide.com X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[mittelstaedt.us,none]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[mittelstaedt.us:s=default]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DKIM_TRACE(0.00)[mittelstaedt.us:+]; ASN(0.00)[asn:7922, ipnet:50.128.0.0/9, country:US]; MLMMJ_DEST(0.00)[freebsd-emulation@freebsd.org]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[tedm]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-emulation@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4Q94vq1f2jz3Plq X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N This is a multi-part message in MIME format. --------------ev37qBXuPV206LDBv3GAUDrI Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Mount the Mint Mate VM as a secondary disk on some convenient VM and edit the password file to blank the password then dismount it and attempt to restart it again.  You might also edit ssh config to turn on ssh so you can ssh into it once it's started.  Or edit the X configs to get rid of X and boot to a command line login (I assume it's booting to X login) virtual machine - Mounting another VM's .vdi in VirtualBox - Unix & Linux Stack Exchange Ted On 4/29/2023 6:32 PM, Kevin Oberman wrote: > This morning I updated my Mint Mate VM and rebooted as directed. The > system came up to the login screen and I entered the password. The > screen expanded to its normal size, but the login screen just appeared > again. Any entry of the password led me nowhere. I tried to boot > headless, but could find no way to get to a login prompt. > > The system just returned: > ptavv> VBoxManage startvm Mint --type headless > Waiting for VM "Mint" to power on... > VM "Mint" has been successfully started. > ptavv> > > I am not a Linux expert and I'm mostly clueless about admin since > systemd, and I don't make much use of this VM, but it is handy now and > then. > > Can anyone provide a clue on how to try to rescue the system? Clearly, > something is causing my session to exit on startup, but I have no idea > what and, without command line access, I'm unlikely to find it > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --------------ev37qBXuPV206LDBv3GAUDrI Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Mount the Mint Mate VM as a secondary disk on some convenient VM and edit the password file to blank the password then dismount it and attempt to restart it again.  You might also edit ssh config to turn on ssh so you can ssh into it once it's started.  Or edit the X configs to get rid of X and boot to a command line login (I assume it's booting to X login)

virtual machine - Mounting another VM's .vdi in VirtualBox - Unix & Linux Stack Exchange

Ted

On 4/29/2023 6:32 PM, Kevin Oberman wrote:
This morning I updated my Mint Mate VM and rebooted as directed. The system came up to the login screen and I entered the password. The screen expanded to its normal size, but the login screen just appeared again. Any entry of the password led me nowhere. I tried to boot headless, but could find no way to get to a login prompt.

The system just returned:
ptavv> VBoxManage startvm Mint --type headless
Waiting for VM "Mint" to power on...
VM "Mint" has been successfully started.
ptavv>

I am not a Linux expert and I'm mostly clueless about admin since systemd, and I don't make much use of this VM, but it is handy now and then.

Can anyone provide a clue on how to try to rescue the system? Clearly, something is causing my session to exit on startup, but I have no idea what and, without command line access, I'm unlikely to find it
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
--------------ev37qBXuPV206LDBv3GAUDrI--