[Bug 768788] New: [systemd][3 on cmdline] X session tty locations not predictable (:1 not always on tty8; :0 not always on tty7)
https://bugzilla.novell.com/show_bug.cgi?id=768788 https://bugzilla.novell.com/show_bug.cgi?id=768788#c0 Summary: [systemd][3 on cmdline] X session tty locations not predictable (:1 not always on tty8; :0 not always on tty7) Classification: openSUSE Product: openSUSE 12.2 Version: Beta 2 Platform: x86 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mrmazda@earthlink.net QAContact: qa-bugs@suse.de CC: fcrozat@suse.com Found By: --- Blocker: --- Not new in 12.2B2. I don't remember how far back this began, but possibly when systemd first appeared in ~12.1M3 last summer. Neither splashy nor bootsplash are installed on any of my systems. All my Grub stanzas include splash=verbose on cmdline. AFAICT, plymouth though installed never appears to run, which is my strong preference. To reproduce [i945G host gx62b]: 1-boot (with 3 on cmdline) 2-login on tty2 3-login on tty3 4-login on tty4 5-# init 5 on tty3 6-login in KDM3 7-$ startx -- :1 on tty4 Actual results: 1-KDM is on tty7 2-:1 X session is on tty5 Expected results: 1-KDM is on tty7 2-:1 X session is on tty8 Alternate reproduce [rv380 host big31]: 1-boot (with 3 on cmdline) 2-login on tty3 3-# startx Actual results: 1-KDE4 session is on tty2 2-login prompts on tty1, tty2, tty4, tty5, tty6, tty7, tty8, tty9 after KDE4 exited Expected results: 1-KDE4 session is on tty7 2-login prompts only on tty1, tty2, tty4, tty5, tty6 after KDE4 exited Alternate 2 reproduce [rv380 host big31]: 1-boot (with 3 on cmdline) 2-login on tty2 3-login on tty3 4-login on tty4 5-# startx on tty3 6-$ startx -- :1 on tty4 Actual results: 1-root's KDE4 is on tty6 2-:1 X session is on tty7 3-no login prompt on tty6 after KDE exited Expected results: 1-root's KDE4 is on tty7 2-:1 X session is on tty8 3-login prompt on tty6 after KDE exited Note: I don't expect this to matter, as I've not tested stock, but noting in case it might. I have /lib/systemd/system/getty@tty1.service as a symlink to /etc/systemd/system/getty@tty1.service, which contains two non-default lines: ExecStart=-/sbin/agetty %I 38400 --noclear TTYVTDisallocate=no Default omits --noclear and has yes for ...allocate. cf. bug 721660 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768788 https://bugzilla.novell.com/show_bug.cgi?id=768788#c1 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|fcrozat@suse.com | Summary|[systemd][3 on cmdline] X |[3 on cmdline] X session |session tty locations not |tty locations not |predictable (:1 not always |predictable (:1 not always |on tty8; :0 not always on |on tty8; :0 not always on |tty7) |tty7) --- Comment #1 from Frederic Crozat <fcrozat@suse.com> 2012-06-26 07:17:47 UTC --- unrelated to systemd, everything is handled by display manager -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768788 https://bugzilla.novell.com/show_bug.cgi?id=768788#c2 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fcrozat@suse.com Summary|[3 on cmdline] X session |[systemd][3 on cmdline] X |tty locations not |session tty locations not |predictable (:1 not always |predictable (:1 not always |on tty8; :0 not always on |on tty8; :0 not always on |tty7) |tty7) --- Comment #2 from Felix Miata <mrmazda@earthlink.net> 2012-06-26 09:41:23 UTC --- :0 on tty7 and :1 on tty8 always ensues from non-F5 booting with sysvinit-init installed. Could systemd really not be at least a contributing factor? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768788 https://bugzilla.novell.com/show_bug.cgi?id=768788#c3 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|fcrozat@suse.com | Summary|[systemd][3 on cmdline] X |[3 on cmdline] X session |session tty locations not |tty locations not |predictable (:1 not always |predictable (:1 not always |on tty8; :0 not always on |on tty8; :0 not always on |tty7) |tty7) --- Comment #3 from Frederic Crozat <fcrozat@suse.com> 2012-06-26 09:52:33 UTC --- systemd doesn't decide which tty are used for X session. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768788 https://bugzilla.novell.com/show_bug.cgi?id=768788#c4 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fcrozat@suse.com Summary|[3 on cmdline] X session |[systemd][3 on cmdline] X |tty locations not |session tty locations not |predictable (:1 not always |predictable (:1 not always |on tty8; :0 not always on |on tty8; :0 not always on |tty7) |tty7) --- Comment #4 from Felix Miata <mrmazda@earthlink.net> 2012-06-26 10:16:09 UTC --- Systemd may not be the fault directly, but it definitely is predicate to recreating the unexpected and unwanted behavior. Consequently, having it in summary makes this bug more likely found in a search, and thus less likely duplicated. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768788 https://bugzilla.novell.com/show_bug.cgi?id=768788#c kk zhang <kkzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkzhang@suse.com AssignedTo|bnc-team-screening@forge.pr |fcrozat@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768788 https://bugzilla.novell.com/show_bug.cgi?id=768788#c5 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Basesystem |KDE4 Workspace AssignedTo|fcrozat@suse.com |kde-maintainers@suse.de --- Comment #5 from Frederic Crozat <fcrozat@suse.com> 2012-07-02 14:03:49 UTC --- assigning to KDE team -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768788 https://bugzilla.novell.com/show_bug.cgi?id=768788#c6 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fcrozat@suse.com Component|KDE4 Workspace |X.Org AssignedTo|kde-maintainers@suse.de |bnc-team-xorg-bugs@forge.pr | |ovo.novell.com QAContact|qa-bugs@suse.de |xorg-maintainer-bugs@forge. | |provo.novell.com --- Comment #6 from Felix Miata <mrmazda@earthlink.net> 2012-07-03 03:50:16 UTC --- Not KDE-specific. Alternate 3 reproduce [i865 host gx27b Gnome Desktop installation]: 1-boot (with 3 on cmdline) 2-login on tty2 3-login on tty3 4-# startx on tty3 Actual results: 1-Gnome is on tty4 Expected results: 1-Gnome is on tty7 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768788 https://bugzilla.novell.com/show_bug.cgi?id=768788#c7 --- Comment #7 from Stefan Dirsch <sndirsch@suse.com> 2012-07-03 06:54:28 UTC --- With Xserver being started via startx (no longer supported since how many years now?) it grabs the first available tty, whereas KDM/GDM apparently prefer to chose a predefined tty for the first, second, etc. Xserver. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768788 https://bugzilla.novell.com/show_bug.cgi?id=768788#c8 --- Comment #8 from Felix Miata <mrmazda@earthlink.net> 2012-07-03 08:28:46 UTC --- (In reply to comment #7)
With Xserver being started via startx (no longer supported since how many years now?) it grabs the first available tty, whereas KDM/GDM apparently prefer to chose a predefined tty for the first, second, etc. Xserver.
First available is never tty[1-6] when sysvinit-init is installed, so it seems systemd must be failing to do something sysvinit does do. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768788 https://bugzilla.novell.com/show_bug.cgi?id=768788#c9 --- Comment #9 from Frederic Crozat <fcrozat@suse.com> 2012-07-03 08:42:38 UTC --- (In reply to comment #8)
First available is never tty[1-6] when sysvinit-init is installed, so it seems systemd must be failing to do something sysvinit does do.
I already written it : systemd doesn't handle on which tty X is being started. The only reason X might not start on tty7, compared to sysvinit, might be because tty2-6 are allocated on demand by systemd (when alt-Fx is pressed) and this might screw the logic in X (or display manager) to find a free tty. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768788 https://bugzilla.novell.com/show_bug.cgi?id=768788#c10 --- Comment #10 from Felix Miata <mrmazda@earthlink.net> 2012-07-03 09:02:11 UTC --- (In reply to comment #9)
tty2-6 are allocated on demand by systemd (when alt-Fx is pressed)
Why the difference here from sysvinit? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768788 https://bugzilla.novell.com/show_bug.cgi?id=768788#c Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED AssignedTo|bnc-team-xorg-bugs@forge.pr |xorg-maintainer-bugs@forge. |ovo.novell.com |provo.novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768788 https://bugzilla.novell.com/show_bug.cgi?id=768788#c11 Jörg Mayer <jmayer@loplof.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jmayer@loplof.de --- Comment #11 from Jörg Mayer <jmayer@loplof.de> 2012-09-04 05:54:07 UTC --- If you have two monitors connected to your computer and don't change the setup then you should have a right to expect that the same applications always appear on the same monitor. Everthing else is a bug. When I run xdm restart (which of course tells me how to do this with systemctl instead) and X changes from alt-f7 to alt-f8 in the process, then this isn't cool or acceptable. You probably wouldn't find it acceptable if the keyboard mapping changed two keys due to some race condition from time to time. I don't know how long you have been using oS or it's predecessors: Has there been a time when the default has not been: tty1...tty6 X:0 X:1 ? So what happens right now is that with the new systemd, this behavior changes. The assignment is no longer fix but depends on "raceconditions" instead. So what is needed is a way to have a fixed mapping of tty to virtual console - and that the same X session always ends up on the same virtual screen. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768788 https://bugzilla.novell.com/show_bug.cgi?id=768788#c12 --- Comment #12 from Felix Miata <mrmazda@earthlink.net> 2012-10-17 01:31:07 UTC --- Reproduction on 12.2/KDE 4.9.2 host hs80e freshly updated: 1-boot (with 3 on cmdline) 2-login on tty2 3-login on tty3 4-login on tty4 5-# init 5 on tty3 6-$ startx -- :1 on tty4 Actual results: 1-KDM is on tty7 2-:1 X session is on tty1 Expected results: 1-KDM is on tty7 2-:1 X session is on tty8 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768788 https://bugzilla.novell.com/show_bug.cgi?id=768788#c13 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|X.Org |X.Org Version|Beta 2 |12.3 Milestone 1 AssignedTo|xorg-maintainer-bugs@forge. |bnc-team-xorg-bugs@forge.pr |provo.novell.com |ovo.novell.com Product|openSUSE 12.2 |openSUSE Factory --- Comment #13 from Felix Miata <mrmazda@earthlink.net> 2012-12-25 08:37:37 UTC --- Moving to release next since it isn't going to be fixed for 12.2. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768788 https://bugzilla.novell.com/show_bug.cgi?id=768788#c14 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-xorg-bugs@forge.pr |xorg-maintainer-bugs@forge. |ovo.novell.com |provo.novell.com Summary|[systemd][3 on cmdline] X |[3 on cmdline] X session |session tty locations not |tty locations not |predictable (:1 not always |predictable (:1 not always |on tty8; :0 not always on |on tty8; :0 not always on |tty7) |tty7) --- Comment #14 from Felix Miata <mrmazda@earthlink.net> 2012-12-25 08:50:34 UTC --- Restoring assignee changed by version update. Updating summary, since systemd-init will be the only init option for release next. Most recent in release-next milestone 2: with 3 on cmdline boot I logged in on tty3, then did startx. That put X/KDE3 on tty2. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=768788 https://bugzilla.novell.com/show_bug.cgi?id=768788#c15 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|X.Org |X.Org Version|13.1 Milestone 1 |Final Product|openSUSE Factory |openSUSE 12.3 --- Comment #15 from Stefan Dirsch <sndirsch@suse.com> 2013-04-18 12:28:07 UTC --- Let's assume the issue still applies to openSUSE 12.3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com