From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B2D0F1382C5 for ; Sun, 6 May 2018 14:34:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22FDEE08F4; Sun, 6 May 2018 14:34:00 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 68513E08CD for ; Sun, 6 May 2018 14:33:59 +0000 (UTC) Received: from localhost ([79.223.109.95]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M3igT-1eOTA925Rp-00rLR8 for ; Sun, 06 May 2018 16:33:44 +0200 Date: Sun, 6 May 2018 16:33:43 +0200 From: tuxic@posteo.de To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] X11 recovery Message-ID: <20180506143342.qdoggj2hod5doarw@solfire> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <20180506124551.f4sbh5oh7ffg2man@solfire> <20180506132841.GF1999@ca.inter.net> <3103956.u3HKGYynPq@dell_xps> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3103956.u3HKGYynPq@dell_xps> User-Agent: NeoMutt/20180323 Sender: X-Provags-ID: V03:K1:yOHRQza+WITzM7fyDdag8+3HlQqJHjFU22tWwYGZ5xZRGAyBXjC p8dABWe5epMT3ysbyCrnRZN6rSzxcufi2oQii5YhY+hI8DPTDN+PwPLRudnACdYm+Zckz5Z xWvi3K6dAzoyXGLWDElg1vx5KZ2EC+/VsHyXeh6DOOaVK3FEVnGvwNYkCAZe67YgURlGAl1 r5BSjZR6dOV3LOa/NcBPg== X-UI-Out-Filterresults: notjunk:1;V01:K0:J0C9I1lvdqQ=:o92w8SyLR0hJSgJgrOq9g4 9vLKX22cbIHV9hpu/uIuSAYZ14fhBCQBM7BwG4+kpak7EkVU3SccGxC2Br9gDhFvJGQre/RNz p9TJhUx4votWno5KMOUMVnI1h512xuKG7fMdLXouDOSgBc7NySet2JdW/mBFd82cTOJ2xFI65 fVxH/6G4aRSyKemgd6nJxZtfJPig2dKJegzu17fmWS16HxQF/EOEO5g+ksjEevmmQptKLG0/k rjvGh+zs724EmJyxWjLK3h7ZM9YA1fopQYUVORSM4OK/HNy68qtZktYABLQgFqgVY54xs6dlB Rfu7PIpHjErbIZHUO/597TYAKBWhLwySJNpjWANrblyokV5M/l7aYnXHEnOj15pffZW8TQuiT rNWbykEF4UjI6d9GKRERkHtyDv7dodAB/77idBfHmGSlXONSCVGNChAvhAJyHyMdlkkSDvVnU fr4hW2SNji4qC0d3i4pCVdZtql2Hije3Mr8U/bUW0WDY6a+S4yX8goYj6YAqqHGtbTmaj4g5+ OhrbjqfYo2Op6x4ZFcIPBpMPyrkJng5m7m8CrRH3pHl7iuVqKS3+t1FgqCbN3gRwE/2quT6UA JBvvmDwHUMpOSCjV285fxp7m+Z45LO05Ko28eYjwEzETcCr94aLTLqFfW0AGpoyaaS45sD/IC wDpfU0sHJ+kvJU67UT/5imkIGnQKTTRQC0RuzktKZaXo76jEaBhxOSaG4/eDx+qqVoLVj8gf6 UFMNR5rTuff0rw6xpWpgOhQBhXfFTuua2racj+VCouM1nfRLelT1Gyx3rKk= X-Archives-Salt: 717a31e5-73f8-4970-ae83-36e4d4b6139c X-Archives-Hash: 39f042b240ce83f4e7ca2a0c169a00b3 On 05/06 03:15, Mick wrote: > On Sunday, 6 May 2018 14:28:41 BST Philip Webb wrote: > > > What has always worked is Control-Alt-F7 , if you started from TTY1 ; > > IIRC if you start with TTY2, then 'startx', you come back via C-A-F8 etc. > > Perhaps you could test that & report back. > > From a console in Gentoo you should be able to switch to your primary xsession > with: > > Alt+F7 > > Other distros may use Alt+F5. > > > > > 1) For debugging purposes I would like to get a fully working switch > > > between the Linux console and X11 back and forth. > > > 2) If that is not possible see below. But! > > > If I was accidentally thrown to the Linux console > > > by my own eloborated usage of the keyboard (hrrrrmmmm) > > > I am able to do the following: > > > Login as myself (console login) and do another startx. > > > This will start a new X11 session. > > > Is it possible somehow to "take over" the original X11 session, > > > which is still running in the background > > > to cleanly ending the tasks running and waiting for my input? > > > > I suspect there is a way to do that, but I don't know how. > > From the console use Alt+F7. > > From within the secondary xsession use Ctrl+Alt+F7. > > Alt+F8/Ctrl+Alt+F8 should take you back to your secondary xsession. > > -- > Regards, > Mick Hi, oh YEAH! This little thread is becoming a life-saver for me! :) Mu remembrance of ALT-something-F12 may be from times one has to configure X11 by hand (timings etc...you know...or not, if you are younger/luckier). Ok...what works here is: One X11-session >From X11: CTRL-ALT-F1: Console 1 ... CTRL-ALT-F: Console (n:1...6) >From the console, opened that way: ALT-F: Console (n:1...6) ALT-F7: Back to X11 Now with two X11-sessions: Firstly: CTRL-ALT-F1: Console 1 ALT-F2: Console 2, login as user and startx (start X) ALT-F2: Console 2, login as user and startx (start X) which starts a new X11-session, which is than bound to ALT-F8 from the console and CTRL-ALT from the previous X11 session. Interesting: If an application is running, which is able to interpret ALT-something-keystrokes as shortcuts - this comes first! X11 gives the applications priority. At least with my configuration (devilspie and openbox). A big thank yu to all who have answered my question :) Great help! Cheers Meino