[Mageia-dev] musical session locations (was: Grub2 vs. Grub Leg...)
Felix Miata
mrmazda at earthlink.net
Mon Feb 4 22:56:33 CET 2013
On 2013-02-04 12:23 (GMT) Barry Jackson composed:
> Felix Miata wrote:
>> grub2-menulst2cfg picked up the ones that work in Grub Legacy (vga=
>> ((http://www.kernel.org/doc/Documentation/kernel-parameters.txt)) &
>> video= ((http://www.kernel.org/doc/Documentation/fb/modedb.txt))), which
>> are kernel parameters. They do the same thing loaded via Grub2 as when
>> loaded via Grub Legacy.
>>>> 8-KDM is on tty2, the location I reserve for certain class of recurring
>>>> activities, instead of where expected on tty7
>>> Dunno - I have never seen this.
>> Booting with 3 on cmdline and later doing startx or init 5?
> I think that startx and init are deprecated in favour of proper systemd
> commands now.
Init at shell prompt is shorthand/alias for insanely long non-memorable
systemd replacements for telinit/init.
Startx may be deprecated, but no one who's told me so has suggested what's
supposed to replace it to get 2nd, 3rd & more X sessions going on :1, :2, etc.
Startkde never seems to work at a tty prompt. When I'm testing what I often
test, startx saves an immense amount of time over going though a login
manager, which often wasn't working and why I was using startx in the first
place.
>> On current
>> boot I used 3 on cmdline, logged in on tty2 & tty3, did startx on tty3,
>> and found X is running on tty3. On exiting the X session I did init 5.
>> That put KDM on tty1. On openSUSE & Fedora the problem is essentially
>> the same, e.g.: https://bugzilla.novell.com/show_bug.cgi?id=768788
> I don't think this is grub2 related.
Of course it's not. It's fallout from incomplete migration from sysvinit to
systemd. Systemd is designed to not do a significant number of things that
sysvinit did do, so things are broken that haven't been modified to do what
the functioning init system no longer does, or account for everything the
replacement init system does differently.
> Graphical desktop should default to tty1 now
I have predfined uses for ttys 1-6. 7, 8 & 9 are where my X sessions belong,
not on 1 and random others making me guess each time what lives where. Tty1
especially needs not to be where X goes, because it's where in help forums
everyone dealing with non-working X is told to login to do this and do that
to troubleshoot.
>, however I have seen an
> issue where it moves to tty7 after stopping and re-starting
> prefdm.service. I have not checked this recently.
More about what systemd doesn't do that init did. Initab reserved ttys 1-6
leaving 7+ free for X sessions. Systemd reserves none and doesn't even start
a getty until switch to a tty is made.
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata *** http://fm.no-ip.com/
More information about the Mageia-dev
mailing list