Toward starting the apparently inevitable move from x11 to wayland, I have changed display manager from lightdm to sddm. That has gone successfully as I can now start gnome in wayland and all appears running ok thus far.
But I can’t start “sddm-greeter-qt6”. I get some missing daemon message. See output below.
But lightdm-greeter works. No relevant search hints re: QLocalSocket.
I saw a ref that said to recompile sddm-greeter with qt dep worked.
Any alternative ideas? thanks
thanks, tom kosvic
tom@mydesktop: ~ $ sddm-greeter-qt6
[12:14:14.957] (II) GREETER: High-DPI autoscaling Enabled
Gtk-Message: 12:14:15.043: Failed to load module "window-decorations-gtk-module"
Gtk-Message: 12:14:15.043: Failed to load module "colorreload-gtk-module"
[12:14:15.105] (II) GREETER: Reading from "/usr/local/share/wayland-sessions/gnome-classic.desktop"
[12:14:15.105] (II) GREETER: Reading from "/usr/share/wayland-sessions/gnome-classic.desktop"
[12:14:15.106] (II) GREETER: Reading from "/usr/local/share/wayland-sessions/gnome.desktop"
[12:14:15.106] (II) GREETER: Reading from "/usr/share/wayland-sessions/gnome.desktop"
[12:14:15.108] (II) GREETER: Reading from "/usr/local/share/wayland-sessions/weston.desktop"
[12:14:15.108] (II) GREETER: Reading from "/usr/share/wayland-sessions/weston.desktop"
[12:14:15.108] (II) GREETER: Reading from "/usr/local/share/xsessions/awesome.desktop"
[12:14:15.108] (II) GREETER: Reading from "/usr/share/xsessions/awesome.desktop"
[12:14:15.109] (II) GREETER: Reading from "/usr/local/share/xsessions/default.desktop"
[12:14:15.109] (II) GREETER: Reading from "/usr/share/xsessions/default.desktop"
[12:14:15.110] (II) GREETER: Reading from "/usr/local/share/xsessions/icewm-session.desktop"
[12:14:15.110] (II) GREETER: Reading from "/usr/share/xsessions/icewm-session.desktop"
[12:14:15.111] (II) GREETER: Reading from "/usr/local/share/xsessions/icewm.desktop"
[12:14:15.111] (II) GREETER: Reading from "/usr/share/xsessions/icewm.desktop"
[12:14:15.112] (II) GREETER: Reading from "/usr/local/share/xsessions/mate.desktop"
[12:14:15.112] (II) GREETER: Reading from "/usr/share/xsessions/mate.desktop"
[12:14:15.114] (II) GREETER: Reading from "/usr/local/share/xsessions/twm.desktop"
[12:14:15.114] (II) GREETER: Reading from "/usr/share/xsessions/twm.desktop"
[12:14:15.115] (II) GREETER: Loading theme configuration from "qrc:/theme/theme.conf"
[12:14:15.118] (WW) GREETER: dbus reply error: [ "org.freedesktop.DBus.Error.NameHasNoOwner" ] "Could not activate remote peer 'org.freedesktop.portal.Desktop': startup job failed"
[12:14:15.118] (WW) GREETER: dbus reply error: [ "org.freedesktop.DBus.Error.NameHasNoOwner" ] "Could not activate remote peer 'org.freedesktop.portal.Desktop': startup job failed"
[12:14:15.119] (EE) GREETER: Socket error: "QLocalSocket::connectToServer: Invalid name"
[12:14:15.119] (EE) GREETER: Cannot connect to the daemon - is it running?
tom@mydesktop: ~ $
INSTALLATION
Qt >= 5.15.0 is required to use SDDM.
SDDM runs the greeter as a system user named "sddm" whose home directory needs to be set to /var/lib/sddm.
If pam and systemd are available, the greeter will go through logind which will give it access to drm devices.
Distributions without pam and systemd will need to put the "sddm" user into the "video" group, otherwise errors regarding GL and drm devices might be experienced.
I don’t know how to implement the note re: greeter.
tom@mydesktop: ~ $ systemctl status sddm
● sddm.service - Simple Desktop Display Manager
Loaded: loaded (/usr/lib/systemd/system/sddm.service; enabled; preset: disabled)
Active: active (running) since Wed 2026-10-14 14:13:51 CDT; 3min 48s ago
Invocation: 7f915a3878a14574bf49c63c41d01a8c
Docs: man:sddm(1)
man:sddm.conf(5)
Main PID: 1845 (sddm)
Tasks: 4 (limit: 38214)
CPU: 30.632s
CGroup: /system.slice/sddm.service
├─1845 /usr/bin/sddm
└─1899 /usr/bin/Xorg.bin -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_tCuTFA -noreset -displayfd 16
Oct 14 14:14:11 mydesktop sddm-helper[2325]: [PAM] returning.
Oct 14 14:14:11 mydesktop sddm[1845]: Authentication for user "tom" successful
Oct 14 14:14:11 mydesktop sddm-helper[2325]: pam_unix(sddm:session): session opened for user tom(uid=1000) by tom(uid=0)
Oct 14 14:14:11 mydesktop sddm[1845]: Auth: sddm-helper exited successfully
Oct 14 14:14:11 mydesktop sddm[1845]: Greeter stopped. SDDM::Auth::HELPER_SUCCESS
Oct 14 14:14:12 mydesktop sddm-helper[2325]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
Oct 14 14:14:12 mydesktop sddm-helper[2325]: Writing cookie to "/tmp/xauth_JAyHAi"
Oct 14 14:14:12 mydesktop sddm-helper[2325]: Starting X11 session: "" "/usr/etc/X11/xdm/Xsession \"mate-session\""
Oct 14 14:14:12 mydesktop sddm[1845]: Session started true
Oct 14 14:14:12 mydesktop sddm-helper[2325]: Failed to write utmpx: No such file or directory
tom@mydesktop: ~ $ ]
tom@mydesktop: ~ $ sudo journalctl -b -u sddm
Oct 14 14:13:51 mydesktop systemd[1]: Started Simple Desktop Display Manager.
Oct 14 14:13:52 mydesktop sddm[1845]: Initializing...
Oct 14 14:13:52 mydesktop sddm[1845]: Starting...
Oct 14 14:13:52 mydesktop sddm[1845]: Logind interface found
Oct 14 14:13:52 mydesktop sddm[1845]: Adding new display...
Oct 14 14:13:52 mydesktop sddm[1845]: Loaded empty theme configuration
Oct 14 14:13:52 mydesktop sddm[1845]: Xauthority path: "/run/sddm/xauth_tCuTFA"
Oct 14 14:13:52 mydesktop sddm[1845]: Using VT 2
Oct 14 14:13:52 mydesktop sddm[1845]: Display server starting...
Oct 14 14:13:52 mydesktop sddm[1845]: Writing cookie to "/run/sddm/xauth_tCuTFA"
Oct 14 14:13:52 mydesktop sddm[1845]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_tCuTFA -noreset -displayfd 16
Oct 14 14:13:57 mydesktop sddm[1845]: Setting default cursor
Oct 14 14:13:57 mydesktop sddm[1845]: Running display setup script "/usr/etc/X11/xdm/Xsetup"
Oct 14 14:13:57 mydesktop sddm[1845]: Display server started.
Oct 14 14:13:57 mydesktop sddm[1845]: Socket server starting...
Oct 14 14:13:57 mydesktop sddm[1845]: Socket server started.
Oct 14 14:13:57 mydesktop sddm[1845]: The configured theme "breeze-openSUSE" doesn't exist, using the embedded theme instead
Oct 14 14:13:57 mydesktop sddm[1845]: Loaded empty theme configuration
Oct 14 14:13:57 mydesktop sddm[1845]: Greeter starting...
Oct 14 14:13:57 mydesktop sddm-helper[1953]: [PAM] Starting...
Oct 14 14:13:57 mydesktop sddm-helper[1953]: [PAM] Authenticating...
Oct 14 14:13:57 mydesktop sddm-helper[1953]: [PAM] returning.
Oct 14 14:13:58 mydesktop sddm-helper[1953]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=459) by sddm(uid=0)
Oct 14 14:13:58 mydesktop sddm-helper[1953]: Writing cookie to "/tmp/xauth_hHLOiu"
Oct 14 14:13:58 mydesktop sddm-helper[1953]: Starting X11 session: "" "/usr/bin/sddm-greeter --socket /tmp/sddm-:0-MKNPvF"
Oct 14 14:13:58 mydesktop sddm[1845]: Greeter session started successfully
Oct 14 14:13:59 mydesktop sddm[1845]: Message received from greeter: Connect
Oct 14 14:14:11 mydesktop sddm[1845]: Message received from greeter: Login
Oct 14 14:14:11 mydesktop sddm[1845]: Reading from "/usr/share/xsessions/mate.desktop"
Oct 14 14:14:11 mydesktop sddm[1845]: Session "/usr/share/xsessions/mate.desktop" selected, command: "mate-session" for VT 2
Oct 14 14:14:11 mydesktop sddm-helper[2325]: [PAM] Starting...
Oct 14 14:14:11 mydesktop sddm-helper[2325]: [PAM] Authenticating...
Oct 14 14:14:11 mydesktop sddm-helper[2325]: [PAM] Preparing to converse...
Oct 14 14:14:11 mydesktop sddm-helper[2325]: [PAM] Conversation with 1 messages
Oct 14 14:14:11 mydesktop sddm-helper[2325]: gkr-pam: unable to locate daemon control file
Oct 14 14:14:11 mydesktop sddm-helper[2325]: gkr-pam: stashed password to try later in open session
Oct 14 14:14:11 mydesktop sddm-helper[2325]: [PAM] returning.
Oct 14 14:14:11 mydesktop sddm[1845]: Authentication for user "tom" successful
Oct 14 14:14:11 mydesktop sddm-helper[2325]: pam_unix(sddm:session): session opened for user tom(uid=1000) by tom(uid=0)
Oct 14 14:14:11 mydesktop sddm[1845]: Auth: sddm-helper exited successfully
Oct 14 14:14:11 mydesktop sddm[1845]: Greeter stopped. SDDM::Auth::HELPER_SUCCESS
Oct 14 14:14:12 mydesktop sddm-helper[2325]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
Oct 14 14:14:12 mydesktop sddm-helper[2325]: Writing cookie to "/tmp/xauth_JAyHAi"
Oct 14 14:14:12 mydesktop sddm-helper[2325]: Starting X11 session: "" "/usr/etc/X11/xdm/Xsession \"mate-session\""
Oct 14 14:14:12 mydesktop sddm[1845]: Session started true
Oct 14 14:14:12 mydesktop sddm-helper[2325]: Failed to write utmpx: No such file or directory
lines 23-46/46 (END)
Ok, so I’m confused. That journal output you showed, looks an awful lot like sddm successfully starting as an X11 client, and then you logging into the MATE desktop.
As I stated initially, sddm is running apparently fine. “sddm-greeter” does not start with the error messages I first posted above. I can login to mate with x11 and gnome with wayland.
no, it shouldn’t. running sddm-greeter-qt6 isn’t something that you just run from a bash prompt. It’s just one of the greeters that’s available for sddm to use.
It might be possible to just launch sddm directly from a bash prompt, I’ve honestly never tried it, I’ve always invoked it through a systemd service.
So, the SDDM login manager is working for you it appears. You mentioned that Gnome Wayland desktop session is working for you. What else are you trying to do here?
I am trying to get sddm-greeter functioning as I stated in the beginning. I get no info on a search for “QLocalSocket”.
tom@mydesktop: ~ $ sddm-greeter
[20:04:40.391] (II) GREETER: High-DPI autoscaling Enabled
[20:04:40.690] (II) GREETER: Reading from "/usr/local/share/wayland-sessions/gnome-classic.desktop"
[20:04:40.690] (II) GREETER: Reading from "/usr/share/wayland-sessions/gnome-classic.desktop"
[20:04:40.696] (II) GREETER: Reading from "/usr/local/share/wayland-sessions/gnome.desktop"
[20:04:40.696] (II) GREETER: Reading from "/usr/share/wayland-sessions/gnome.desktop"
[20:04:40.705] (II) GREETER: Reading from "/usr/local/share/wayland-sessions/weston.desktop"
[20:04:40.705] (II) GREETER: Reading from "/usr/share/wayland-sessions/weston.desktop"
[20:04:40.710] (II) GREETER: Reading from "/usr/local/share/xsessions/awesome.desktop"
[20:04:40.710] (II) GREETER: Reading from "/usr/share/xsessions/awesome.desktop"
[20:04:40.719] (II) GREETER: Reading from "/usr/local/share/xsessions/default.desktop"
[20:04:40.719] (II) GREETER: Reading from "/usr/share/xsessions/default.desktop"
[20:04:40.720] (II) GREETER: Reading from "/usr/local/share/xsessions/icewm-session.desktop"
[20:04:40.723] (II) GREETER: Reading from "/usr/share/xsessions/icewm-session.desktop"
[20:04:40.724] (II) GREETER: Reading from "/usr/local/share/xsessions/icewm.desktop"
[20:04:40.724] (II) GREETER: Reading from "/usr/share/xsessions/icewm.desktop"
[20:04:40.724] (II) GREETER: Reading from "/usr/local/share/xsessions/mate.desktop"
[20:04:40.725] (II) GREETER: Reading from "/usr/share/xsessions/mate.desktop"
[20:04:40.726] (II) GREETER: Reading from "/usr/local/share/xsessions/twm.desktop"
[20:04:40.726] (II) GREETER: Reading from "/usr/share/xsessions/twm.desktop"
[20:04:40.736] (II) GREETER: Loading theme configuration from "qrc:/theme/theme.conf"
[20:04:40.748] (EE) GREETER: Socket error: "QLocalSocket::connectToServer: Invalid name"
[20:04:40.748] (EE) GREETER: Cannot connect to the daemon - is it running?
tom@mydesktop: ~ $
I am trying to use “sddm -greeter-qt6” analogously as I used “lightdm-greeter” as a gui means of customizing the display manager. Lightdm-greeter starts from the commandline after a root login. I could change many things in lightdm-greeter to affect lightdm and I thought that sddm-greeter would function in a similar manner.
It appears that sddm-greeter does not work analogously. I guess I can change things through the config files.
@knurpht , thanks. I have long (8-10 hr) openfoam cfd run going and I don’t want to reboot and kill that. Will try your commands when I get this run finished.
The greeter is not intended to be run directly by the user. It should be started by SDDM when the display manager starts, normally during boot. You indicated earlier that the login manager is working?
As Gertjan mentioned (and it was hinted at earlier) make sure that the sddm.service is enabled and active.
lightdm has a standalone “greeter” that you can start from the commandline and where you can change things. I thought the sddm greeter was similar. Apparently not.
Maybe the wants to change the greeter theme.
You can run sddm in the command line for testing by: sddm-greeter --test-mode
It will show the basic greeter but you can specify the /path/to/your/theme
Once you install sddm it will pull or install the systemsetings of plasma.
In systemsettings you can do some modification of the sddm like theming or the greeter theme background.