Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ApNMt-00049v-3a for qemu-devel@nongnu.org; Sat, 07 Feb 2004 02:59:11 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ApNMI-0003hH-MW for qemu-devel@nongnu.org; Sat, 07 Feb 2004 02:59:05 -0500 Received: from [131.188.30.103] (helo=faui03.informatik.uni-erlangen.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1ApNMH-0003eT-Tu for qemu-devel@nongnu.org; Sat, 07 Feb 2004 02:58:34 -0500 Received: from faui03.informatik.uni-erlangen.de (faui03.informatik.uni-erlangen.de [131.188.30.103]) by faui03.informatik.uni-erlangen.de (8.12.9/8.12.9) with ESMTP id i177wVHD011045 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 7 Feb 2004 07:58:31 GMT Received: (from sithglan@localhost) by faui03.informatik.uni-erlangen.de (8.12.9/8.12.9) id i177wVw0011044 for qemu-devel@nongnu.org; Sat, 7 Feb 2004 08:58:31 +0100 (CET) Date: Sat, 7 Feb 2004 08:58:31 +0100 From: Thomas Glanzmann Subject: Re: [Qemu-devel] How to send Ctrl+Alt+F1 to guest OS? Message-ID: <20040207075831.GG666@stud.uni-erlangen.de> References: <200402061916.43243.joshdeb@metzlers.org> <20040207083319.A26273@bbland> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040207083319.A26273@bbland> Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, > > Now that I have xfree86 working in qemu, I would like to be able to send > > Ctrl+Alt+F1 to it to switch back to a vt. When I try this, though, my host > > machine switches to vt1, even if I have the mouse captured by qemu. Is there > > any way to do this? yes it is possible. vmware does (per remote X also). > Well, XFree86 is catching these special event codes and does not even send > them to the applications (ie all the the Ctrl+Alt+ +/- or Fx ones). I had a quick look at the sources of XFree86 and there was the possibility to grab the keyboard exclusive. I don't rember what it was called exactly, but it shouldn't be that hard to find it. The only key which isn't catched is MAGIC SYSRQ, I think. > The only way to support is would be to do as VNC does : have a key > pop-up a menu with 'Send Ctrl+Alt+F1 to system'. Many people do so, but I think the vmware way is the easier to use. Thomas