[Bug 1158543] New: Broken dbus implementation in sddm as no second greeter is posssible over dbus
http://bugzilla.opensuse.org/show_bug.cgi?id=1158543 Bug ID: 1158543 Summary: Broken dbus implementation in sddm as no second greeter is posssible over dbus Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.1 Hardware: x86-64 OS: openSUSE Factory Status: NEW Severity: Major Priority: P5 - None Component: KDE Applications Assignee: opensuse-kde-bugs@opensuse.org Reporter: werner@suse.com QA Contact: qa-bugs@suse.de CC: simonf.lees@suse.com Depends on: 1157431 Blocks: 1157462 Found By: --- Blocker: --- +++ This bug was initially created as a clone of Bug #1157431 +++ Using Alias=dbus-org.freedesktop.DisplayManager.service in an own /etc/systemd/system/display-manager.service and enabling this leads with qdbus --system org.freedesktop.DisplayManager /org/freedesktop/DisplayManager/Seat0 org.freedesktop.DisplayManager.Seat.SwitchToGreeter to Nov 21 11:54:55 tux sddm[4218]: Failed to read display number from pipe Nov 21 11:54:55 tux sddm[4218]: Display server failed to start. Exiting Nov 21 11:54:55 tux systemd[1]: display-manager.service: Main process exited, code=dumped, status=6/ABRT Nov 21 11:54:55 tux systemd[1]: display-manager.service: Unit entered failed state. Nov 21 11:54:55 tux systemd[1]: display-manager.service: Triggering OnFailure= dependencies. Nov 21 11:54:55 tux systemd[1]: display-manager.service: Failed to enqueue OnFailure= job: No such file or directory Nov 21 11:54:55 tux systemd[1]: display-manager.service: Failed with result 'core-dump'. seems that sddm on leap 15.1 does call abort() (or the broken configured libdbus-1 does this as this library is by default broken as a library sould NEVER call at any point abort()) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1158543 http://bugzilla.opensuse.org/show_bug.cgi?id=1158543#c1 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|opensuse-kde-bugs@opensuse. |fabian@ritter-vogt.de |org | --- Comment #1 from Dr. Werner Fink <werner@suse.com> --- The dbus people want that all applications using dbus should work and therefore all errors are fatal. Therefore pelase fix sddm to enable all users to lock their screens and enable othe users to open a new session -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1158543 http://bugzilla.opensuse.org/show_bug.cgi?id=1158543#c2 Fabian Vogt <fvogt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fvogt@suse.com Flags| |needinfo?(werner@suse.com) --- Comment #2 from Fabian Vogt <fvogt@suse.com> ---
Nov 21 11:54:55 tux sddm[4218]: Failed to read display number from pipe Nov 21 11:54:55 tux sddm[4218]: Display server failed to start. Exiting
That means Xorg failed to start, check /var/log/Xorg.log* In any case, please provide more info - you wrote that you created a custom .service file, but not telling about the contents. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1158543 http://bugzilla.opensuse.org/show_bug.cgi?id=1158543#c3 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE Flags|needinfo?(werner@suse.com) | --- Comment #3 from Dr. Werner Fink <werner@suse.com> --- OK then this is more a dupliate of boo#1151290 *** This bug has been marked as a duplicate of bug 1151290 *** -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1158543 http://bugzilla.opensuse.org/show_bug.cgi?id=1158543#c4 --- Comment #4 from Dr. Werner Fink <werner@suse.com> --- Only starting X server on a second virtual console seems temporary work. Switching consoles might lead to a crash and starting an X server on the same virtual console does crash immediately :((( -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1158543 http://bugzilla.opensuse.org/show_bug.cgi?id=1158543#c5 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|DUPLICATE |--- --- Comment #5 from Dr. Werner Fink <werner@suse.com> --- One problem seems to remain: libdbus1 aborts sddm if an second X server (which crahses) started over display-manager service. And this, IMHO, should not happen due to a failed X server start triggered over dbus. I've no idea how to avoid this ... maybe in display-manager service the environment variable DBUS_FATAL_WARNINGS should be set to true aka 1, then sddm and all other DM survive the broken dbus-a API ● display-manager.service - X Display Manager Loaded: loaded (/etc/systemd/system/display-manager.service; enabled; vendor preset: enabled) Active: failed (Result: core-dump) since Thu 2019-12-05 14:34:51 CET; 5h 34min ago Main PID: 5042 (code=dumped, signal=ABRT) Tasks: 4 (limit: 4915) CGroup: /system.slice/display-manager.service └─17056 /usr/bin/X -reset -nolisten tcp -auth /run/sddm/{2a148eb5-b5af-4ca6-b2af-c4d27e5f1302} -background none -noreset -displayfd 19 -seat seat0 vt7 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1158543 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Broken dbus implementation |Broken dbus API aborts |in sddm as no second |sddm if second greeter is |greeter is posssible over |not posssible over dbus due |dbus |X server crash -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1158543 http://bugzilla.opensuse.org/show_bug.cgi?id=1158543#c6 Fabian Vogt <fabian@ritter-vogt.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |UPSTREAM --- Comment #6 from Fabian Vogt <fabian@ritter-vogt.de> --- (In reply to Dr. Werner Fink from comment #5)
One problem seems to remain: libdbus1 aborts sddm if an second X server (which crahses) started over display-manager service.
Why do you think that's libdbus1? sddm has:
// start display server if (!m_displayServer->start()) { qFatal("Display server failed to start. Exiting"); }
By default, qFatal calls abort() after logging. Feel free to open an issue upstream (https://github.com/sddm/sddm). -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com