[Bug 936842] New: GNOME/GDM fails to start on openSUSE 42 (permission to X)
http://bugzilla.opensuse.org/show_bug.cgi?id=936842 Bug ID: 936842 Summary: GNOME/GDM fails to start on openSUSE 42 (permission to X) Classification: openSUSE Product: openSUSE Distribution Version: 42 Bootstrap Phase Hardware: Other OS: Other Status: NEW Severity: Normal 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: --- Reference openQA test: https://openqa.opensuse.org/tests/69544 from the respective journal:
Jun 30 02:24:15 linux-nw7k /usr/lib/gdm/gdm-x-session[756]: (EE) Jun 30 02:24:15 linux-nw7k /usr/lib/gdm/gdm-x-session[756]: Fatal server error: Jun 30 02:24:15 linux-nw7k gdm-autologin][727]: pam_unix(gdm-autologin:session): session closed for user bernhard Jun 30 02:24:15 linux-nw7k display-manager[636]: Starting service gdm<5>GdmDisplay: display lasted 0.053500 seconds Jun 30 02:24:15 linux-nw7k /usr/lib/gdm/gdm-x-session[756]: (EE) Cannot open log file "/var/log/Xorg.(null).log" Jun 30 02:24:15 linux-nw7k /usr/lib/gdm/gdm-x-session[756]: (EE) Jun 30 02:24:15 linux-nw7k /usr/lib/gdm/gdm-x-session[756]: (EE) Jun 30 02:24:15 linux-nw7k /usr/lib/gdm/gdm-x-session[756]: Please consult the The X.Org Foundation support Jun 30 02:24:15 linux-nw7k /usr/lib/gdm/gdm-x-session[756]: at http://wiki.x.org Jun 30 02:24:15 linux-nw7k /usr/lib/gdm/gdm-x-session[756]: for help. Jun 30 02:24:15 linux-nw7k /usr/lib/gdm/gdm-x-session[756]: (EE) Jun 30 02:24:15 linux-nw7k /usr/lib/gdm/gdm-x-session[756]: Unable to run X server
Note: gdm-x-session is the parent process, not the failing one. The actual reporting prociess is Xorg As far as I know, gdm (3.16.x) wants to launch X either u+s or integrated with systemd-logind. Both conditions are not met currently in openSUSE:42 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c1
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c2
Scott Reeves
Scott: can you please find a resource to assist on this issue? I'll be off for a week, and we should try to not stall this issue for that long
Federico is looking into this ... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
Stephan Kulow
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c12
Ismail Donmez
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c22
--- Comment #22 from Dominique Leuenberger
From the journal, I extracted a part of the log that might be interesting:
(II) glamor: EGL version 1.4 (DRI2) EGL_MESA_drm_image required (EE) modeset(o): glamor initialization failed -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c23
--- Comment #23 from Stephan Kulow
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c24
--- Comment #24 from Stefan Dirsch
We now have an updated X-stack in openSUSE 42; unfortunately, GNOME Still has its share of issues starting up.
From the journal, I extracted a part of the log that might be interesting:
(II) glamor: EGL version 1.4 (DRI2) EGL_MESA_drm_image required (EE) modeset(o): glamor initialization failed
So we don't see the issue on factory/tumbleweed? Are you sure? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c25
--- Comment #25 from Stefan Dirsch
is that possibly a simple case of missing recompiles?
I don't thihnk so. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c26
--- Comment #26 from Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c27
--- Comment #27 from Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c28
--- Comment #28 from Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c29
--- Comment #29 from Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c34
--- Comment #34 from Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c36
--- Comment #36 from Dominique Leuenberger
The latest issues seem to be based on systemd user session tracking issues.
* if I don't set X to setuid, I don't have permissions on /dev/input/*
xdm and sddm start Xorg as root, causing this not to be an issue there. On Tumbleweed, we also start Xorg as non-privileged user, so 'this works' - but we are lacking some integration pieces in Leap 42.1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c45
--- Comment #45 from Dominique Leuenberger
That one maybe?
http://unix.stackexchange.com/questions/149283/xorg-with-kernel-mode- settings-wont-work-with-other-tty
should not be : active tty during boot is vt7 (thanks to plymouth) - and gdm fires up on tty7 too.
[ 120.356] (EE) intel(0): failed to set mode: Permission denied [13] is one we randomly see on Tumbleweed testing as well (rarely though)
On my qemu/kvm, I got a bit different logs: X obviously starts (but doesn't show anything). But there I see that the cirrus driver can't load due to a kernel module occupying the device already - then it falls back to fbdev... (any trick for this setup?) But I also see permission issues when opening /dev/input/* devices - so not much working once X started (with a black screen only) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c46
--- Comment #46 from Stefan Dirsch
(In reply to Stefan Dirsch from comment #44)
That one maybe?
http://unix.stackexchange.com/questions/149283/xorg-with-kernel-mode- settings-wont-work-with-other-tty
should not be : active tty during boot is vt7 (thanks to plymouth) - and gdm fires up on tty7 too.
Please leave gdm out of the game for now and try with a pure Xserver started as root, i.e. Xorg -retro -verbose 7 -logverbose 7
[ 120.356] (EE) intel(0): failed to set mode: Permission denied [13] is one we randomly see on Tumbleweed testing as well (rarely though)
Ok. That's news for me. Possibly it fails for everyone testing on real hardware? I wouldn't be surprised ...
On my qemu/kvm, I got a bit different logs: X obviously starts (but doesn't show anything).
But there I see that the cirrus driver can't load due to a kernel module occupying the device already - then it falls back to fbdev... (any trick for this setup?)
cirrus X driver cannot work, if a Cirrus KMS is loaded (which is meanehile the default). Fallback should be modesetting X driver though. Now integrated into X server ("modeset" in the logfile). fbdev would be the last resort. So there is something wrong.
But I also see permission issues when opening /dev/input/* devices - so not much working once X started (with a black screen only)
Again related to gdm I guess. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c47
--- Comment #47 from Dominique Leuenberger
[ 120.356] (EE) intel(0): failed to set mode: Permission denied [13] is one we randomly see on Tumbleweed testing as well (rarely though)
Ok. That's news for me. Possibly it fails for everyone testing on real hardware? I wouldn't be surprised ...
unlikely - as that would imply not a single TW install on real HW, including mine - would work. this is clearly not what we see. In openQA it seems a bit random and appears to be a racing condition (but not debugged yet - and to be handled in a different bug) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c48
--- Comment #48 from Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c49
--- Comment #49 from Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c50
--- Comment #50 from Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c51
--- Comment #51 from Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c52
--- Comment #52 from Dominique Leuenberger
Ah. Interesting. With xorg-server built with
--disable-systemd-logind \ --with-systemd-daemon="no" \
No way: or we have to reintroduce consolekit as session manager - which is no longer supported in GNOME 3.16.
I no longer see the error messages about permission problems with systemd-logind. I will submitrequest this change and the udpated input drivers. Possibly this helps.
I updated the evdev input driver on my box to 2.9.2 and that made all evdev permissions (/dev/input/*) go away and I can control X at least now.. I can get you an up-to-date journal from the last boot. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c53
--- Comment #53 from Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c54
--- Comment #54 from Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c56
--- Comment #56 from Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c57
--- Comment #57 from Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=936842
http://bugzilla.opensuse.org/show_bug.cgi?id=936842#c58
--- Comment #58 from Stefan Dirsch
participants (1)
-
bugzilla_noreply@novell.com