[Bug 1116011] New: [staging] autologin results in session crash with GDM 3.30.x
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011 Bug ID: 1116011 Summary: [staging] autologin results in session crash with GDM 3.30.x Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: GNOME Assignee: bnc-team-gnome@forge.provo.novell.com Reporter: dimstar@opensuse.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Identified by openQA: https://openqa.opensuse.org/tests/795647#step/first_boot/2 with GDM 3.30, the session logs in (first_boot is passing, desktop is shown) but shortly after crashes back to the login screen. openSUSE:Factory has been updated to GNOME 3.30 but 'stuck' to gdm 3.28.x due to this reason. But this can't be a long-term solution to keep it like this. The same issue can be observed on the GNOME-Next live media (which is built with gdm 3.30.x as well) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011
Scott Reeves
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011
Oliver Kurz
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011
Bjørn Lie
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011#c4
xiaoguang wang
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011
Yifan Jiang
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011#c5
--- Comment #5 from xiaoguang wang
We use tty7 to start gdm auto login session. After this commit, gdm will not select tty7, and will find a free tty to start, but get tty1. X start fails on tty1(in log ~/.local/share/xorg/Xorg.0.log), that makes auto login fail.
The description why gdm gets free tty from kernel is tty1. Condition: 1. plymouth starts from tty7 2. At the end of gdm starting, gdm kills plymouth service 3. After plymouth service stops, getty@tty1.service will start When gdm want to get a free tty from kernel, getty@tty1.service doesn't start, so gdm gets tty1. Then user session and X start on tty1. After gdm kills plymouth, getty@tty1.service starts up, it occupies the tty1, then X fails, gdm returns to login session. two solutions: 1. revert gdm commit 39fb4ff. 2. change plymouth compile parameter: remove --with-boot-tty=/dev/tty7 Which solution do we want to use? Or we have other solution. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011
xiaoguang wang
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011
xiaoguang wang
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011#c6
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011
Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011#c7
xiaoguang wang
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011#c8
--- Comment #8 from xiaoguang wang
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011#c9
Dominique Leuenberger
I find a another solution:
change file '/etc/systemd/logind.conf'
from: #ReserveVT=6 to: ReserveVT=1
It works. gdm get tty2 from kernel.
This sounds pretty clean - This does not conflict with agetty@tty1, right? Then I think this to be the cleanest solution, EXCEPT using a file in /usr/lib/systemd/logind.conf.d/*.conf This would allow an admin to change our default by overriding the same file name in /etc (without us messing with config files) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011#c10
--- Comment #10 from xiaoguang wang
(In reply to xiaoguang wang from comment #8)
I find a another solution:
change file '/etc/systemd/logind.conf'
from: #ReserveVT=6 to: ReserveVT=1
It works. gdm get tty2 from kernel.
This sounds pretty clean - This does not conflict with agetty@tty1, right? I tested it, didn't conflict with agetty@tty1.
Then I think this to be the cleanest solution, EXCEPT using a file in
/usr/lib/systemd/logind.conf.d/*.conf
This would allow an admin to change our default by overriding the same file name in /etc (without us messing with config files) I will create a file:
/etc/systemd/logind.conf.d/reserveVT.conf [Login] ReserveVT=1 If it's okay, I will create a SR to G:N gdm. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011#c11
--- Comment #11 from Dominique Leuenberger
I will create a file:
/etc/systemd/logind.conf.d/reserveVT.conf [Login] ReserveVT=1
If it's okay, I will create a SR to G:N gdm.
All ok, but please /usr/lib/systemd/logind.conf.d/reserveVT.conf -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011
http://bugzilla.opensuse.org/show_bug.cgi?id=1116011#c12
Dominique Leuenberger
participants (1)
-
bugzilla_noreply@novell.com