https://bugs.kde.org/show_bug.cgi?id=445240
Bug ID: 445240 Summary: Logging from kwin_wayland failing to start with 10 "cannot open display" Gtk-WARNING lines is not helpful enough to determine the issue Product: kwin Version: 5.23.3 Platform: Manjaro OS: Linux Status: REPORTED Severity: major Priority: NOR Component: platform-wayland Assignee: kwin-bugs-n...@kde.org Reporter: lexlex...@gmail.com Target Milestone: --- Created attachment 143390 --> https://bugs.kde.org/attachment.cgi?id=143390&action=edit wayland session log ***Please understand that this issue report is about logging only, not the failure to start the session.*** STEPS TO REPRODUCE 1. Have the issue where the session named "Plasma (Wayland)" fails to start from SDDM, in such a way that trying to start it from the SDDM login menu navigates to a black screen, stays there for a few seconds, then navigates back to the SDDM login menu. 2. Verify that the contents of your ~/.local/share/sddm/wayland-session.log file are the following, or any with "cannot open display:" with nothing following that text, like so: --- (kwin_wayland:1939): Gtk-WARNING **: 16:11:52.831: cannot open display: (kwin_wayland:1944): Gtk-WARNING **: 16:11:52.903: cannot open display: (kwin_wayland:1945): Gtk-WARNING **: 16:11:52.975: cannot open display: (kwin_wayland:1946): Gtk-WARNING **: 16:11:53.036: cannot open display: (kwin_wayland:1948): Gtk-WARNING **: 16:11:53.094: cannot open display: (kwin_wayland:1949): Gtk-WARNING **: 16:11:53.151: cannot open display: (kwin_wayland:1951): Gtk-WARNING **: 16:11:53.206: cannot open display: (kwin_wayland:1952): Gtk-WARNING **: 16:11:53.262: cannot open display: (kwin_wayland:1953): Gtk-WARNING **: 16:11:53.318: cannot open display: (kwin_wayland:1954): Gtk-WARNING **: 16:11:53.373: cannot open display: (kwin_wayland:1955): Gtk-WARNING **: 16:11:53.428: cannot open display: startplasmacompositor: Shutting down... startplasmacompositor: Done. --- 3. Spend as much time as it takes to search online for a way to work around the issue. OBSERVED BEHAVIOR The log entries here that are like "Gtk-WARNING **: 16:11:52.831: cannot open display: " with nothing after them are not informative enough to figure out what the problem is, and there's no error message explaining why the session could not start, from either kwin_wayland or startplasmacompositor. The log file itself is attached to this ticket. EXPECTED BEHAVIOR Session log entries for sessions which fail to start are expected to explain clearly what is causing them to fail to start. SOFTWARE/OS VERSIONS Windows: N/A macOS: N/A Linux/KDE Plasma: Linux 5.15 KDE Plasma Version: KDE Plasma 5.23.3 KDE Frameworks Version: 5.23.3 Qt Version: 5.15.2 and 6.2.1 ADDITIONAL INFORMATION Remember, this issue report is not about the failure to start. That can be tackled in another ticket. This is about the log entries on session start failure not being useful enough to determine the cause of the session start failure. They should always say exactly what's wrong, and improving the logging to the point where it says exactly what's wrong if the session fails to start is the only goal of this ticket. -- You are receiving this mail because: You are watching all bug changes.