So I’ve tried to use SDDM with XFCE, but it doesn’t seem to want to work properly, and I’m not savvy enough to know what’s the underlying reason.
I removed lightdm and installed SDDM, so far so good.
The problem is that when I cold boot the system, I get greeted with the TTY1 login screen. Upon logging in with my user, I get the following errors:
xset: unable to open display ""
xset: unable to open display ""
After trying to reset SDDM through systemd # systemd reset sddm.service
; the greeter shows up as expected.
After some jiggery-pokery around I managed to fix this by telling SDDM to start on TTY7 instead of 1.
And now the greeter shows up automatically as it should (well, on one of my machines, the other still doesn’t work as expected), but I’m still having issues with SDDM once the screen gets locked or if I suspend the system and then resume.
It always shows a blank screen (on TTY7), and the only option for me is to restart the service like above, which causes my whole XFCE session to end, so I have to start with everything from scratch.
Also tried to launch the greeter manually from TTY1, but would throw a QT error (see below)
I’ve seen this issue reported for folks that are using NVidia or AMD video cards (or a combo of Intel and one of those), however I’m only using Intel IGP.
Tried various things, all which did not help at all.
Here are some logs that might be useful, if not, feel free to ask me for what’s relevant:
Loading greeter manually:
[01:17:25.585] (II) GREETER: High-DPI autoscaling not Enabled
[01:17:25.589] (WW) GREETER: could not connect to display
[01:17:25.589] (II) GREETER: Could not load the Qt platform plugin "xcb" in "" even though it was found.
[01:17:25.589] (EE) GREETER: 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, xcb.
inxi (switched back to lightdm for the time being, ignore that section)