Bug 374668

Summary: Plugging USB hub results in switching to SDDM
Product: [Plasma] kwin Reporter: Szymon Łągiewka <bugs-kde>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.8.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: attachment-605-0.html

Description Szymon Łągiewka 2017-01-06 23:51:22 UTC
SDDM starts my Wayland session on TTY2.
After I HOT plugged an USB hub (from an external display) I saw for a second systemd log and then SDDM. Turned out I'm on TTY1. I switched back to TTY2. My wireless connection was now dropped, but the session seemed to be unchanged.

Dmesg output from the connection moment: https://paste.kde.org/pyibd7a89/ucnfio

After retrying the hot plug, there was no sddm-greeter segfault, but the switch to TTY1 kept happening.

Such events do not happen on X11. Though I did not try starting X11 session on TTY2 when SDDM is on TTY1 and I realize this may not be KWin/Wayland related.
Comment 1 Martin Flöser 2017-01-07 09:12:14 UTC
Created attachment 103252 [details]
attachment-605-0.html

Weird issue. Might be a problem in sddm.
Comment 2 Martin Flöser 2017-07-22 12:31:21 UTC
Assuming it's a problem in SDDM. In case you have any point showing that it's a problem of KWin please reopen.