Hi all,
I have a raspberry pi model 3B with the official touchscreen display. On it, I start sddm, which automatically logs in a user to start sway. Logging in via ssh I can see that this part still works: sddm is running as root, sway is running as the expected user.
After that, the user starts a graphic application via systemd. This part stopped working after my recent system update (linux-raspberrypi went from 5.10.25-4 -> 5.10.63-7).
Now, the graphic application crashes. This is the relevant excerpt from systemd's log:
$this->bbcode_second_pass_code('', '
Sep 17 15:08:50 AlarmClock python[352]: Failed to create wl_display (No such file or directory)
Sep 17 15:08:50 AlarmClock kernel: kauditd_printk_skb: 5 callbacks suppressed
Sep 17 15:08:52 AlarmClock kernel: audit: type=1701 audit(1631884130.772:46): auid=1000 uid=1000 gid=1000 ses=2 pid=352 comm="PengClock" exe="/usr/bin/python3.9" sig=6 res=1
Sep 17 15:08:50 AlarmClock audit[352]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=2 pid=352 comm="PengClock" exe="/usr/bin/python3.9" sig=6 res=1
Sep 17 15:08:50 AlarmClock python[352]: qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
Sep 17 15:08:50 AlarmClock python[352]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Sep 17 15:08:52 AlarmClock systemd[1]: Created slice Slice /system/systemd-coredump.
')
Suspecting it could be a Python/Qt/application problem, I have already tried starting another wayland app (alacritty). Since the RPi doesn't have a keyboard attached, I tried starting it through $this->bbcode_second_pass_code('', 'sway "exec alacritty"'). This way, I can't see error messages, but I can see that the application isn't running afterwards.
Unfortunately, I wasn't successful googling for a solution
Does anyone have an idea what might be going wrong?
Thanks in advance!