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
|
<!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=%3C4EEDC133.5020205%40mageia.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="010623.html">
<LINK REL="Next" HREF="010635.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] ANN: X11 now starts on tty1</H1>
<B>Anssi Hannula</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=%3C4EEDC133.5020205%40mageia.org%3E"
TITLE="[Mageia-dev] ANN: X11 now starts on tty1">anssi at mageia.org
</A><BR>
<I>Sun Dec 18 11:32:19 CET 2011</I>
<P><UL>
<LI>Previous message: <A HREF="010623.html">[Mageia-dev] ANN: X11 now starts on tty1
</A></li>
<LI>Next message: <A HREF="010635.html">[Mageia-dev] ANN: X11 now starts on tty1
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#10633">[ date ]</a>
<a href="thread.html#10633">[ thread ]</a>
<a href="subject.html#10633">[ subject ]</a>
<a href="author.html#10633">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On 17.12.2011 17:27, Anssi Hannula wrote:
><i> On 16.12.2011 20:16, Colin Guthrie wrote:
</I>>><i> Hi
</I>>><i>
</I>>><i> Just in case you didn't notice, X11 now starts on tty1 by default.
</I>>><i>
</I>>><i> So if you want a text login shell, make sure you go to tty2!
</I>>><i>
</I>>><i> I've not actually updated it for sysvinit now I think about it, so I'll
</I>>><i> have to update the default inittab, but the principle is the same. We
</I>>><i> want X there, not a login.
</I>><i>
</I>><i> I wonder why that is needed...
</I>><i>
</I>><i> If it is to prevent flickering when switching tty1->tty7, can't we just
</I>><i> e.g. make the kernel use tty7 by default if needed?
</I>
For the record, attached are three alternative [1] untested
proof-of-concept patches that make kernel start on vt7.
It doesn't seem to be as simple as I had hoped, but if this is something
we want to do, I can come up with cleaner versions and see what upstream
thinks.
BTW, I know fedora uses vt1 for X, but what about other distros, e.g.
Ubuntu/Debian?
[1] by default only the first vt is initialized on early boot, the rest
are initialized on-demand. Since vt7 is not initialized, the patches
take different approaches: (1) allocate 7 vt's on early boot, (2)
allocate vt7 in addition to vt1, (3) only allocate vt7
--
Anssi Hannula
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-set-default-console-as-vt7-proof-of-concept.patch
Type: text/x-patch
Size: 1310 bytes
Desc: not available
URL: </pipermail/mageia-dev/attachments/20111218/d36a25cc/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-set-default-console-as-vt7-proof-of-concept.patch
Type: text/x-patch
Size: 2234 bytes
Desc: not available
URL: </pipermail/mageia-dev/attachments/20111218/d36a25cc/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-set-default-console-as-vt7-proof-of-concept.patch
Type: text/x-patch
Size: 2506 bytes
Desc: not available
URL: </pipermail/mageia-dev/attachments/20111218/d36a25cc/attachment-0002.bin>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="010623.html">[Mageia-dev] ANN: X11 now starts on tty1
</A></li>
<LI>Next message: <A HREF="010635.html">[Mageia-dev] ANN: X11 now starts on tty1
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#10633">[ date ]</a>
<a href="thread.html#10633">[ thread ]</a>
<a href="subject.html#10633">[ subject ]</a>
<a href="author.html#10633">[ 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>
|