Bug 8074 - KDE starting on TTY2
Summary: KDE starting on TTY2
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Nicolas Lécureuil
QA Contact:
URL:
Whiteboard: 3alpha3 3beta1 3beta2 MGA2TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-14 12:04 CET by claire robinson
Modified: 2015-03-28 19:23 CET (History)
7 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description claire robinson 2012-11-14 12:04:21 CET
Installed default kde from 64 bit installer dvd (date Nov 13th)

KDE is starting in tty2
claire robinson 2012-11-14 12:04:56 CET

CC: (none) => ennael1
Whiteboard: (none) => 3alpha3

claire robinson 2012-11-14 12:05:07 CET

Hardware: i586 => x86_64

Comment 1 Thierry Vignaud 2012-12-20 08:23:11 CET
Hasn't this been fixed in FC long time ago?

CC: (none) => mageia, thierry.vignaud
Assignee: bugsquad => nicolas.lecureuil

Thierry Vignaud 2012-12-20 08:24:06 CET

CC: (none) => balcaen.john

Comment 2 Nicolas Lécureuil 2012-12-20 08:27:16 CET
i don't reproduce this, i think this is fixed in mageia now.

claire do you still reproduce ?
Comment 3 Colin Guthrie 2012-12-20 10:47:13 CET
(In reply to comment #1)
> Hasn't this been fixed in FC long time ago?

Keep in mind that fedora now uses quite a different mechanism to start DE's (they dropped the whole prefdm stuff in favour of a systemd-based unit alias system). I'll look into switching to something similar for mga4 but not going to do that for mga3. That said if kdm needed patching then they should likely all be applied to our version too.
Comment 4 claire robinson 2012-12-20 13:05:44 CET
We had bigger things to worry about in beta1 so I didn't check this.

I can do so. Anther install \o/
Comment 5 claire robinson 2012-12-20 15:06:50 CET
Yes this is still valid. Checked with a VBox install.

Whiteboard: 3alpha3 => 3alpha3 3beta1

Comment 6 Marja Van Waes 2013-02-08 18:49:37 CET
I do *not* have it in my 3beta2 KDE install.
Do you still have it, Claire?

However, it is valid for my Mageia2KDE preferred desktop pc and for the Mga2KDE laptop of a friend.

My friend's laptop doesn't always do the auto-switching to tty2 on boot-up, and she isn't good at pressing alt+ctrl+F2 in a way that works :(

CC: (none) => marja11
Hardware: x86_64 => All
Whiteboard: 3alpha3 3beta1 => 3alpha3 3beta1 MGA2TOO

Comment 7 claire robinson 2013-02-08 19:02:48 CET
I'll check it now Marja
Comment 8 claire robinson 2013-02-08 19:35:49 CET
Confirmed valid from the 3beta2 installer dvd (no updates installed)
claire robinson 2013-02-08 19:36:10 CET

Summary: 3alpha3 - KDE starting on TTY2 => KDE starting on TTY2
Whiteboard: 3alpha3 3beta1 MGA2TOO => 3alpha3 3beta1 3beta2 MGA2TOO

Comment 9 Nic Baxter 2015-02-12 02:57:43 CET
Fresh install Mageia-5-beta2-dual-DVD in VM. No updates.

who
nic      :0           2015-02-12 09:03 (:0)
nic      pts/0        2015-02-12 12:56 (:0.0)

Close?

CC: (none) => nic

Comment 10 Marja Van Waes 2015-02-12 08:18:39 CET
(In reply to Nic Baxter from comment #9)
> Fresh install Mageia-5-beta2-dual-DVD in VM. No updates.
> 
> who
> nic      :0           2015-02-12 09:03 (:0)
> nic      pts/0        2015-02-12 12:56 (:0.0)
> 
> Close?

It still starts on tty2 here (updated cauldron that started as 5alpha1), but I don't see the problem if you're auto-switched to tty2, which now always happens. I haven't seen a system that did not do that since 2013.

I can't think of a reason why it should start on tty1, unless for someone who likes to work on 5 ttys at the same time (he'll only have four, tty1 here shows system messages from boot-up, but no prompt).

@ Nicolas
WDYT? Close as wontfix?
Comment 11 Marja Van Waes 2015-02-12 09:13:59 CET
replying to a question that was mailed to me:

> Maybe this is a little beyond me. How does one know the tty at boot?
> When I have logged in I can crt-alt-F2 to get to tty2 and then crt-altF1
> to get back to xorg on tty1. Is it different on your computer or am I
> misunderstanding the issue?


Well, here ctrl-alt-F2 does nothing, I cannot go to tty2, because that's where I already am.
However, I can go to tty1 and see the boot messages, to tty3-6 and get login prompts on each of them, and then ctrl-alt-F2 will take me back to KDE again.
Comment 12 Colin Guthrie 2015-02-12 09:50:13 CET
Yeah it's certainly bad for consistency. Ultimately *something* must be hogging tty1. We should try and find out what and stop it such that KDM/KDE etc do actually start it.

I really wish there was more shared plumbing layers between DEs for bringing up X. It's such a mess under the hood :(

Hopefully as the world moves to Wayland it'll get a lot nicer. Also very much looking forward to ditching kernel tty handling and having it all in userspace with consoled (which handles sessions properly, has properly localisation, font handling and supports hi-dpi screens - one for MGA6).
Comment 13 Colin Guthrie 2015-02-12 09:50:38 CET
(anyway, just to echo others comments, it's not crazy critical but would be a nice one to fix).
Comment 14 Frank Griffin 2015-02-12 13:09:33 CET
Isn't there a systemd unit called shutdown-plymouth or something like that ?  It sounds like DM isn't waiting for that to get plymouth off of tty1 in time for DM to grab it.

CC: (none) => ftg

Comment 15 Colin Guthrie 2015-02-12 14:39:16 CET
plymouth-quit-wait.service? If so that's only needed for DMs that do not properly implement handover from plymouth. I know kdm, and gdm and various others do that and thus they specifically tell plymouth to quit so these units in systemd are kinda redundant in those cases. That's not to say it's not still related to plymouth of course... :p
Comment 16 Nic Baxter 2015-02-13 05:46:02 CET
OK. back to Mageia-5-beta2-dual-DVD install.
I am definately starting in tty1.
There are no boot messages and ctrl-alt-F2-F6 gives me login prompts. I have tested with kdm, gdm & lxdm, all the same. So it appears this not no longer current.
Has there been a change with the systemd logging level which stops boot messages on tty1?
Comment 17 Marja Van Waes 2015-02-13 18:10:59 CET
(In reply to Nic Baxter from comment #16)
> OK. back to Mageia-5-beta2-dual-DVD install.
> I am definately starting in tty1.


Just checked a Mageia5beta3 install on the same machine: there KDE starts on tty1
So maybe it did indeed get solved between 5 alpha and 5 beta (or its occurence depends on something I'm not aware of)
Comment 18 Marja Van Waes 2015-03-28 19:23:42 CET
I don't see it on any fresh installs any more, so closing since no one else still saw it

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.