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
|
<!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=%3C4EEDD6AC.2040007%40colin.guthr.ie%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="010642.html">
<LINK REL="Next" HREF="010644.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] ANN: X11 now starts on tty1</H1>
<B>Colin Guthrie</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=%3C4EEDD6AC.2040007%40colin.guthr.ie%3E"
TITLE="[Mageia-dev] ANN: X11 now starts on tty1">mageia at colin.guthr.ie
</A><BR>
<I>Sun Dec 18 13:03:56 CET 2011</I>
<P><UL>
<LI>Previous message: <A HREF="010642.html">[Mageia-dev] ANN: X11 now starts on tty1
</A></li>
<LI>Next message: <A HREF="010644.html">[Mageia-dev] ANN: X11 now starts on tty1
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#10643">[ date ]</a>
<a href="thread.html#10643">[ thread ]</a>
<a href="subject.html#10643">[ subject ]</a>
<a href="author.html#10643">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>'Twas brillig, and Maarten Vanraes at 18/12/11 11:46 did gyre and gimble:
><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>
Yup, this is generally what I'd propose.
><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>
Yeah, as above, I was suggesting that e.g. 7&8 were always text logins.
><i> I donno, if we don't have textbased by default, then surely vt1 has to be
</I>><i> forcably text-based...
</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>
They can be, but I'd vote that this should change. e.g. if you have a
setup where you "typically" have two users logged in and session 1 is
always "Dad" and session 2 is always "Mum", if Mum knows that she does
ctl+alt+F2 to switch to her session when she is logged in, however in
order to login, Dad has to already be logged in and either select the
Switch User option, or do so from a logged screen.
But say there has been a power cut and the machine is rebooted, Dad
hasn't logged in but Mum wants to use "her" session on VT2 because
that's what they are both used to.
If she presses ctl+alt+f2 when at the login prompt, all she sees is a
text login, this will be confusing to her. However if it spawns a new
graphical login, then she'll appreciate she's not logged in yet and log in.
So stand by my original suggestion that if you are running a graphical
target, Switching to a TTY to get a "login prompt" should show you a
graphical login prompt. If however you are only in the text level
(multi-user.target) then you should be given text logins.
Col
--
Colin Guthrie
colin(at)mageia.org
<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A>
Day Job:
Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A>
Open Source:
Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A>
PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A>
Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="010642.html">[Mageia-dev] ANN: X11 now starts on tty1
</A></li>
<LI>Next message: <A HREF="010644.html">[Mageia-dev] ANN: X11 now starts on tty1
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#10643">[ date ]</a>
<a href="thread.html#10643">[ thread ]</a>
<a href="subject.html#10643">[ subject ]</a>
<a href="author.html#10643">[ 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>
|