From nobody Wed Aug 17 23:15:27 2022 X-Original-To: freebsd-x11@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 4M7P6f4RNcz4ZXsb for ; Wed, 17 Aug 2022 23:16:58 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (phouka1.phouka.net [107.170.196.116]) (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 "phouka.net", Issuer "Go Daddy Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M7P6d2yHHz3WqG for ; Wed, 17 Aug 2022 23:16:57 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (localhost [127.0.0.1]) by phouka1.phouka.net (8.16.1/8.16.1) with ESMTPS id 27HNFR2g015867 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 17 Aug 2022 16:15:27 -0700 (PDT) (envelope-from warlock@phouka1.phouka.net) Received: (from warlock@localhost) by phouka1.phouka.net (8.16.1/8.16.1/Submit) id 27HNFRDa015866; Wed, 17 Aug 2022 16:15:27 -0700 (PDT) (envelope-from warlock) Date: Wed, 17 Aug 2022 16:15:27 -0700 From: John Kennedy To: FreeBSD User Cc: freebsd-x11@freebsd.org Subject: Re: FBSD X11 guest in VBox: mouse pointer caught in guest forever Message-ID: References: <20220817143148.26019775@thor.intern.walstatt.dynvpn.de> List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220817143148.26019775@thor.intern.walstatt.dynvpn.de> X-Rspamd-Queue-Id: 4M7P6d2yHHz3WqG X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of warlock@phouka1.phouka.net has no SPF policy when checking 107.170.196.116) smtp.mailfrom=warlock@phouka1.phouka.net X-Spamd-Result: default: False [-1.80 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FORGED_SENDER(0.30)[warlock@phouka.net,warlock@phouka1.phouka.net]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-x11@freebsd.org]; MIME_TRACE(0.00)[0:+]; R_SPF_NA(0.00)[no SPF record]; RCPT_COUNT_TWO(0.00)[2]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ASN(0.00)[asn:14061, ipnet:107.170.192.0/18, country:US]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[phouka.net]; FROM_NEQ_ENVFROM(0.00)[warlock@phouka.net,warlock@phouka1.phouka.net] X-ThisMailContainsUnwantedMimeParts: N On Wed, Aug 17, 2022 at 02:31:21PM +0200, FreeBSD User wrote: > ... FreeBSD 13.1-p1 and X11 (xdm, windowmaker) is up and running, everything is fine, I got a > mouse pointer, the keyboard with German layout is well supported. > > emulators/virtualbox-ose-guest-additions is installed as instructed in the handbook. > > The target computer is a Lenovo T590 with a remote/cordless mouse (if this information is of > any use). > > Problem: once clicking the mouse to enter login data on xdm, the mousepointer is caught > forever within the guest. Usually the combination "left-Ctrl right-Ctrl" should release the > mouse pointer to reach the Vbox. This is not working anymore. > > Somehow I have the strange feeling that the keyboard setup is missing something so the correct > keys are not mapped according the physical layout, but there is no hint what > XkbModel/XkbVariant I should use (tried pc105, thinkpad or avoid the Option, with no effect so > far). IMHO, don't blame the virtualised OS for Vbox behavior, but sometimes they go hand-in-hand. Some of those guest-helpers help translate the real-host mouse positioning into the guest-hosts coordinate space so it doesn't have to do rude things like mouse-grabs. I'd certainly double-check the host release-key and make sure it didn't get changed somehow. You might also try making sure that the auto-capture stuff is disabled and see how things behave. [I haven't used virtualbox in quite a while and poisoned my brain with other things that I use at work, so sorry if I'm vague.]