You are not logged in.
Hi,
I'm having a strange issue with SDDM.
I'm on a fresh install of archlinux on a framework laptop. I've installed the basic xorg packages:
~$ sudo pacman -Qs xorg
local/xf86-input-libinput 1.5.0-1 (xorg-drivers)
Generic input driver for the X.Org server based on libinput
local/xorg-fonts-alias-misc 1.0.6-1
X.org font alias files - misc font familiy
local/xorg-fonts-encodings 1.1.0-1 (xorg-fonts xorg)
X.org font encoding files
local/xorg-fonts-misc 1.0.4-2
X.org misc fonts
local/xorg-server 21.1.21-1 (xorg)
Xorg X server
local/xorg-server-common 21.1.21-1 (xorg)
Xorg server common files
local/xorg-setxkbmap 1.3.4-2 (xorg-apps xorg)
Set the keyboard using the X Keyboard Extension
local/xorg-xauth 1.1.5-1 (xorg-apps xorg)
X.Org authorization settings program
local/xorg-xinit 1.4.4-1
X.Org initialisation program
local/xorg-xkbcomp 1.5.0-1 (xorg-apps xorg)
X Keyboard description compiler
local/xorg-xmodmap 1.0.11-2 (xorg-apps xorg)
Utility for modifying keymaps and button mappings
local/xorg-xrandr 1.5.3-1 (xorg-apps xorg)
Primitive command line interface to RandR extension
local/xorg-xrdb 1.2.2-2 (xorg-apps xorg)
X server resource database utility
local/xorg-xsetroot 1.1.3-2 (xorg-apps xorg)
Classic X utility to set your root window background to a given pattern or color
local/xorgproto 2025.1-1
combined X.Org X11 Protocol headersand I've been able to run dwm (via startx with "exec dwm" in .xinitrc) and qutebrowser (which I'm currently using to type this post) inside an xsession so the x server seems fine.
I've enabled the sddm service and when I boot the laptop I get a black screen with a cursor (telltale sign that sddm failed to run but x is working fine as I learned dealing with lots of qt issues on another machine)
If I run
sddm-greeterfrom another tty I get the following output:
[19:04:07.248] (II) GREETER: Got keys from plugin meta data ("xcb")
[19:04:07.248] (II) GREETER: QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/platforms" ...
[19:04:07.255] (II) GREETER: loaded library "/usr/lib/qt/plugins/platforms/libqxcb.so"
[19:04:07.256] (WW) GREETER: could not connect to display
[19:04:07.256] (II) GREETER: Could not load the Qt platform plugin "xcb" in "" even though it was found.
[19:04:07.257] (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.I checked and all the necessary xcb plugins are installed and that libqxcb.so's dependencies are all there:
~$ ldd /usr/lib/qt/plugins/platforms/libqxcb.so
linux-vdso.so.1 (0x00007f09767ae000)
libQt5XcbQpa.so.5 => /usr/lib/libQt5XcbQpa.so.5 (0x00007f0976655000)
libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0x00007f0975e00000)
libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0x00007f0975800000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f0975400000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f097520f000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f0976604000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f0976532000)
libQt5DBus.so.5 => /usr/lib/libQt5DBus.so.5 (0x00007f09764b1000)
libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0x00007f09764ac000)
libxcb-icccm.so.4 => /usr/lib/libxcb-icccm.so.4 (0x00007f09764a5000)
libxcb-image.so.0 => /usr/lib/libxcb-image.so.0 (0x00007f097649f000)
libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x00007f097649a000)
libxcb-keysyms.so.1 => /usr/lib/libxcb-keysyms.so.1 (0x00007f0976493000)
libxcb-randr.so.0 => /usr/lib/libxcb-randr.so.0 (0x00007f0975dee000)
libxcb-render-util.so.0 => /usr/lib/libxcb-render-util.so.0 (0x00007f0975de8000)
libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00007f0975dd9000)
libxcb-shape.so.0 => /usr/lib/libxcb-shape.so.0 (0x00007f0975dd3000)
libxcb-sync.so.1 => /usr/lib/libxcb-sync.so.1 (0x00007f0975dca000)
libxcb-xfixes.so.0 => /usr/lib/libxcb-xfixes.so.0 (0x00007f0975dc1000)
libxcb-xinerama.so.0 => /usr/lib/libxcb-xinerama.so.0 (0x00007f0975dbc000)
libxcb-xkb.so.1 => /usr/lib/libxcb-xkb.so.1 (0x00007f0975d9d000)
libxcb-xinput.so.0 => /usr/lib/libxcb-xinput.so.0 (0x00007f0975d78000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f09757d5000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f09750cd000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x00007f0975d6c000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x00007f0975d4f000)
libxkbcommon-x11.so.0 => /usr/lib/libxkbcommon-x11.so.0 (0x00007f09757cb000)
libxkbcommon.so.0 => /usr/lib/libxkbcommon.so.0 (0x00007f097576e000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f0974f75000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f0975741000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f09756cd000)
libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f0974f3a000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f09756b2000)
libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f0974e0e000)
libmd4c.so.0 => /usr/lib/libmd4c.so.0 (0x00007f097569c000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f0974cf0000)
libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x00007f0974bca000)
libdouble-conversion.so.3 => /usr/lib/libdouble-conversion.so.3 (0x00007f0974bb3000)
libicui18n.so.78 => /usr/lib/libicui18n.so.78 (0x00007f0974800000)
libicuuc.so.78 => /usr/lib/libicuuc.so.78 (0x00007f0974400000)
libpcre2-16.so.0 => /usr/lib/libpcre2-16.so.0 (0x00007f0974760000)
libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007f097467a000)
/usr/lib64/ld-linux-x86-64.so.2 (0x00007f09767b0000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f097464f000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f0974ba0000)
libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007f0974b91000)
libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007f09743ad000)
libxcb-util.so.1 => /usr/lib/libxcb-util.so.1 (0x00007f0974649000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f0974644000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f097463c000)
libuuid.so.1 => /usr/lib/libuuid.so.1 (0x00007f0974632000)
libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x00007f09742ff000)
libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007f0974286000)
libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007f0974255000)
libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f097460f000)
libicudata.so.78 => /usr/lib/libicudata.so.78 (0x00007f0972200000)
libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007f0974232000)and I also checked to see if there were any relevant journal entries from sddm:
~$ sudo journalctl -b -u sddm
Mar 05 18:36:21 Theseus systemd[1]: Started Simple Desktop Display Manager.
Mar 05 18:36:21 Theseus sddm[803]: Initializing...
Mar 05 18:36:21 Theseus sddm[803]: Starting...
Mar 05 18:36:21 Theseus sddm[803]: Logind interface found
Mar 05 18:36:21 Theseus sddm[803]: Adding new display...
Mar 05 18:36:21 Theseus sddm[803]: Loaded empty theme configuration
Mar 05 18:36:21 Theseus sddm[803]: Xauthority path: "/run/sddm/xauth_AuKXaw"
Mar 05 18:36:21 Theseus sddm[803]: Using VT 2
Mar 05 18:36:21 Theseus sddm[803]: Display server starting...
Mar 05 18:36:21 Theseus sddm[803]: Writing cookie to "/run/sddm/xauth_AuKXaw"
Mar 05 18:36:21 Theseus sddm[803]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_AuKXaw -noreset -displayf>
Mar 05 18:36:22 Theseus sddm[803]: Failed to find the sddm user. Owner of the auth file will not be changed.
Mar 05 18:36:22 Theseus sddm[803]: Setting default cursor
Mar 05 18:36:22 Theseus sddm[803]: Running display setup script "/usr/share/sddm/scripts/Xsetup"
Mar 05 18:36:22 Theseus sddm[803]: Display server started.
Mar 05 18:36:22 Theseus sddm[803]: Socket server starting...
Mar 05 18:36:22 Theseus sddm[803]: Socket server started.
Mar 05 18:36:22 Theseus sddm[803]: Loading theme configuration from "/usr/share/sddm/themes/archlinux-soft-grey/theme.conf"
Mar 05 18:36:22 Theseus sddm[803]: Greeter starting...
Mar 05 18:36:22 Theseus sddm-helper[827]: [PAM] Starting...
Mar 05 18:36:22 Theseus sddm-helper[827]: [PAM] Authenticating...
Mar 05 18:36:22 Theseus sddm-helper[827]: [PAM] returning.
Mar 05 18:36:22 Theseus sddm-helper[827]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=getpwnam error) by (uid=0)
Mar 05 18:36:22 Theseus sddm-helper[827]: pam_systemd(sddm-greeter:session): Failed to get user record: No such process
Mar 05 18:36:22 Theseus sddm-helper[827]: Writing cookie to "/tmp/xauth_hIyMfp"
Mar 05 18:36:22 Theseus sddm-helper[827]: Starting X11 session: "" "/usr/bin/sddm-greeter --socket /tmp/sddm-:0-KRzsjG --theme /usr/share/sddm/themes>
Mar 05 18:36:22 Theseus sddm-helper[828]: getpwnam_r( "sddm" ) username not found!
Mar 05 18:36:22 Theseus sddm[803]: Greeter session started successfully
Mar 05 18:36:22 Theseus sddm-helper[827]: [PAM] Closing session
Mar 05 18:36:22 Theseus sddm-helper[827]: pam_unix(sddm-greeter:session): session closed for user sddm
Mar 05 18:36:22 Theseus sddm-helper[827]: [PAM] Ended.
Mar 05 18:36:22 Theseus sddm[803]: Auth: sddm-helper exited with 3
Mar 05 18:36:22 Theseus sddm[803]: Greeter stopped. SDDM::Auth::HELPER_OTHER_ERRORCould it be something with the sddm user not existing? I didn't see anything that says you need to create a user for sddm and installing it did not create the user...
Any ideas what the issue could be?
Offline