From owner-freebsd-questions@freebsd.org Sun Apr 12 06:24:52 2020 Return-Path: Delivered-To: freebsd-questions@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 434A42B3C0A for ; Sun, 12 Apr 2020 06:24:52 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 490MDL3k9Xz3CSl for ; Sun, 12 Apr 2020 06:24:50 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.223.161.78]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPA (Nemesis) id 1MhlCa-1ijlS10NTk-00dlMY; Sun, 12 Apr 2020 08:24:45 +0200 Date: Sun, 12 Apr 2020 08:24:44 +0200 From: Polytropon To: Manish Jain Cc: "freebsd-questions@freebsd.org" Subject: Re: Non-responsive mouse in FreeBSD virtual machine Message-Id: <20200412082444.29be302d.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:I/5DoCa5uAW3CizGywjnpo16dGE3f8xUmIkjPR013F9ts5Nv4gZ N49NjC/rj46G6qKvMiOPhU0Xzn9CqwzCBeysomJNtChoA0FnrnsMFXjjVHqqq/dFvOj4WXs fLbSLFc8fdp05F5KUtQh6vEX4WbAzO3xGxjRm5Yk5Gj9WdH1jDKkZ12i46Xoq/68i5uiXlw 5dNcB+DyRNeESu9EgBtWg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Kn34Fa1/7rc=:Ri382AkX3RxieIL3cuL62M zqIadrXNa8Z1FxSXJKzAY8WZ8OpiyueawtI4EiLNg9q/hjcTirybE1CZ1CVEj11lpj+LCVvVg MjwPE6RxrwsrwxT6Lq3FSw9mRwfFud3atqndpokpvg8tQzjtcNdNtlrWZSNk3vBlW7/NiP73P Vq7Fi8zfbDOWW56SaGO2AsI7FQxM31DsTDjwBl7/Qa7W7tWaYwtU6ujIeeg9BRoEzlI+VQgx+ WUqS64kmllvTuIi7qrpmeWzZEE4Kqb5dvE8d7eDkZ2ac77NtNbm8z2rtWB/RD/qhW1YjTvz8I GsW2ayh0DIcpc+uMNABzXBdr40+VCx0KYkTXm8+Xx8+G7F17tgxwYt4IApQ0oN07OLLWLlUsL cbdKutmgBWSskYCJcQJpoNvIdLDYprv/a3n5CD2JNrozhxclWvclEFtyPaQsc46ReukU8cs0T FsCMuxPOFPmTJgXouvEL2kiShDY1fwT8a0xDF2IMQtPRXToQmmNjbwtL0tORg54d6KeZPbty6 9M+xlCfDCfYUUAaPtNfwdFTIIqnamNyTBQOVUrQB9fdf4rHFWHaLbfA035EDdIaSSF5URA6MN TGmZy5pu17HGFO8wVEzeW92tehPkZCJCa3cE0k/jOlPN4mcSFA6Rpb9TuFVHyNg74LUHLlLcY xUvb+NcwpXCgYFwRunwfSDItzcXveVr4KOZ9mVNUAektQYnwe0OjmbAbLGEsHPgGABzY3HIv6 xfCqDBWNMBUosZIPTWTJPPk6mvhRFQPVcS9b5suBG0uG+ZcmK8Cxpxb+QVpA8xwAozJ0NS23K TVrOstJxkCXncQcGs9VQqdIXu28rZoVizJHGQbiOWegtS8RzKGFxOmoyb6lc3shu/h64xm9ws yQEE/DBV2zWncX1h74CA== X-Rspamd-Queue-Id: 490MDL3k9Xz3CSl X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.187) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.39 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[hotmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[78.161.223.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.72)[0.724,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.99)[0.994,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[187.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[187.126.227.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.27)[ip: (0.42), ipnet: 212.227.0.0/16(-1.16), asn: 8560(2.11), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Apr 2020 06:24:52 -0000 On Sun, 12 Apr 2020 10:05:51 +0530, Manish Jain wrote: > I have a strange situation here. I am running a FreeBSD 12.1 amd64 > virtual machine in VirtualBox. > > Everything works fine in the vm, except that the mouse simply won't > respond to click/right-click in any desktop (gnome3/kde5/mate/xfce). Those desktops have in common... the use of HAL and DBus. Do you have those enabled in /etc/rc.conf? > So I can't open up the apps menu, change desktop background, bring up a > terminal, anything else. There are usually shortcuts for that, like Alt+PF1, or the "Windows" advertising key found on many keyboards. Sometimes a terminal can be launched with Ctrl+Alt+T. But all this of course depends on the desktop and its initial configuration, and it doesn't really solve the problem. :-) > The mouse just moves as expected and even > offers tooltips, but nothing happens with click/right-click. > > Surprisingly, the mouse works fine in the default X window system twm. For verification, install the X event viewer (xev) and compare the results running under twm and in a desktop environment. Do the events of mouse movement mouse click appear as expected? > How can I possibly get the mouse to work normally in a desktop environment ? The correct question would include the adverb "fully" (working), because movement works, but clicks don't work. Maybe a VirtualBox setting is also involved here. Have you checked anything that could be related, like window focus and "transfer of control"? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...