From: tuxic@posteo.de
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] X11 recovery
Date: Sun, 6 May 2018 16:33:43 +0200 [thread overview]
Message-ID: <20180506143342.qdoggj2hod5doarw@solfire> (raw)
In-Reply-To: <3103956.u3HKGYynPq@dell_xps>
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<n>: Console <n> (n:1...6)
From the console, opened that way:
ALT-F<n>: Console <n> (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
next prev parent reply other threads:[~2018-05-06 14:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-06 12:45 [gentoo-user] X11 recovery ... somehow tuxic
2018-05-06 13:12 ` Alarig Le Lay
2018-05-06 13:28 ` [gentoo-user] X11 recovery Philip Webb
2018-05-06 14:15 ` Mick
2018-05-06 14:33 ` tuxic [this message]
2018-05-06 15:13 ` [gentoo-user] Re: X11 recovery ... somehow Nikos Chantziaras
2018-05-22 7:08 ` [gentoo-user] " J. Roeleveld
2018-05-22 14:27 ` [gentoo-user] " Grant Edwards
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180506143342.qdoggj2hod5doarw@solfire \
--to=tuxic@posteo.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox