[Mageia-dev] ANN: X11 now starts on tty1

Anssi Hannula anssi at mageia.org
Sun Dec 18 11:32:19 CET 2011


On 17.12.2011 17:27, Anssi Hannula wrote:
> On 16.12.2011 20:16, Colin Guthrie wrote:
>> Hi
>>
>> Just in case you didn't notice, X11 now starts on tty1 by default.
>>
>> So if you want a text login shell, make sure you go to tty2!
>>
>> I've not actually updated it for sysvinit now I think about it, so I'll
>> have to update the default inittab, but the principle is the same. We
>> want X there, not a login.
> 
> I wonder why that is needed...
> 
> If it is to prevent flickering when switching tty1->tty7, can't we just
> e.g. make the kernel use tty7 by default if needed?

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>


More information about the Mageia-dev mailing list