You are not logged in.

#1 2022-09-28 13:17:10

Hompeaz
Member
Registered: 2021-05-18
Posts: 7

[SOLVED]SDDM shows blank screen with cursor, but no greeter

Hi,

About one week earlier, my sddm suddenly got a blank screen but only the mouse cursor was displayed.

I have checked the sddm troubleshooting but it won't help.

I've checked the sddm log. The

cat /var/log/sddm.log

shows that:

[15:53:59.462] (II) GREETER: High-DPI autoscaling not Enabled
[15:53:59.466] (WW) GREETER: could not connect to display 
[15:53:59.466] (II) GREETER: Could not load the Qt platform plugin "xcb" in "" even though it was found.
[15:53:59.466] (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, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

I've tried to reinstall the qt5-base and sddm, but that didn't change anything.

(The qt5-base version is 5.15.6.)

Thank you so much for helping!

Last edited by Hompeaz (2022-09-28 17:53:57)

Offline

#2 2022-09-28 13:21:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,923

Re: [SOLVED]SDDM shows blank screen with cursor, but no greeter

Are you using a custom qt theme or so that might need a rebuild (common candidate qt5-styleplugins from the AUR which you definitely need to rebuild against 5.15.6)? Are your paths broken/refering to a non-default Qt? Output of

printenv

from a terminal?

Offline

#3 2022-09-28 16:15:22

Hompeaz
Member
Registered: 2021-05-18
Posts: 7

Re: [SOLVED]SDDM shows blank screen with cursor, but no greeter

V1del wrote:

Are you using a custom qt theme or so that might need a rebuild (common candidate qt5-styleplugins from the AUR which you definitely need to rebuild against 5.15.6)? Are your paths broken/refering to a non-default Qt? Output of

printenv

from a terminal?

I don't use any custom QT or GTK theme but I do use a custom sddm theme. I manage to install the qt5-styleplugins from AUR and rebuild the qt5-base. Then I restart the sddm, and it still displays a blank screen with a cursor, weirdly the log at /var/log/sddm.log was not updated this time.

The output of

printenv

are as followed:

SYSTEMD_EXEC_PID=893
PAGER=less
LANG=C.UTF-8
_CE_M=
TERMINATOR_DBUS_PATH=/net/tenshu/Terminator2
COLORTERM=truecolor
QT_IM_MODULE=fcitx
USER=hompeaz
HOME=/home/hompeaz
OLDPWD=/home/hompeaz
TERMINATOR_UUID=urn:uuid:640cdeb4-eaef-4b21-9d53-45fc4fa1c807
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
XDG_VTNR=2
XDG_SEAT=seat0
I3SOCK=/run/user/1000/i3/ipc-socket.993
LESS=-R
GTK_MODULES=canberra-gtk-module
GTK_IM_MODULE=fcitx
WINDOWPATH=2
VTE_VERSION=6800
ZSH=/home/hompeaz/.oh-my-zsh
LSCOLORS=Gxfxcxdxbxegedabagacad
MAIL=/var/spool/mail/hompeaz
LOGNAME=hompeaz
PATH=/opt/miniconda/condabin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
XDG_RUNTIME_DIR=/run/user/1000
XMODIFIERS="@im=fcitx"
SHELL=/usr/bin/zsh
XDG_SESSION_TYPE=tty
XDG_SESSION_ID=2
LD_LIBRARY_PATH=:/home/hompeaz/.mujoco/mujoco200/bin:/home/hompeaz/.mujoco/mujoco200/bin
_=/usr/bin/printenv
MOTD_SHOWN=pam
INVOCATION_ID=5db07f89071f414e811e868468b8a268
SHLVL=3
XAUTHORITY=/home/hompeaz/.Xauthority
TERMINATOR_DBUS_NAME=net.tenshu.Terminator23558193cd9818af7fe4d2c2f5bd9d00f
DISPLAY=:1
TERM=xterm-256color
PWD=/home/hompeaz
XDG_SESSION_CLASS=user

The tty1 is blocked by sddm so now I'm using the tty2.

Offline

#4 2022-09-28 16:31:18

seth
Member
Registered: 2012-09-03
Posts: 52,464

Re: [SOLVED]SDDM shows blank screen with cursor, but no greeter

Then I restart the sddm, and it still displays a blank screen with a cursor, weirdly the log at /var/log/sddm.log was not updated this time.

Please post a complete system journal

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Are you sure that the sddm.log you posted isn't (slightly) older than the  problem?
What are its timestamps?

stat /var/log/sddm.log

Offline

#5 2022-09-28 16:44:12

Hompeaz
Member
Registered: 2021-05-18
Posts: 7

Re: [SOLVED]SDDM shows blank screen with cursor, but no greeter

seth wrote:

Then I restart the sddm, and it still displays a blank screen with a cursor, weirdly the log at /var/log/sddm.log was not updated this time.

Please post a complete system journal

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Are you sure that the sddm.log you posted isn't (slightly) older than the  problem?
What are its timestamps?

stat /var/log/sddm.log

You're Right! The sddm.log is much older than the problem (Modify: 2022-09-12).

The complete system journal is http://0x0.st/o4NQ.txt.

Offline

#6 2022-09-28 17:02:25

seth
Member
Registered: 2012-09-03
Posts: 52,464

Re: [SOLVED]SDDM shows blank screen with cursor, but no greeter

Sep 28 12:37:49 LisArch systemd-coredump[735]: Process 729 (sddm-greeter) of user 971 dumped core.
                                               #0  0x00007f807c0a149c n/a (libc.so.6 + 0x8849c)
                                               #1  0x00007f807c051958 raise (libc.so.6 + 0x38958)
                                               #2  0x00007f807c03b53d abort (libc.so.6 + 0x2253d)
                                               #3  0x00007f807c690a7c _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x90a7c)
                                               #4  0x00007f807c6a788f n/a (libQt5Core.so.5 + 0xa788f)
                                               #5  0x00007f807de486bc _ZN19QQuickWindowPrivateC1Ev (libQt5Quick.so.5 + 0x2486bc)
                                               #6  0x00007f807debae0e _ZN17QQuickViewPrivateC1Ev (libQt5Quick.so.5 + 0x2bae0e)
                                               #7  0x00007f807debaec5 _ZN10QQuickViewC1EP7QWindow (libQt5Quick.so.5 + 0x2baec5)
                                               #8  0x00005595f2ca2896 _ZN4SDDM10GreeterApp16addViewForScreenEP7QScreen (sddm-greeter + 0x29896)
                                               #9  0x00005595f2ca33fc _ZN4SDDM10GreeterApp7startupEv (sddm-greeter + 0x2a3fc)
                                               #10 0x00007f807c8f2055 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2f2055)
                                               #11 0x00007f807c8c4f08 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2c4f08)
                                               #12 0x00007f807c8c8073 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5 + 0x2c8073)
                                               #13 0x00007f807c91f528 n/a (libQt5Core.so.5 + 0x31f528)
                                               #14 0x00007f807b51981b g_main_context_dispatch (libglib-2.0.so.0 + 0x5581b)
                                               #15 0x00007f807b56fec9 n/a (libglib-2.0.so.0 + 0xabec9)
                                               #16 0x00007f807b5180d2 g_main_context_iteration (libglib-2.0.so.0 + 0x540d2)
                                               #17 0x00007f807c91eb7c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x31eb7c)
                                               #18 0x00007f807c8c383c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2c383c)
                                               #19 0x00007f807c8cbf3a _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2cbf3a)
                                               #20 0x00005595f2c917c8 main (sddm-greeter + 0x187c8)
                                               #21 0x00007f807c03c290 n/a (libc.so.6 + 0x23290)
                                               #22 0x00007f807c03c34a __libc_start_main (libc.so.6 + 0x2334a)
                                               #23 0x00005595f2c9300e _start (sddm-greeter + 0x1a00e)
                                               
                                               Stack trace of thread 730:
                                               #0  0x00007f807c113e5f __poll (libc.so.6 + 0xfae5f)
                                               #1  0x00007f807b56fe2f n/a (libglib-2.0.so.0 + 0xabe2f)
                                               #2  0x00007f807b5180d2 g_main_context_iteration (libglib-2.0.so.0 + 0x540d2)
                                               #3  0x00007f807c91eb7c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x31eb7c)
                                               #4  0x00007f807c8c383c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2c383c)
                                               #5  0x00007f807c6cdfef _ZN7QThread4execEv (libQt5Core.so.5 + 0xcdfef)
                                               #6  0x00007f8078836afc n/a (libQt5DBus.so.5 + 0x15afc)
                                               #7  0x00007f807c6cf30d n/a (libQt5Core.so.5 + 0xcf30d)
                                               #8  0x00007f807c09f74d n/a (libc.so.6 + 0x8674d)
                                               #9  0x00007f807c121700 n/a (libc.so.6 + 0x108700)
                                               
                                               Stack trace of thread 732:
                                               #0  0x00007f807c113e5f __poll (libc.so.6 + 0xfae5f)
                                               #1  0x00007f807e21f20b n/a (libxcb.so.1 + 0xd20b)
                                               #2  0x00007f807e220ccd xcb_wait_for_event (libxcb.so.1 + 0xeccd)
                                               #3  0x00007f8078915e42 n/a (libQt5XcbQpa.so.5 + 0x63e42)
                                               #4  0x00007f807c6cf30d n/a (libQt5Core.so.5 + 0xcf30d)
                                               #5  0x00007f807c09f74d n/a (libc.so.6 + 0x8674d)
                                               #6  0x00007f807c121700 n/a (libc.so.6 + 0x108700)
                                               ELF object binary architecture: AMD x86-64

Because

Sep 28 12:37:49 LisArch sddm-greeter[729]: Cannot mix incompatible Qt library (5.15.5) with this library (5.15.6)
Sep 28 12:37:49 LisArch audit[729]: ANOM_ABEND auid=4294967295 uid=971 gid=971 ses=4294967295 pid=729 comm="sddm-greeter" exe="/usr/bin/sddm-greeter" sig=6 res=1
sudo pacman -Syu

Offline

#7 2022-09-28 17:51:23

Hompeaz
Member
Registered: 2021-05-18
Posts: 7

Re: [SOLVED]SDDM shows blank screen with cursor, but no greeter

seth wrote:
Sep 28 12:37:49 LisArch systemd-coredump[735]: Process 729 (sddm-greeter) of user 971 dumped core.
                                               #0  0x00007f807c0a149c n/a (libc.so.6 + 0x8849c)
                                               #1  0x00007f807c051958 raise (libc.so.6 + 0x38958)
                                               #2  0x00007f807c03b53d abort (libc.so.6 + 0x2253d)
                                               #3  0x00007f807c690a7c _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x90a7c)
                                               #4  0x00007f807c6a788f n/a (libQt5Core.so.5 + 0xa788f)
                                               #5  0x00007f807de486bc _ZN19QQuickWindowPrivateC1Ev (libQt5Quick.so.5 + 0x2486bc)
                                               #6  0x00007f807debae0e _ZN17QQuickViewPrivateC1Ev (libQt5Quick.so.5 + 0x2bae0e)
                                               #7  0x00007f807debaec5 _ZN10QQuickViewC1EP7QWindow (libQt5Quick.so.5 + 0x2baec5)
                                               #8  0x00005595f2ca2896 _ZN4SDDM10GreeterApp16addViewForScreenEP7QScreen (sddm-greeter + 0x29896)
                                               #9  0x00005595f2ca33fc _ZN4SDDM10GreeterApp7startupEv (sddm-greeter + 0x2a3fc)
                                               #10 0x00007f807c8f2055 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2f2055)
                                               #11 0x00007f807c8c4f08 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2c4f08)
                                               #12 0x00007f807c8c8073 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5 + 0x2c8073)
                                               #13 0x00007f807c91f528 n/a (libQt5Core.so.5 + 0x31f528)
                                               #14 0x00007f807b51981b g_main_context_dispatch (libglib-2.0.so.0 + 0x5581b)
                                               #15 0x00007f807b56fec9 n/a (libglib-2.0.so.0 + 0xabec9)
                                               #16 0x00007f807b5180d2 g_main_context_iteration (libglib-2.0.so.0 + 0x540d2)
                                               #17 0x00007f807c91eb7c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x31eb7c)
                                               #18 0x00007f807c8c383c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2c383c)
                                               #19 0x00007f807c8cbf3a _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2cbf3a)
                                               #20 0x00005595f2c917c8 main (sddm-greeter + 0x187c8)
                                               #21 0x00007f807c03c290 n/a (libc.so.6 + 0x23290)
                                               #22 0x00007f807c03c34a __libc_start_main (libc.so.6 + 0x2334a)
                                               #23 0x00005595f2c9300e _start (sddm-greeter + 0x1a00e)
                                               
                                               Stack trace of thread 730:
                                               #0  0x00007f807c113e5f __poll (libc.so.6 + 0xfae5f)
                                               #1  0x00007f807b56fe2f n/a (libglib-2.0.so.0 + 0xabe2f)
                                               #2  0x00007f807b5180d2 g_main_context_iteration (libglib-2.0.so.0 + 0x540d2)
                                               #3  0x00007f807c91eb7c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x31eb7c)
                                               #4  0x00007f807c8c383c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2c383c)
                                               #5  0x00007f807c6cdfef _ZN7QThread4execEv (libQt5Core.so.5 + 0xcdfef)
                                               #6  0x00007f8078836afc n/a (libQt5DBus.so.5 + 0x15afc)
                                               #7  0x00007f807c6cf30d n/a (libQt5Core.so.5 + 0xcf30d)
                                               #8  0x00007f807c09f74d n/a (libc.so.6 + 0x8674d)
                                               #9  0x00007f807c121700 n/a (libc.so.6 + 0x108700)
                                               
                                               Stack trace of thread 732:
                                               #0  0x00007f807c113e5f __poll (libc.so.6 + 0xfae5f)
                                               #1  0x00007f807e21f20b n/a (libxcb.so.1 + 0xd20b)
                                               #2  0x00007f807e220ccd xcb_wait_for_event (libxcb.so.1 + 0xeccd)
                                               #3  0x00007f8078915e42 n/a (libQt5XcbQpa.so.5 + 0x63e42)
                                               #4  0x00007f807c6cf30d n/a (libQt5Core.so.5 + 0xcf30d)
                                               #5  0x00007f807c09f74d n/a (libc.so.6 + 0x8674d)
                                               #6  0x00007f807c121700 n/a (libc.so.6 + 0x108700)
                                               ELF object binary architecture: AMD x86-64

Because

Sep 28 12:37:49 LisArch sddm-greeter[729]: Cannot mix incompatible Qt library (5.15.5) with this library (5.15.6)
Sep 28 12:37:49 LisArch audit[729]: ANOM_ABEND auid=4294967295 uid=971 gid=971 ses=4294967295 pid=729 comm="sddm-greeter" exe="/usr/bin/sddm-greeter" sig=6 res=1
sudo pacman -Syu

Thanks! The problem has been solved!

The

sudo pacman -Syu

didn't work but the cause of the problem was correct!

I use

pacman -Qm | grep qt

and find a foreign package names qt5-declarative-git.

I reinstall and cleanBuild the package and the sddm displays successfully!

Offline

Board footer

Powered by FluxBB