https://bugs.kde.org/show_bug.cgi?id=527660
Bug ID: 527660
Summary: [6.8 regression] XDG autostart apps fail at login:
graphical-session.target reached before
KWin/WAYLAND_DISPLAY is ready
Classification: Plasma
Product: plasmashell
Version First 6.8.1
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: "Manage Desktop and Panels" window
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: 1.0
SUMMARY
After upgrading from Plasma 6.7.5 to 6.8.0 (Qt 6.11.2 -> 6.12.0), with systemd
boot enabled,
every graphical XDG autostart application fails at login on Wayland, including
plasma-fallback-session-restore, org.kde.discover.notifier, octopi-notifier and
hplip-systray.
Everything worked on 6.7.5. systemd was NOT updated in the same transaction.
ERROR (plasma-fallback-session-restore, SIGABRT on every login since the
upgrade):
Failed to create wl_display (No such file or directory)
Could not load the Qt platform plugin "wayland" in "" even though it was
found.
could not connect to display
This application failed to start because no Qt platform plugin could be
initialized.
JOURNAL ORDERING (user session):
10:27:19.418 Reached target Current graphical user session.
(graphical-session.target)
10:27:20.099 Started Octopi Notifier. (fails)
10:27:20.124 Reached target Session services which should run early before
the graphical session is brought up. (graphical-session-pre.target)
graphical-session.target is reached BEFORE graphical-session-pre.target and
before
WAYLAND_DISPLAY/DISPLAY are imported into the systemd user environment, so all
After=graphical-session.target autostart units start without a display.
STEPS TO REPRODUCE
1. Plasma 6.8.0/6.8.1 Wayland session, systemdBoot=true (default)
2. Have any graphical app in XDG autostart
3. Log in
OBSERVED: autostart units are in "failed" state; manually restarting them
afterwards works
(systemctl --user restart 'app-octopi\[email protected]' ->
running).
EXPECTED: autostart units start after the compositor is ready.
WORKAROUND
kwriteconfig6 --file startkderc --group General --key systemdBoot false
-> all autostart apps and session restore work again.
SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma: 6.8.1 (plasma-workspace 6.8.1-1, kwin 6.8.x)
KDE Frameworks: 6.31
Qt: 6.12.0 (qt6-base 6.12.0-3, qt6-wayland 6.12.0-1)
Graphics platform: Wayland
Possibly related (older): bug 433299, bug 442380
--
You are receiving this mail because:
You are watching all bug changes.