Bug 498253

Summary: startplasma-wayland coredump at first login from sddm
Product: [Plasma] kwin Reporter: alain.brasseau
Component: platform-wayland-nestedAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: 6.2.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: file I modified on my computer

Description alain.brasseau 2025-01-04 16:57:12 UTC
Created attachment 177109 [details]
file I modified on my computer

At first login after boot, loging my session fails, and come back to sddm-greeter, but a kwin_wayland session is still opened on tty2. Then  if I try to login again it freezes with black screen. Elsewhere if I kill de kwin session with exit menu and go back to tty1 I can then login with no problem. journalctl tells me that startplasma-wayland has dumped core on last session.
Looking about howto use kwin-wayland and sddm wayland-session I saw that there was a script  called plasma-dbus-run-session-if-needed who test for an active suitable dbus-session so I put a " sleep 1 " line before the test in the shell-script and now everything run ok... But maybe there is a better way to solve this... I hope ;)
SUMMARY


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Mageia10 (Cauldron)
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
Comment 1 alain.brasseau 2025-01-05 04:47:05 UTC
today 5 January 2025, after a night with computer powered-off,  at start-up the problem is back ... so the "sleep 1" trick doesn't helped a long time , the problem is still the same..
I noticed that in the opened session Kwin_wayland I lost the "wheel" group rights , when I kill the session and relogin in sddm-greeter then startplasma-wayland is ok and I've got the rights back....