https://bugs.kde.org/show_bug.cgi?id=479359

            Bug ID: 479359
           Summary: sddm-helper-start-wayland fails/exits after manually
                    turn on monitors
    Classification: Plasma
           Product: kwin
           Version: 5.91.0
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: j...@devklog.net
  Target Milestone: ---

# Summary

I turned off my 2 monitors overnight with the computer at SDDM waiting for
login and turned them back on in the morning. This led to
`sddm-helper-start-wayland` to fail and SDDM to exit, leaving me with a
broken/empty TTY.

Logs:

```
Jan 03 06:53:58 wave5 sddm-helper-start-wayland[44348]: "kwin_core: Parse error
in tiles configuration for monitor \"92e842d7-5928-5c43-884a-4912e7cc82ed\" :
\"illegal value\" Creating default setup\n"
Jan 03 06:53:58 wave5 sddm-greeter[44353]: Creating a fake screen in order for
Qt not to crash
Jan 03 06:53:58 wave5 sddm-greeter[44353]: Loading
file:///usr/share/sddm/themes/breeze/Main.qml...
Jan 03 06:53:58 wave5 sddm-greeter[44353]: Failed to find a Kirigami platform
plugin
Jan 03 06:53:58 wave5 sddm-greeter[44353]: Adding view for "" QRect(0,0 0x0)
Jan 03 06:53:59 wave5 sddm-helper-start-wayland[44348]: "kwin_core: Could not
find any suitable output for a layer surface\n"
Jan 03 06:53:59 wave5 sddm-helper-start-wayland[44348]: wayland greeter
finished 0 QProcess::NormalExit
Jan 03 06:53:59 wave5 sddm-helper-start-wayland[44348]: quitting
helper-start-wayland
Jan 03 06:53:59 wave5 sddm-helper-start-wayland[44348]: Stopping...
"kwin_wayland"
Jan 03 06:53:59 wave5 sddm-helper-start-wayland[44348]: "QtDBus: cannot relay
signals from parent QObject(0x55ad50323b20 \"\") unless they are emitted in the
object's thread QThread(0x55ad50183238 \"libinput-connection\"). Current thread
is QThread(0x55ad501328f0 \"\").\n"
Jan 03 06:53:59 wave5 xdg-desktop-por[44492]: Error reading events from
display: Broken pipe
Jan 03 06:53:59 wave5 systemd[44295]: xdg-desktop-portal-gtk.service: Main
process exited, code=exited, status=1/FAILURE
Jan 03 06:53:59 wave5 systemd[44295]: xdg-desktop-portal-gtk.service: Failed
with result 'exit-code'.
Jan 03 06:53:59 wave5 sddm-helper-start-wayland[44348]: wayland compositor
finished 15 QProcess::NormalExit
Jan 03 06:53:59 wave5 sddm-helper-start-wayland[44348]: quitting
helper-start-wayland
Jan 03 06:53:59 wave5 sddm-helper[44279]: [PAM] Closing session
Jan 03 06:53:59 wave5 sddm-helper[44279]: pam_unix(sddm-greeter:session):
session closed for user sddm
Jan 03 06:53:59 wave5 sddm-helper[44279]: [PAM] Ended.
Jan 03 06:53:59 wave5 sddm[1193]: Auth: sddm-helper exited successfully
Jan 03 06:53:59 wave5 systemd-logind[1050]: Session c6 logged out. Waiting for
processes to exit.
Jan 03 06:53:59 wave5 sddm[1193]: Greeter stopped. SDDM::Auth::HELPER_SUCCESS
Jan 03 06:53:59 wave5 systemd[1]: session-c6.scope: Deactivated successfully.
```

I had to open a console session in another TTY and restart `sddm.service`.

# Configuration

/etc/sddm.conf.d/10-wayland.conf 
```
[General]
DisplayServer=wayland
GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell

[Wayland]
CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts
--locale1
```

/etc/sddm.conf.d/kde_settings.conf
``` 
[Autologin]
Relogin=false
Session=
User=

[General]
HaltCommand=/usr/bin/systemctl poweroff
RebootCommand=/usr/bin/systemctl reboot

[Theme]
Current=breeze
CursorSize=
CursorTheme=breeze_cursors
Font=Noto Sans,10,-1,0,400,0,0,0,0,0,0,0,0,0,0,1

[Users]
MaximumUid=60513
MinimumUid=1000
```

# System info

Arch Linux
Linux: 6.6.9-arch1-1
Nvidia: 545.29.06 (open dkms)
sddm: 0.20.0-3

Running KDE Plasma 6.0 Beta 2 from Arch kde-unstable.

See also https://github.com/sddm/sddm/issues/1847

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to