1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] ANN: X11 now starts on tty1
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20ANN%3A%20X11%20now%20starts%20on%20tty1&In-Reply-To=%3CCA%2Bh4nj6h%3DbCaKvcwg5DQVBsOOiNddZAKtRt5qExgQAV_6Qa9uw%40mail.gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="010643.html">
<LINK REL="Next" HREF="010648.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] ANN: X11 now starts on tty1</H1>
<B>Wolfgang Bornath</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20ANN%3A%20X11%20now%20starts%20on%20tty1&In-Reply-To=%3CCA%2Bh4nj6h%3DbCaKvcwg5DQVBsOOiNddZAKtRt5qExgQAV_6Qa9uw%40mail.gmail.com%3E"
TITLE="[Mageia-dev] ANN: X11 now starts on tty1">molch.b at googlemail.com
</A><BR>
<I>Sun Dec 18 13:26:11 CET 2011</I>
<P><UL>
<LI>Previous message: <A HREF="010643.html">[Mageia-dev] ANN: X11 now starts on tty1
</A></li>
<LI>Next message: <A HREF="010648.html">[Mageia-dev] ANN: X11 now starts on tty1
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#10644">[ date ]</a>
<a href="thread.html#10644">[ thread ]</a>
<a href="subject.html#10644">[ subject ]</a>
<a href="author.html#10644">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>2011/12/18 Colin Guthrie <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>>:
><i> 'Twas brillig, and Maarten Vanraes at 18/12/11 11:46 did gyre and gimble:
</I>>><i> Op zondag 18 december 2011 11:54:17 schreef Colin Guthrie:
</I>>>><i> 'Twas brillig, and Anssi Hannula at 18/12/11 10:32 did gyre and gimble:
</I>>>>><i> For the record, attached are three alternative [1] untested
</I>>>>><i> proof-of-concept patches that make kernel start on vt7.
</I>>>><i>
</I>>>><i> Personally I'm not a fan of sticking to vt7. As I said in an earlier
</I>>>><i> thread, if the primary use case of the machine is graphical, then why
</I>>>><i> start at 7? It's an arbitrary choice that fitted in with other uses when
</I>>>><i> it was first introduced, but these days it's pretty backwards when
</I>>>><i> considered on it's own. The only reason to preserve it is out of habit
</I>>>><i> and I think that this is (generally speaking) the worst possible premise
</I>>>><i> to base decisions on. I mean, if we want to let people use fast user
</I>>>><i> switching easily they first have to learn first about vt switch command
</I>>>><i> ctrl+alt+Fn. Then they have to learn that the first login is on 7 and
</I>>>><i> the subsequent ones are on 8 etc. This doesn't make sense...
</I>>>><i>
</I>>>><i> What *should* happen is that the first one is 1.. the second one is 2 etc.
</I>>>><i>
</I>>>><i> When I'm in gnome, and I switch to tty2 for the first time, rather than
</I>>>><i> getty appearing wouldn't it be better if the gdm prompt appeared for a
</I>>>><i> second graphical login?
</I>>>><i>
</I>>>><i> I'm not suggesting that we ditch text logins completely, but I'm just
</I>>>><i> saying that we should try and make things generally smoother if they
</I>>>><i> user has already opted for a graphical system.
</I>>>><i>
</I>>>><i> Switching to e.g. 7 or 8 should maybe default to providing a text login
</I>>>><i> and gdm should maybe present a "give me a text login" option in which
</I>>>><i> case that X server quits and getty replaces it.
</I>>>><i>
</I>>>><i> Anything unused should timeout and quit (e.g. a getty on tty2 unused
</I>>>><i> should exit and wait and be re-activated as appropriate later.
</I>>>><i>
</I>>>><i> All these things are possible (maybe not without upstream support, but I
</I>>>><i> can ask Ray about the general plans here from a gdm perspective).
</I>>>><i>
</I>>>><i>
</I>>>><i> Just for reference this is how the seat extender USB things work. Little
</I>>>><i> thin clients that you plug into USB that give you a keyboard mouse and
</I>>>><i> display. When you plug it in for the first time, it registers a new seat
</I>>>><i> and then gives you a gdm login prompt. I don't think mutli user should
</I>>>><i> be much different from multi-seat in this regard.
</I>>>><i>
</I>>>>><i> BTW, I know fedora uses vt1 for X, but what about other distros, e.g.
</I>>>>><i> Ubuntu/Debian?
</I>>>><i>
</I>>>><i> I don't think they default to it but plenty people try to change it to
</I>>>><i> that according to Google.
</I>>>><i>
</I>>>><i>
</I>>>><i> Col
</I>>><i>
</I>>><i>
</I>>><i> theoretically, i'd be in favor of on-demand vt allocation, be it graphical or
</I>>><i> textbased.
</I>>><i>
</I>>><i> i'd be ok with a session starting when going to other vt (default session, be
</I>>><i> it a dm or a textbased login.)
</I>><i>
</I>><i> Yup, this is generally what I'd propose.
</I>><i>
</I>>><i> however, the dm should allow to fall back to
</I>>><i> textbased, but there we run into a problem:
</I>>><i>
</I>>><i> what if X is failing, you can't go back to text-login, so that's a nono
</I>>><i>
</I>>><i> perhaps we could document that we'd preallocate F12 or something for text-
</I>>><i> based emergency, but then noone would know...
</I>><i>
</I>><i> Yeah, as above, I was suggesting that e.g. 7&8 were always text logins.
</I>><i>
</I>>><i> I donno, if we don't have textbased by default, then surely vt1 has to be
</I>>><i> forcably text-based...
</I>><i>
</I>>><i> new X sessions are started from the old session, so i vote that CTRL+ALT+FX
</I>>><i> spawns a text-based login.
</I>><i>
</I>><i> They can be, but I'd vote that this should change. e.g. if you have a
</I>><i> setup where you "typically" have two users logged in and session 1 is
</I>><i> always "Dad" and session 2 is always "Mum", if Mum knows that she does
</I>><i> ctl+alt+F2 to switch to her session when she is logged in, however in
</I>><i> order to login, Dad has to already be logged in and either select the
</I>><i> Switch User option, or do so from a logged screen.
</I>><i>
</I>><i> But say there has been a power cut and the machine is rebooted, Dad
</I>><i> hasn't logged in but Mum wants to use "her" session on VT2 because
</I>><i> that's what they are both used to.
</I>><i>
</I>><i> If she presses ctl+alt+f2 when at the login prompt, all she sees is a
</I>><i> text login, this will be confusing to her. However if it spawns a new
</I>><i> graphical login, then she'll appreciate she's not logged in yet and log in.
</I>><i>
</I>><i> So stand by my original suggestion that if you are running a graphical
</I>><i> target, Switching to a TTY to get a "login prompt" should show you a
</I>><i> graphical login prompt. If however you are only in the text level
</I>><i> (multi-user.target) then you should be given text logins.
</I>><i>
</I>
What happens in this new scheme if graphical server fails - this is
happening more often than you think - this is not clear to me yet. If
the x server crashes and the default is starting a DM and graphical
login, what will happen then?
What happens if a user wants to boot into run level 3? He will get a
text prompt because neither x nor any DM has started yet - where does
he land, on VT7?
What happens when using SysReq keys?
About displaying a graphical login - when I press Ctrl-Alt-Fn I do
this to go to a text console, not to yet another x screen and I expect
a prompt, not yet another graphical login.
--
wobo
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="010643.html">[Mageia-dev] ANN: X11 now starts on tty1
</A></li>
<LI>Next message: <A HREF="010648.html">[Mageia-dev] ANN: X11 now starts on tty1
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#10644">[ date ]</a>
<a href="thread.html#10644">[ thread ]</a>
<a href="subject.html#10644">[ subject ]</a>
<a href="author.html#10644">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|