Gentoo Archives: gentoo-user

From: Meino.Cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] The X11-trap: Once back on textconsole...and no one comes back ever...
Date: Sat, 16 Jan 2016 04:39:44
Message-Id: 20160116043926.GB4932@solfire
In Reply to: Re: [gentoo-user] The X11-trap: Once back on textconsole...and no one comes back ever... by Dale
1 Dale <rdalek1967@×××××.com> [16-01-16 03:36]:
2 > Meino.Cramer@×××.de wrote:
3 > > Hi,
4 > >
5 > >
6 > > I got a strange problem:
7 > > >From X11 I can switch to text console via CTRL-ALT-F(x).
8 > > >From the text console I can switch to other text console
9 > > via ALT-F(x).
10 > >
11 > > But once touching the console, where X11 should still be
12 > > running and which is now occupied by the deep dark unholy
13 > > "nothing" ;) I got trapped -- no way out and a bindly
14 > > keyed login followed by a reboot has nothing as result.
15 > >
16 > > My /etc/inittab looks like:
17 > >
18 > > # new-style single-user
19 > > su0:S:wait:/sbin/rc single
20 > > su1:S:wait:/sbin/sulogin
21 > >
22 > > # TERMINALS
23 > > c1:12345:respawn:/sbin/agetty 38400 tty1 linux
24 > > c2:2345:respawn:/sbin/agetty 38400 tty2 linux
25 > > c3:2345:respawn:/sbin/agetty 38400 tty3 linux
26 > > c4:2345:respawn:/sbin/agetty 38400 tty4 linux
27 > > c5:2345:respawn:/sbin/agetty 38400 tty5 linux
28 > > c6:2345:respawn:/sbin/agetty 38400 tty6 linux
29 > >
30 > > # SERIAL CONSOLES
31 > > #s0:12345:respawn:/sbin/agetty -L 115200 ttyS0 vt100
32 > > #s1:12345:respawn:/sbin/agetty -L 115200 ttyS1 vt100
33 > >
34 > > # What to do at the "Three Finger Salute".
35 > > ca:12345:ctrlaltdel:/sbin/shutdown -r now
36 > >
37 > > # Used by /etc/init.d/xdm to control DM startup.
38 > > # Read the comments in /etc/init.d/xdm for more
39 > > # info. Do NOT remove, as this will start nothing
40 > > # extra at boot if /etc/init.d/xdm is not added
41 > > # to the "default" runlevel.
42 > > x:a:once:/etc/X11/startDM.sh
43 > >
44 > > <unrelated stuff removed>
45 > >
46 > > >From searching the web I found questions, from people, which
47 > > cannot switch to anything from X11...but I can.
48 > > That is another problem.
49 > > And a lot question are regarding the correct key-combo.
50 > >
51 > > This has worked for years and didn't changed anything from
52 > > which I think it could be related.
53 > >
54 > > How can I fix this?
55 > >
56 > > Thank you very much in advance for any help!
57 > > Best regards,
58 > > mcc
59 > >
60 > >
61 >
62 > I ran into something like this a while back. I see other replies but
63 > didn't see where anyone posted what I figured out. Usually, it's
64 > ctrl-alt-F7 to get back but for some odd reason, mine ended up on F8.
65 > Later on, maybe after a reboot or something, it was back on F7 like it
66 > should be but for a while there, it was on F8.
67 >
68 > Based on other replies, you may have a different issue but thought it
69 > worth a mention. Just in case it would help. ;-)
70 >
71 > Dale
72 >
73 > :-) :-)
74 >
75
76 Hi Dale,
77
78 thanks for the info...
79 As I first get locked out I panically pressed all permutations
80 of ALT and CTRL and the F(x)-keys...
81 Yes I am sure...there is no way out with key pressing only ;)
82
83 Yesterday I did some experimenting:
84 I remotely logged into my Linux via my tablet and then my Gentoo
85 into the text console and then back to X11 -- which locked the
86 whole thing as exspected.
87 Then I used my tablet to kill slim and X11 and restarted it.
88 Nothing...the lock was perfect.
89
90 On the other side: The kernel itsself did not lock or only
91 hangs in a certain part (is that possible?), since everything
92 console based works fine even after the Gentoo box was locked.
93
94 Finally I had to reboot via my tablet and I got my userland
95 back...
96
97 Best regards,
98 Meino

Replies