Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sddm-helper fails to take control of TTY #1456

Open
bimmlerd opened this issue Oct 21, 2021 · 14 comments · Fixed by #1460
Open

sddm-helper fails to take control of TTY #1456

bimmlerd opened this issue Oct 21, 2021 · 14 comments · Fixed by #1460

Comments

@bimmlerd
Copy link

Since rebooting my PC today SDDM doesn't seem to successfully start sway or i3. I login, the greeter window disappears for a brief moment, and then it reappears.

I'm using the AUR sddm-git package, so I'm on latest develop, i.e. c7e8a9f, and using Wayland. The theme is not of importance, I've tried without the theme, with the same result.

SDDM Configuration

[~]$ cd /etc/sddm.conf.d/
[sddm.conf.d]$ ls -lisah
total 16K
2105347 4.0K drwxr-xr-x   2 root root 4.0K Oct 21 18:31 .
2097153 4.0K drwxr-xr-x 111 root root 4.0K Oct 21 18:30 ..
2098828 4.0K -rw-r--r--   1 root root   32 Sep 26 14:09 display-server.conf
2098855 4.0K -rw-r--r--   1 root root   28 Sep 26 13:56 theme.conf
[sddm.conf.d]$ cat display-server.conf
[General]
DisplayServer=wayland
[sddm.conf.d]$ cat theme.conf
[Theme]
Current=sugar-light
[sddm.conf.d]$

Logs

-- Journal begins at Sun 2019-10-20 19:15:18 CEST, ends at Thu 2021-10-21 18:34:11 CEST. --
Oct 21 18:28:55 titan systemd[1]: Started Simple Desktop Display Manager.
Oct 21 18:28:55 titan sddm[16255]: Initializing...
Oct 21 18:28:55 titan sddm[16255]: Starting...
Oct 21 18:28:55 titan sddm[16255]: Logind interface found
Oct 21 18:28:55 titan sddm[16255]: Adding new display...
Oct 21 18:28:55 titan sddm[16255]: Loading theme configuration from ""
Oct 21 18:28:55 titan sddm[16255]: Using VT 7
Oct 21 18:28:55 titan sddm[16255]: Display server started.
Oct 21 18:28:55 titan sddm[16255]: Socket server starting...
Oct 21 18:28:55 titan sddm[16255]: Socket server started.
Oct 21 18:28:55 titan sddm[16255]: Loading theme configuration from ""
Oct 21 18:28:55 titan sddm[16255]: Greeter starting...
Oct 21 18:28:55 titan sddm-helper[16257]: [PAM] Starting...
Oct 21 18:28:55 titan sddm-helper[16257]: [PAM] Authenticating...
Oct 21 18:28:55 titan sddm-helper[16257]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=971) by (uid=0)
Oct 21 18:28:55 titan sddm-helper[16257]: [PAM] returning.
Oct 21 18:28:56 titan sddm[16255]: Greeter session started successfully
Oct 21 18:28:57 titan sddm[16255]: Message received from greeter: Connect
Oct 21 18:29:01 titan sddm[16255]: Message received from greeter: Login
Oct 21 18:29:01 titan sddm[16255]: Reading from "/usr/share/wayland-sessions/sway.desktop"
Oct 21 18:29:01 titan sddm[16255]: Reading from "/usr/share/wayland-sessions/sway.desktop"
Oct 21 18:29:01 titan sddm[16255]: Session "/usr/share/wayland-sessions/sway.desktop" selected, command: "sway" for VT 7
Oct 21 18:29:01 titan sddm-helper[16321]: [PAM] Starting...
Oct 21 18:29:01 titan sddm-helper[16321]: [PAM] Authenticating...
Oct 21 18:29:01 titan sddm-helper[16321]: [PAM] Preparing to converse...
Oct 21 18:29:01 titan sddm-helper[16321]: [PAM] Conversation with 1 messages
Oct 21 18:29:01 titan sddm-helper[16321]: [PAM] returning.
Oct 21 18:29:01 titan sddm-helper[16321]: pam_systemd_home(sddm:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Oct 21 18:29:01 titan sddm[16255]: Authenticated successfully
Oct 21 18:29:01 titan sddm-helper[16321]: pam_unix(sddm:session): session opened for user david(uid=1000) by (uid=0)
Oct 21 18:29:01 titan sddm-helper[16321]: pam_env(sddm:session): deprecated reading of user environment enabled
Oct 21 18:29:01 titan sddm-helper[16321]: Starting Wayland user session: "/usr/share/sddm/scripts/wayland-session sway"
Oct 21 18:29:01 titan sddm-helper[16322]: Failed to take control of /dev/tty7: Operation not permitted
Oct 21 18:29:01 titan sddm[16255]: Session started
Oct 21 18:29:01 titan sddm-helper[16321]: Could not fully finish the process "/usr/share/sddm/scripts/wayland-session"
Oct 21 18:29:01 titan sddm-helper[16321]: pam_unix(sddm:session): session closed for user david
Oct 21 18:29:01 titan sddm-helper[16321]: [PAM] Closing session
Oct 21 18:29:01 titan sddm-helper[16321]: [PAM] Ended.
Oct 21 18:29:01 titan sddm-helper[16325]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=971) by (uid=0)
Oct 21 18:29:01 titan sddm[16255]: Auth: sddm-helper exited with 3
Oct 21 18:29:01 titan sddm[16255]: Greeter stopping...
Oct 21 18:29:01 titan sddm[16255]: Auth: sddm-helper exited with 255
Oct 21 18:29:01 titan sddm[16255]: Greeter stopped.
Oct 21 18:29:01 titan sddm[16255]: Socket server stopping...
Oct 21 18:29:01 titan sddm[16255]: Socket server stopped.
Oct 21 18:29:01 titan sddm[16255]: Removing display SDDM::Display(0x558497742320) ...
Oct 21 18:29:01 titan sddm[16255]: Adding new display...
Oct 21 18:29:01 titan sddm[16255]: Loading theme configuration from ""
Oct 21 18:29:01 titan sddm[16255]: Using VT 7
Oct 21 18:29:01 titan sddm[16255]: Display server started.
Oct 21 18:29:01 titan sddm[16255]: Socket server starting...
Oct 21 18:29:01 titan sddm[16255]: Socket server started.
Oct 21 18:29:01 titan sddm[16255]: Loading theme configuration from ""
Oct 21 18:29:01 titan sddm[16255]: Greeter starting...
Oct 21 18:29:01 titan sddm[16255]: Greeter starting...
Oct 21 18:29:01 titan sddm[16255]: QProcess: Destroyed while process ("/usr/lib/sddm/sddm-helper") is still running.
Oct 21 18:29:01 titan sddm-helper[16325]: [PAM] Starting...
Oct 21 18:29:01 titan sddm-helper[16325]: [PAM] Authenticating...
Oct 21 18:29:01 titan sddm-helper[16325]: [PAM] returning.
Oct 21 18:29:02 titan sddm[16255]: Greeter session started successfully
Oct 21 18:29:03 titan sddm[16255]: Message received from greeter: Connect
Oct 21 18:29:18 titan sddm[16255]: Message received from greeter: Login
Oct 21 18:29:18 titan sddm[16255]: Reading from "/usr/share/wayland-sessions/weston.desktop"
Oct 21 18:29:18 titan sddm[16255]: Reading from "/usr/share/wayland-sessions/weston.desktop"
Oct 21 18:29:18 titan sddm[16255]: Session "/usr/share/wayland-sessions/weston.desktop" selected, command: "weston" for VT 7
Oct 21 18:29:18 titan sddm-helper[16379]: [PAM] Starting...
Oct 21 18:29:18 titan sddm-helper[16379]: [PAM] Authenticating...
Oct 21 18:29:18 titan sddm-helper[16379]: [PAM] Preparing to converse...
Oct 21 18:29:18 titan sddm-helper[16379]: [PAM] Conversation with 1 messages
Oct 21 18:29:18 titan sddm-helper[16379]: [PAM] returning.
Oct 21 18:29:18 titan sddm[16255]: Authenticated successfully
Oct 21 18:29:18 titan sddm-helper[16379]: pam_systemd_home(sddm:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Oct 21 18:29:18 titan sddm-helper[16379]: pam_unix(sddm:session): session opened for user david(uid=1000) by (uid=0)
Oct 21 18:29:18 titan sddm-helper[16379]: pam_env(sddm:session): deprecated reading of user environment enabled
Oct 21 18:29:18 titan sddm-helper[16379]: Starting Wayland user session: "/usr/share/sddm/scripts/wayland-session weston"
Oct 21 18:29:18 titan sddm-helper[16380]: Failed to take control of /dev/tty7: Operation not permitted
Oct 21 18:29:18 titan sddm[16255]: Session started
Oct 21 18:29:18 titan sddm-helper[16379]: Could not fully finish the process "/usr/share/sddm/scripts/wayland-session"
Oct 21 18:29:18 titan sddm-helper[16379]: pam_unix(sddm:session): session closed for user david
Oct 21 18:29:18 titan sddm-helper[16379]: [PAM] Closing session
Oct 21 18:29:18 titan sddm-helper[16379]: [PAM] Ended.
Oct 21 18:29:18 titan sddm-helper[16382]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=971) by (uid=0)
Oct 21 18:29:18 titan sddm[16255]: Auth: sddm-helper exited with 3
Oct 21 18:29:18 titan sddm[16255]: Greeter stopping...
Oct 21 18:29:18 titan sddm[16255]: Auth: sddm-helper exited with 255
Oct 21 18:29:18 titan sddm[16255]: Greeter stopped.
Oct 21 18:29:18 titan sddm[16255]: Socket server stopping...
Oct 21 18:29:18 titan sddm[16255]: Socket server stopped.
Oct 21 18:29:18 titan sddm[16255]: Removing display SDDM::Display(0x558497756940) ...
Oct 21 18:29:18 titan sddm[16255]: Adding new display...
Oct 21 18:29:18 titan sddm[16255]: Loading theme configuration from ""
Oct 21 18:29:18 titan sddm[16255]: Using VT 7
Oct 21 18:29:18 titan sddm[16255]: Display server started.
Oct 21 18:29:18 titan sddm[16255]: Socket server starting...
Oct 21 18:29:18 titan sddm[16255]: Socket server started.
Oct 21 18:29:18 titan sddm[16255]: Loading theme configuration from ""
Oct 21 18:29:18 titan sddm[16255]: Greeter starting...
Oct 21 18:29:18 titan sddm[16255]: Greeter starting...
Oct 21 18:29:18 titan sddm[16255]: QProcess: Destroyed while process ("/usr/lib/sddm/sddm-helper") is still running.
Oct 21 18:29:18 titan sddm-helper[16382]: [PAM] Starting...
Oct 21 18:29:18 titan sddm-helper[16382]: [PAM] Authenticating...
Oct 21 18:29:18 titan sddm-helper[16382]: [PAM] returning.
Oct 21 18:29:18 titan sddm[16255]: Greeter session started successfully
Oct 21 18:29:19 titan sddm[16255]: Message received from greeter: Connect
Oct 21 18:29:29 titan sddm[16255]: Message received from greeter: Reboot
Oct 21 18:29:29 titan sddm[16255]: Error from greeter session: "Process crashed"
Oct 21 18:29:29 titan sddm[16255]: Auth: sddm-helper (--socket /tmp/sddm-auth8e8ac66b-8d91-4c94-b6bf-827d656966a0 --id 7 --start /usr/bin/sddm-greeter --socket /tmp/sddm--wPIgYh --user sddm --display-server weston --shell=fullscreen-shell.so --greeter) crashed (exit code 1)
Oct 21 18:29:29 titan sddm[16255]: Error from greeter session: "Process crashed"
Oct 21 18:29:29 titan sddm[16255]: Auth: sddm-helper exited with 1
Oct 21 18:29:29 titan sddm[16255]: Greeter stopped.
Oct 21 18:29:29 titan sddm[16255]: Signal received: SIGTERM
Oct 21 18:29:29 titan systemd[1]: Stopping Simple Desktop Display Manager...
Oct 21 18:29:29 titan sddm[16255]: Socket server stopping...
Oct 21 18:29:29 titan sddm[16255]: Socket server stopped.
Oct 21 18:29:29 titan systemd[1]: sddm.service: Deactivated successfully.
Oct 21 18:29:29 titan systemd[1]: Stopped Simple Desktop Display Manager.

Note the Failed to take control of /dev/tty7: Operation not permitted, which seems to be the underlying issue. I somewhat suspect that its related to the privilege dropping code, but that's purely a guess.

@yan12125
Copy link

I have the same issue. Here is my /etc/sddm.conf:

[General]
DisplayServer=x11-user

# Default session log files and X log files are under ~/.local/share/sddm
# and ~/.local/share/Xorg, respectively. Conflicts will occur among machines
# with ~/.local synced.
[X11]
# Upstream sddm used to have -logfile /dev/null, but removed in
# https://github.com/sddm/sddm/pull/1415. Per
# https://github.com/sddm/sddm/pull/1415#issuecomment-866581936,
# using /dev/null makes logs captured by sddm-helper, and thus they go to
# journald in the end.
ServerArguments=-nolisten tcp -logfile /dev/null
SessionLogFile=.cache/sddm/xorg-session.log

[Wayland]
SessionLogFile=.cache/sddm/wayland-session.log

I'm also on Arch Linux and using the sddm-git AUR package. Here is the build script.

I tried to gather some relevant information. Hopefully those are useful:

  • Logs from sudo strace -fp 4815,4820,4825 -s 1024 -o ~/tmp/sddm.log: sddm.log
  • Relevant processes reported by htop:
       4815 root       20   0  135M 17212 15736 S  0.0  0.2  0:00.01 ├─ /usr/bin/sddm
       4820 root       20   0 61468 16332 14912 S  0.0  0.2  0:00.00 │  └─ /usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth7805f561-b623-4b0a-a970-84c1149f7f21 --id 2 --start /usr/bin/sddm-greeter --socket /tmp/sddm--hpHDXB --user sddm --displ
       4825 sddm       20   0 51408 11584 10736 S  0.0  0.1  0:00.01 │     └─ /usr/lib/sddm/sddm-helper-start-x11user /usr/bin/X -nolisten tcp -logfile /dev/null -background none -seat seat0 -noreset -keeptty -novtswitch -verbose 3 /usr/bin/sdd
       4826 sddm       20   0  202M 34164 20976 S  0.0  0.4  0:00.13 │        ├─ /usr/lib/Xorg -nolisten tcp -logfile /dev/null -background none -seat seat0 -noreset -keeptty -novtswitch -verbose 3 -auth /run/user/978/f7fbcb8f-c8b9-4905-a441-e2
       4832 sddm       20   0  842M 74320 50464 S  0.0  0.9  0:00.19 │        └─ /usr/bin/sddm-greeter --socket /tmp/sddm--hpHDXB
  • Controlling TTYs reported by ctty
$ sudo ./ctty /dev/tty7
/dev/tty7:sddm:4825:4825:4825:0
/dev/tty7:sddm:4825:4825:4826:0,11
/dev/tty7:sddm:4825:4825:4832:

Also, from man 2 ioctl_tty,

If this terminal is already the controlling terminal of a different session group, then the ioctl fails with EPERM, unless the caller has the CAP_SYS_ADMIN capability and arg equals 1

Above all, it looks like sddm-helper-start-x11user for user sddm (pid 4825), who owns /dev/tty7, is still running when sddm-helper for my user (pid 4868) tries to grab the controlling TTY for its child.

This looks like a regression from #1449, which makes Xorg for the user reuse the same VT as SDDM.

@aleixpol
Copy link
Contributor

I've been looking into the issue, it does regress on some important cases when autologging in, but maybe it's something you could try and see if it helps on your case. This branch should end up getting merged eventually as there's some other important fixes.

https://github.com/sddm/sddm/tree/work/polishing

@yan12125
Copy link

With branch work/polishing, login works again! As a record, I don't use auto login.

@bimmlerd
Copy link
Author

Can confirm, on that branch the issue appears to be fixed; no more of the error logs and successful logins. thanks!
(I suppose I'll leave this open until it's merged to develop?)

@aleixpol
Copy link
Contributor

Yes, as you can see, it has a big FIXME there that needs sorting out first. Thank you for the testing.

@yan12125
Copy link

Using the patch from #1460 for a few days, I noticed that after every logging in, an extra Xorg process owned by user sddm is left. If I login and logout 10 times, there are 10 Xorg processes left. Seems it's another issue caused by #1449. Could you also have a look?

@aleixpol
Copy link
Contributor

Please make sure you're using #1460, as it's one of the things it addresses.

@yan12125
Copy link

Yes, I'm using commit 5e1a573.

By the way, I noticed that with sudo systemctl stop sddm, the Xorg process is also left there. Here are strace logs for relevant processes when I stop sddm.service

  • sddm-helper: pid=1136, owned by root
  • sddm-helper-start-x11user: pid=1151, owned by sddm
  • Xorg: pid=1152, owned by sddm

As shown in the strace log, sddm-helper kills sddm-helper-start-x11user with SIGTERM, while Xorg is not killed.

If I copied the logic for handling SIGTERM from sddm-helper to sddm-helper-start-x11user, Xorg is properly killed when sddm.service is stopped or repeated logging in/out.

diff --git a/src/helper/HelperStartX11User.cpp b/src/helper/HelperStartX11User.cpp
index 768b2a9..2c78da5 100644
--- a/src/helper/HelperStartX11User.cpp
+++ b/src/helper/HelperStartX11User.cpp
@@ -24,6 +24,7 @@
  */
 
 #include <unistd.h>
+#include <signal.h>
 #include <QCoreApplication>
 #include <QTextStream>
 #include <QProcess>
@@ -31,12 +32,22 @@
 #include "xorguserhelper.h"
 #include "MessageHandler.h"
 
+// ensure we exit gracefully and close the session if sigtermed (i.e restarting sddm)
+static void sigtermHandler(int signalNumber)
+{
+    Q_UNUSED(signalNumber)
+    if (qApp) {
+        qApp->exit(-1);
+    }
+}
+
 void X11UserHelperMessageHandler(QtMsgType type, const QMessageLogContext &context, const QString &msg) {
     SDDM::messageHandler(type, context, QStringLiteral("X11UserHelper: "), msg);
 }
 
 int main(int argc, char** argv)
 {
+    signal(SIGTERM, sigtermHandler);
     qInstallMessageHandler(X11UserHelperMessageHandler);
     Q_ASSERT(::getuid() != 0);
     QCoreApplication app(argc, argv);

@bimmlerd
Copy link
Author

I don't think this is fixed. Just tried out the newest HEAD on develop, f07f7e0 and sddm didn't manage to start sway. Instead of the old behaviour of seemingly crashing and returning me to sddm, sddm just hangs now.

sudo journalctl -b-1 | grep sddm > log

Nov 26 10:46:12 titan audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 26 10:46:12 titan sddm[793]: Initializing...
Nov 26 10:46:12 titan sddm[793]: Starting...
Nov 26 10:46:12 titan sddm[793]: Logind interface found
Nov 26 10:46:12 titan sddm[793]: Adding new display...
Nov 26 10:46:12 titan sddm[793]: Loading theme configuration from ""
Nov 26 10:46:12 titan sddm[793]: Using VT 1
Nov 26 10:46:12 titan sddm[793]: Display server started.
Nov 26 10:46:12 titan sddm[793]: Socket server starting...
Nov 26 10:46:12 titan sddm[793]: Socket server started.
Nov 26 10:46:12 titan sddm[793]: Loading theme configuration from "/usr/share/sddm/themes/sugar-light/theme.conf"
Nov 26 10:46:12 titan sddm[793]: Greeter starting...
Nov 26 10:46:12 titan sddm-helper[795]: [PAM] Starting...
Nov 26 10:46:12 titan audit[795]: USER_AUTH pid=795 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 26 10:46:12 titan audit[795]: USER_ACCT pid=795 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 26 10:46:12 titan sddm-helper[795]: [PAM] Authenticating...
Nov 26 10:46:12 titan sddm-helper[795]: [PAM] returning.
Nov 26 10:46:12 titan audit[795]: CRED_ACQ pid=795 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 26 10:46:12 titan sddm-helper[795]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=971) by (uid=0)
Nov 26 10:46:12 titan systemd-logind[660]: New session c1 of user sddm.
Nov 26 10:46:12 titan audit[797]: USER_ACCT pid=797 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="sddm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 26 10:46:12 titan audit[797]: CRED_ACQ pid=797 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=? acct="sddm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Nov 26 10:46:12 titan systemd[797]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8002 service=[systemd-user] terminal=[] user=[sddm] ruser=[<unknown>] rhost=[<unknown>]
Nov 26 10:46:12 titan systemd[797]: pam_unix(systemd-user:session): session opened for user sddm(uid=971) by (uid=0)
Nov 26 10:46:12 titan audit[797]: USER_START pid=797 uid=0 auid=971 ses=1 msg='op=PAM:session_open grantors=pam_loginuid,pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="sddm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 26 10:46:13 titan systemd[1]: Started Session c1 of User sddm.
Nov 26 10:46:13 titan audit[795]: USER_START pid=795 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_open grantors=pam_unix,pam_systemd acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=titan addr=? terminal=/dev/tty1 res=success'
Nov 26 10:46:13 titan sddm-helper[806]: Jumping to VT 1
Nov 26 10:46:13 titan sddm-helper[806]: VT mode fixed
Nov 26 10:46:13 titan sddm[793]: Greeter session started successfully
Nov 26 10:46:13 titan sddm-greeter[844]: High-DPI autoscaling not Enabled
Nov 26 10:46:13 titan sddm-greeter[844]: Reading from "/usr/share/wayland-sessions/sway.desktop"
Nov 26 10:46:13 titan sddm-greeter[844]: Reading from "/usr/share/wayland-sessions/weston.desktop"
Nov 26 10:46:13 titan sddm-greeter[844]: Reading from "/usr/share/xsessions/i3-with-shmlog.desktop"
Nov 26 10:46:13 titan sddm-greeter[844]: Reading from "/usr/share/xsessions/i3.desktop"
Nov 26 10:46:13 titan sddm-greeter[844]: Loading theme configuration from "/usr/share/sddm/themes/sugar-light/theme.conf"
Nov 26 10:46:14 titan sddm-greeter[844]: Connected to the daemon.
Nov 26 10:46:14 titan sddm[793]: Message received from greeter: Connect
Nov 26 10:46:14 titan sddm-greeter[844]: Loading file:///usr/share/sddm/themes/sugar-light/Main.qml...
Nov 26 10:46:14 titan sddm-greeter[844]: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
Nov 26 10:46:14 titan sddm-greeter[844]: file:///usr/share/sddm/themes/sugar-light/Components/Input.qml:373:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Nov 26 10:46:14 titan sddm-greeter[844]: file:///usr/share/sddm/themes/sugar-light/Components/Input.qml:28:5: Unable to assign Button_QMLTYPE_6 to Control_QMLTYPE_2
Nov 26 10:46:14 titan sddm-greeter[844]: Adding view for "DP-1" QRect(0,0 3440x1440)
Nov 26 10:46:14 titan sddm-greeter[844]: Wayland does not support QWindow::requestActivate()
Nov 26 10:46:14 titan sddm-greeter[844]: Message received from daemon: Capabilities
Nov 26 10:46:14 titan sddm-greeter[844]: Message received from daemon: HostName
Nov 26 10:46:22 titan sddm-greeter[844]: Reading from "/usr/share/wayland-sessions/sway.desktop"
Nov 26 10:46:22 titan sddm[793]: Message received from greeter: Login
Nov 26 10:46:22 titan sddm[793]: Reading from "/usr/share/wayland-sessions/sway.desktop"
Nov 26 10:46:22 titan sddm[793]: Session "/usr/share/wayland-sessions/sway.desktop" selected, command: "sway" for VT 1
Nov 26 10:46:22 titan sddm[793]: Greeter stopping...
Nov 26 10:46:22 titan sddm[793]: Error from greeter session: "Process crashed"
Nov 26 10:46:22 titan sddm[793]: Auth: sddm-helper (--socket /tmp/sddm-auth0838ce67-b26e-46ec-8c1e-9da01dede369 --id 2 --start /usr/bin/sddm-greeter --socket /tmp/sddm--zMXwmh --theme /usr/share/sddm/themes/sugar-light --user sddm --display-server weston --shell=fullscreen-shell.so --greeter) crashed (exit code 1)
Nov 26 10:46:22 titan sddm[793]: Error from greeter session: "Process crashed"
Nov 26 10:46:22 titan sddm[793]: Auth: sddm-helper exited with 15
Nov 26 10:46:22 titan sddm[793]: Greeter stopped.
Nov 26 10:46:22 titan sddm-helper[953]: [PAM] Starting...
Nov 26 10:46:22 titan sddm-helper[953]: [PAM] Authenticating...
Nov 26 10:46:22 titan sddm-helper[953]: [PAM] Preparing to converse...
Nov 26 10:46:22 titan sddm-helper[953]: [PAM] Conversation with 1 messages
Nov 26 10:46:22 titan audit[953]: USER_AUTH pid=953 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_shells,pam_faillock,pam_permit,pam_faillock acct="david" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 26 10:46:22 titan sddm-helper[953]: [PAM] returning.
Nov 26 10:46:22 titan dbus-daemon[655]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.16' (uid=0 pid=953 comm="/usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth0")
Nov 26 10:46:22 titan sddm-helper[953]: pam_systemd_home(sddm:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Nov 26 10:46:22 titan audit[953]: USER_ACCT pid=953 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="david" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 26 10:46:22 titan sddm[793]: Authenticated successfully
Nov 26 10:46:22 titan sddm-greeter[844]: Message received from daemon: LoginSucceeded
Nov 26 10:46:22 titan audit[953]: CRED_ACQ pid=953 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_shells,pam_faillock,pam_permit,pam_faillock acct="david" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 26 10:46:22 titan audit[953]: SYSCALL arch=c000003e syscall=1 success=yes exit=4 a0=12 a1=7ffcc80f6050 a2=4 a3=3e8 items=0 ppid=793 pid=953 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=2 comm="sddm-helper" exe="/usr/lib/sddm/sddm-helper" key=(null)
Nov 26 10:46:22 titan sddm-helper[953]: pam_unix(sddm:session): session opened for user david(uid=1000) by (uid=0)
Nov 26 10:46:23 titan audit[953]: USER_START pid=953 uid=0 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_keyinit,pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="david" exe="/usr/lib/sddm/sddm-helper" hostname=titan addr=? terminal=/dev/tty1 res=success'
Nov 26 10:46:23 titan audit[953]: USER_END pid=953 uid=0 auid=1000 ses=2 msg='op=PAM:session_close grantors=pam_keyinit,pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="david" exe="/usr/lib/sddm/sddm-helper" hostname=titan addr=? terminal=/dev/tty1 res=success'
Nov 26 10:46:23 titan audit[953]: CRED_DISP pid=953 uid=0 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_shells,pam_faillock,pam_permit,pam_faillock acct="david" exe="/usr/lib/sddm/sddm-helper" hostname=titan addr=? terminal=/dev/tty1 res=success'
Nov 26 10:46:23 titan audit[965]: USER_AUTH pid=965 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 26 10:46:23 titan audit[965]: USER_ACCT pid=965 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 26 10:46:23 titan audit[965]: CRED_ACQ pid=965 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 26 10:46:23 titan sddm-helper[953]: pam_env(sddm:session): deprecated reading of user environment enabled
Nov 26 10:46:23 titan sddm-helper[953]: pam_unix(sddm:session): session closed for user david
Nov 26 10:46:23 titan audit[965]: USER_START pid=965 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_open grantors=pam_unix,pam_systemd acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=titan addr=? terminal=/dev/tty1 res=success'
Nov 26 10:46:23 titan sddm-helper[965]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=971) by (uid=0)
Nov 26 10:46:23 titan audit[965]: USER_END pid=965 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_close grantors=pam_unix,pam_systemd acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=titan addr=? terminal=/dev/tty1 res=success'
Nov 26 10:46:23 titan audit[965]: CRED_DISP pid=965 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=titan addr=? terminal=/dev/tty1 res=success'
Nov 26 10:46:23 titan sddm-helper[965]: pam_unix(sddm-greeter:session): session closed for user sddm
Nov 26 10:46:23 titan sddm-helper[953]: Starting Wayland user session: "/usr/share/sddm/scripts/wayland-session sway"
Nov 26 10:46:23 titan sddm-helper[964]: Failed to take control of "/dev/tty1" ("sddm"): Operation not permitted
Nov 26 10:46:23 titan sddm[793]: Session started
Nov 26 10:46:23 titan sddm-helper[953]: [PAM] Closing session
Nov 26 10:46:23 titan sddm-helper[953]: [PAM] Ended.
Nov 26 10:46:23 titan sddm[793]: Auth: sddm-helper exited with 3
Nov 26 10:46:23 titan sddm[793]: Socket server stopping...
Nov 26 10:46:23 titan sddm[793]: Socket server stopped.
Nov 26 10:46:23 titan sddm[793]: Removing display SDDM::Display(0x55dae0d9c6b0) ...
Nov 26 10:46:23 titan sddm[793]: Adding new display...
Nov 26 10:46:23 titan sddm[793]: Loading theme configuration from ""
Nov 26 10:46:23 titan sddm[793]: Using VT 1
Nov 26 10:46:23 titan sddm[793]: Display server started.
Nov 26 10:46:23 titan sddm[793]: Socket server starting...
Nov 26 10:46:23 titan sddm[793]: Socket server started.
Nov 26 10:46:23 titan sddm[793]: Loading theme configuration from "/usr/share/sddm/themes/sugar-light/theme.conf"
Nov 26 10:46:23 titan sddm[793]: Greeter starting...
Nov 26 10:46:23 titan sddm-helper[965]: [PAM] Starting...
Nov 26 10:46:23 titan sddm-helper[965]: [PAM] Authenticating...
Nov 26 10:46:23 titan sddm-helper[965]: [PAM] returning.
Nov 26 10:46:23 titan systemd-logind[660]: New session c2 of user sddm.
Nov 26 10:46:23 titan systemd[1]: Started Session c2 of User sddm.
Nov 26 10:46:23 titan sddm-helper[967]: Failed to take control of "/dev/tty1" ("sddm"): Operation not permitted
Nov 26 10:46:23 titan sddm[793]: Greeter session started successfully
Nov 26 10:46:23 titan sddm-helper[965]: [PAM] Closing session
Nov 26 10:46:23 titan sddm-helper[965]: [PAM] Ended.
Nov 26 10:46:23 titan sddm[793]: Auth: sddm-helper exited with 3
Nov 26 10:46:23 titan sddm[793]: Greeter stopped.
Nov 26 10:47:45 titan systemd[1]: Stopping Session c1 of User sddm...
Nov 26 10:47:45 titan sddm[793]: Signal received: SIGTERM
Nov 26 10:47:45 titan sddm[793]: Socket server stopping...
Nov 26 10:47:45 titan sddm[793]: Socket server stopped.
Nov 26 10:47:45 titan audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 26 10:47:45 titan systemd[1]: sddm.service: Deactivated successfully.
Nov 26 10:47:45 titan systemd[1]: Stopped Session c1 of User sddm.
Nov 26 10:47:45 titan kernel: audit: type=1131 audit(1637920065.351:138): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 26 10:47:45 titan systemd[798]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8004 service=[systemd-user] terminal=[] user=[sddm] ruser=[<unknown>] rhost=[<unknown>]

Notably, it seems that it still fails to take control of the TTY, but now also the sddm-helper process launching weston appears to crash.

@bimmlerd
Copy link
Author

Reverting to f07f7e0 works, with the following log

sudo journalctl -e | grep sddm

Nov 26 11:07:23 titan sddm[7521]: Initializing...
Nov 26 11:07:23 titan sddm[7521]: Starting...
Nov 26 11:07:23 titan sddm[7521]: Logind interface found
Nov 26 11:07:23 titan sddm[7521]: Adding new display...
Nov 26 11:07:23 titan sddm[7521]: Loading theme configuration from ""
Nov 26 11:07:23 titan sddm[7521]: Using VT 7
Nov 26 11:07:23 titan sddm[7521]: Display server started.
Nov 26 11:07:23 titan sddm[7521]: Socket server starting...
Nov 26 11:07:23 titan sddm[7521]: Socket server started.
Nov 26 11:07:23 titan sddm[7521]: Loading theme configuration from "/usr/share/sddm/themes/sugar-light/theme.conf"
Nov 26 11:07:23 titan sddm[7521]: Greeter starting...
Nov 26 11:07:23 titan sddm-helper[7523]: [PAM] Starting...
Nov 26 11:07:23 titan audit[7523]: USER_AUTH pid=7523 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 26 11:07:23 titan audit[7523]: USER_ACCT pid=7523 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 26 11:07:23 titan audit[7523]: CRED_ACQ pid=7523 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 26 11:07:23 titan sddm-helper[7523]: [PAM] Authenticating...
Nov 26 11:07:23 titan sddm-helper[7523]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=971) by (uid=0)
Nov 26 11:07:23 titan sddm-helper[7523]: [PAM] returning.
Nov 26 11:07:23 titan kernel: audit: type=1100 audit(1637921243.669:169): pid=7523 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 26 11:07:23 titan kernel: audit: type=1101 audit(1637921243.669:170): pid=7523 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 26 11:07:23 titan kernel: audit: type=1103 audit(1637921243.669:171): pid=7523 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 26 11:07:23 titan systemd-logind[677]: New session c1 of user sddm.
Nov 26 11:07:23 titan audit[7525]: USER_ACCT pid=7525 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="sddm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 26 11:07:23 titan audit[7525]: CRED_ACQ pid=7525 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=? acct="sddm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Nov 26 11:07:23 titan systemd[7525]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8002 service=[systemd-user] terminal=[] user=[sddm] ruser=[<unknown>] rhost=[<unknown>]
Nov 26 11:07:23 titan systemd[7525]: pam_unix(systemd-user:session): session opened for user sddm(uid=971) by (uid=0)
Nov 26 11:07:23 titan audit[7525]: USER_START pid=7525 uid=0 auid=971 ses=3 msg='op=PAM:session_open grantors=pam_loginuid,pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="sddm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 26 11:07:23 titan systemd[1]: Started Session c1 of User sddm.
Nov 26 11:07:23 titan audit[7523]: USER_START pid=7523 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_open grantors=pam_unix,pam_systemd acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=titan addr=? terminal=/dev/tty7 res=success'
Nov 26 11:07:23 titan sddm-helper[7532]: Jumping to VT 7
Nov 26 11:07:23 titan sddm-helper[7532]: VT mode didn't need to be fixed
Nov 26 11:07:23 titan sddm[7521]: Greeter session started successfully
Nov 26 11:07:23 titan sddm-greeter[7557]: High-DPI autoscaling not Enabled
Nov 26 11:07:23 titan sddm-greeter[7557]: Reading from "/usr/share/wayland-sessions/sway.desktop"
Nov 26 11:07:23 titan sddm-greeter[7557]: Reading from "/usr/share/wayland-sessions/weston.desktop"
Nov 26 11:07:23 titan sddm-greeter[7557]: Reading from "/usr/share/xsessions/i3-with-shmlog.desktop"
Nov 26 11:07:23 titan sddm-greeter[7557]: Reading from "/usr/share/xsessions/i3.desktop"
Nov 26 11:07:23 titan sddm-greeter[7557]: Loading theme configuration from "/usr/share/sddm/themes/sugar-light/theme.conf"
Nov 26 11:07:24 titan sddm-greeter[7557]: Connected to the daemon.
Nov 26 11:07:24 titan sddm[7521]: Message received from greeter: Connect
Nov 26 11:07:24 titan sddm-greeter[7557]: Loading file:///usr/share/sddm/themes/sugar-light/Main.qml...
Nov 26 11:07:24 titan sddm-greeter[7557]: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
Nov 26 11:07:24 titan sddm-greeter[7557]: file:///usr/share/sddm/themes/sugar-light/Components/Input.qml:373:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Nov 26 11:07:24 titan sddm-greeter[7557]: file:///usr/share/sddm/themes/sugar-light/Components/Input.qml:28:5: Unable to assign Button_QMLTYPE_15 to Control_QMLTYPE_16
Nov 26 11:07:24 titan sddm-greeter[7557]: Adding view for "DP-1" QRect(0,0 3440x1440)
Nov 26 11:07:24 titan sddm-greeter[7557]: Wayland does not support QWindow::requestActivate()
Nov 26 11:07:24 titan sddm-greeter[7557]: Message received from daemon: Capabilities
Nov 26 11:07:24 titan sddm-greeter[7557]: Message received from daemon: HostName
Nov 26 11:07:27 titan sddm-greeter[7557]: Reading from "/usr/share/wayland-sessions/sway.desktop"
Nov 26 11:07:27 titan sddm[7521]: Message received from greeter: Login
Nov 26 11:07:27 titan sddm[7521]: Reading from "/usr/share/wayland-sessions/sway.desktop"
Nov 26 11:07:27 titan sddm[7521]: Reading from "/usr/share/wayland-sessions/sway.desktop"
Nov 26 11:07:27 titan sddm[7521]: Session "/usr/share/wayland-sessions/sway.desktop" selected, command: "sway" for VT 7
Nov 26 11:07:27 titan sddm[7521]: Greeter stopping...
Nov 26 11:07:28 titan sddm-greeter[7557]: The Wayland connection broke. Did the Wayland compositor die?
Nov 26 11:07:28 titan sddm-helper[7523]: [PAM] Closing session
Nov 26 11:07:28 titan sddm-helper[7523]: pam_unix(sddm-greeter:session): session closed for user sddm
Nov 26 11:07:28 titan audit[7523]: USER_END pid=7523 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_close grantors=pam_unix,pam_systemd acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=titan addr=? terminal=/dev/tty7 res=success'
Nov 26 11:07:28 titan audit[7523]: CRED_DISP pid=7523 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=titan addr=? terminal=/dev/tty7 res=success'
Nov 26 11:07:28 titan sddm-helper[7523]: [PAM] Ended.
Nov 26 11:07:28 titan sddm[7521]: Auth: sddm-helper exited with 255
Nov 26 11:07:28 titan sddm[7521]: Greeter stopped.
Nov 26 11:07:28 titan sddm-helper[7584]: [PAM] Starting...
Nov 26 11:07:28 titan sddm-helper[7584]: [PAM] Authenticating...
Nov 26 11:07:28 titan sddm-helper[7584]: [PAM] Preparing to converse...
Nov 26 11:07:28 titan sddm-helper[7584]: [PAM] Conversation with 1 messages
Nov 26 11:07:28 titan audit[7584]: USER_AUTH pid=7584 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_shells,pam_faillock,pam_permit,pam_faillock acct="david" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 26 11:07:28 titan sddm-helper[7584]: [PAM] returning.
Nov 26 11:07:28 titan dbus-daemon[671]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.86' (uid=0 pid=7584 comm="/usr/lib/sddm/sddm-helper --socket /tmp/sddm-authf")
Nov 26 11:07:28 titan sddm-helper[7584]: pam_systemd_home(sddm:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Nov 26 11:07:28 titan audit[7584]: USER_ACCT pid=7584 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="david" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 26 11:07:28 titan sddm[7521]: Authenticated successfully
Nov 26 11:07:28 titan audit[7584]: CRED_ACQ pid=7584 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_shells,pam_faillock,pam_permit,pam_faillock acct="david" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 26 11:07:28 titan audit[7584]: SYSCALL arch=c000003e syscall=1 success=yes exit=4 a0=8 a1=7ffdb56e1d20 a2=4 a3=3e8 items=0 ppid=7521 pid=7584 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4 comm="sddm-helper" exe="/usr/lib/sddm/sddm-helper" key=(null)
Nov 26 11:07:28 titan sddm-helper[7584]: pam_unix(sddm:session): session opened for user david(uid=1000) by (uid=0)
Nov 26 11:07:28 titan sddm-helper[7584]: pam_env(sddm:session): deprecated reading of user environment enabled
Nov 26 11:07:28 titan audit[7584]: USER_START pid=7584 uid=0 auid=1000 ses=4 msg='op=PAM:session_open grantors=pam_keyinit,pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="david" exe="/usr/lib/sddm/sddm-helper" hostname=titan addr=? terminal=/dev/tty7 res=success'
Nov 26 11:07:28 titan sddm-helper[7584]: Starting Wayland user session: "/usr/share/sddm/scripts/wayland-session sway"
Nov 26 11:07:28 titan sddm-helper[7585]: Jumping to VT 7
Nov 26 11:07:28 titan sddm-helper[7585]: VT mode fixed
Nov 26 11:07:28 titan sddm[7521]: Session started
Nov 26 11:07:38 titan systemd[7526]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8004 service=[systemd-user] terminal=[] user=[sddm] ruser=[<unknown>] rhost=[<unknown>]

@aleixpol aleixpol reopened this Nov 26, 2021
@aleixpol
Copy link
Contributor

Can you try this one? #1478

@bimmlerd
Copy link
Author

Does not seem to help:

[~]$ sudo journalctl -b-1 -e | grep sddm
Nov 28 11:36:26 titan sddm-greeter[848]: Reading from "/usr/share/wayland-sessions/sway.desktop"
Nov 28 11:36:26 titan sddm[798]: Message received from greeter: Login
Nov 28 11:36:26 titan sddm[798]: Reading from "/usr/share/wayland-sessions/sway.desktop"
Nov 28 11:36:26 titan sddm[798]: Session "/usr/share/wayland-sessions/sway.desktop" selected, command: "sway" for VT 1
Nov 28 11:36:26 titan sddm[798]: Greeter stopping...
Nov 28 11:36:26 titan sddm[798]: Error from greeter session: "Process crashed"
Nov 28 11:36:26 titan sddm[798]: Auth: sddm-helper (--socket /tmp/sddm-auth213d44a2-c2ad-43b4-8585-7b2abeab7794 --id 2 --start /usr/bin/sddm-greeter --socket /tmp/sddm--EztQtY --theme /usr/share/sddm/themes/sugar-light --user sddm --display-server weston --shell=fullscreen-shell.so --greeter) crashed (exit code 1)
Nov 28 11:36:26 titan sddm[798]: Error from greeter session: "Process crashed"
Nov 28 11:36:26 titan sddm[798]: Auth: sddm-helper exited with 15
Nov 28 11:36:26 titan sddm[798]: Greeter stopped.
Nov 28 11:36:26 titan sddm-helper[908]: [PAM] Starting...
Nov 28 11:36:26 titan sddm-helper[908]: [PAM] Authenticating...
Nov 28 11:36:26 titan sddm-helper[908]: [PAM] Preparing to converse...
Nov 28 11:36:26 titan sddm-helper[908]: [PAM] Conversation with 1 messages
Nov 28 11:36:26 titan sddm-helper[908]: [PAM] returning.
Nov 28 11:36:26 titan audit[908]: USER_AUTH pid=908 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_shells,pam_faillock,pam_permit,pam_faillock acct="david" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 28 11:36:26 titan dbus-daemon[662]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.16' (uid=0 pid=908 comm="/usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth2")
Nov 28 11:36:26 titan sddm-helper[908]: pam_systemd_home(sddm:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Nov 28 11:36:26 titan audit[908]: USER_ACCT pid=908 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="david" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 28 11:36:26 titan sddm[798]: Authenticated successfully
Nov 28 11:36:26 titan sddm-greeter[848]: Message received from daemon: LoginSucceeded
Nov 28 11:36:26 titan audit[908]: CRED_ACQ pid=908 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_shells,pam_faillock,pam_permit,pam_faillock acct="david" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 28 11:36:26 titan audit[908]: SYSCALL arch=c000003e syscall=1 success=yes exit=4 a0=12 a1=7ffe951ff550 a2=4 a3=3e8 items=0 ppid=798 pid=908 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=2 comm="sddm-helper" exe="/usr/lib/sddm/sddm-helper" key=(null)
Nov 28 11:36:26 titan sddm-helper[908]: pam_unix(sddm:session): session opened for user david(uid=1000) by (uid=0)
Nov 28 11:36:26 titan kernel: audit: type=1100 audit(1638095786.711:77): pid=908 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_shells,pam_faillock,pam_permit,pam_faillock acct="david" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 28 11:36:26 titan kernel: audit: type=1101 audit(1638095786.711:78): pid=908 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="david" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 28 11:36:26 titan kernel: audit: type=1103 audit(1638095786.711:79): pid=908 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_shells,pam_faillock,pam_permit,pam_faillock acct="david" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 28 11:36:26 titan kernel: audit: type=1300 audit(1638095786.711:80): arch=c000003e syscall=1 success=yes exit=4 a0=12 a1=7ffe951ff550 a2=4 a3=3e8 items=0 ppid=798 pid=908 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=2 comm="sddm-helper" exe="/usr/lib/sddm/sddm-helper" key=(null)
Nov 28 11:36:27 titan audit[908]: USER_START pid=908 uid=0 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_keyinit,pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="david" exe="/usr/lib/sddm/sddm-helper" hostname=titan addr=? terminal=/dev/tty1 res=success'
Nov 28 11:36:27 titan audit[908]: USER_END pid=908 uid=0 auid=1000 ses=2 msg='op=PAM:session_close grantors=pam_keyinit,pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="david" exe="/usr/lib/sddm/sddm-helper" hostname=titan addr=? terminal=/dev/tty1 res=success'
Nov 28 11:36:27 titan audit[908]: CRED_DISP pid=908 uid=0 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_shells,pam_faillock,pam_permit,pam_faillock acct="david" exe="/usr/lib/sddm/sddm-helper" hostname=titan addr=? terminal=/dev/tty1 res=success'
Nov 28 11:36:27 titan sddm-helper[908]: pam_env(sddm:session): deprecated reading of user environment enabled
Nov 28 11:36:27 titan audit[920]: USER_AUTH pid=920 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 28 11:36:27 titan audit[920]: USER_ACCT pid=920 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 28 11:36:27 titan sddm-helper[908]: pam_unix(sddm:session): session closed for user david
Nov 28 11:36:27 titan audit[920]: CRED_ACQ pid=920 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Nov 28 11:36:27 titan sddm-helper[920]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=971) by (uid=0)
Nov 28 11:36:27 titan sddm-helper[908]: Starting Wayland user session: "/usr/share/sddm/scripts/wayland-session sway"
Nov 28 11:36:27 titan sddm-helper[919]: Failed to take control of "/dev/tty1" ("sddm"): Operation not permitted
Nov 28 11:36:27 titan sddm[798]: Session started
Nov 28 11:36:27 titan audit[920]: USER_START pid=920 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_open grantors=pam_unix,pam_systemd acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=titan addr=? terminal=/dev/tty1 res=success'
Nov 28 11:36:27 titan audit[920]: USER_END pid=920 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_close grantors=pam_unix,pam_systemd acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=titan addr=? terminal=/dev/tty1 res=success'
Nov 28 11:36:27 titan audit[920]: CRED_DISP pid=920 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=titan addr=? terminal=/dev/tty1 res=success'
Nov 28 11:36:27 titan sddm-helper[920]: pam_unix(sddm-greeter:session): session closed for user sddm
Nov 28 11:36:27 titan sddm-helper[908]: [PAM] Closing session
Nov 28 11:36:27 titan sddm-helper[908]: [PAM] Ended.
Nov 28 11:36:27 titan sddm[798]: Auth: sddm-helper exited with 3
Nov 28 11:36:27 titan sddm[798]: Socket server stopping...
Nov 28 11:36:27 titan sddm[798]: Socket server stopped.
Nov 28 11:36:27 titan sddm[798]: Removing display SDDM::Display(0x557100f7c6b0) ...
Nov 28 11:36:27 titan sddm[798]: Adding new display...
Nov 28 11:36:27 titan sddm[798]: Loading theme configuration from ""
Nov 28 11:36:27 titan sddm[798]: Using VT 1
Nov 28 11:36:27 titan sddm[798]: Display server started.
Nov 28 11:36:27 titan sddm[798]: Socket server starting...
Nov 28 11:36:27 titan sddm[798]: Socket server started.
Nov 28 11:36:27 titan sddm[798]: Loading theme configuration from "/usr/share/sddm/themes/sugar-light/theme.conf"
Nov 28 11:36:27 titan sddm[798]: Greeter starting...
Nov 28 11:36:27 titan sddm-helper[920]: [PAM] Starting...
Nov 28 11:36:27 titan sddm-helper[920]: [PAM] Authenticating...
Nov 28 11:36:27 titan sddm-helper[920]: [PAM] returning.
Nov 28 11:36:27 titan systemd-logind[666]: New session c2 of user sddm.
Nov 28 11:36:27 titan systemd[1]: Started Session c2 of User sddm.
Nov 28 11:36:27 titan sddm-helper[924]: Failed to take control of "/dev/tty1" ("sddm"): Operation not permitted
Nov 28 11:36:27 titan sddm[798]: Greeter session started successfully
Nov 28 11:36:27 titan sddm-helper[920]: [PAM] Closing session
Nov 28 11:36:27 titan sddm-helper[920]: [PAM] Ended.
Nov 28 11:36:27 titan sddm[798]: Auth: sddm-helper exited with 3
Nov 28 11:36:27 titan sddm[798]: Greeter stopped.
Nov 28 11:36:53 titan systemd[1]: Stopping Session c1 of User sddm...
Nov 28 11:36:53 titan sddm[798]: Signal received: SIGTERM
Nov 28 11:36:53 titan sddm[798]: Socket server stopping...
Nov 28 11:36:53 titan sddm[798]: Socket server stopped.
Nov 28 11:36:53 titan systemd[1]: sddm.service: Deactivated successfully.
Nov 28 11:36:53 titan audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 28 11:36:53 titan kernel: audit: type=1131 audit(1638095813.038:138): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 28 11:36:53 titan systemd[1]: Stopped Session c1 of User sddm.
Nov 28 11:36:53 titan systemd[803]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8004 service=[systemd-user] terminal=[] user=[sddm] ruser=[<unknown>] rhost=[<unknown>]

@CoelacanthusHex
Copy link
Contributor

I got a similar problem, but not exactly the same.
When I set DisplayServer to x11-user, I will get back text interface (output by systemd) but stock after login.
I use 0424283.

-- Journal begins at Mon 2021-11-15 08:32:26 CST, ends at Sun 2021-12-12 18:03:04 CST. --
Dec 12 17:54:21 Coelacanthus-laptop systemd[1]: Started Simple Desktop Display Manager.
Dec 12 17:54:21 Coelacanthus-laptop sddm[660]: Initializing...
Dec 12 17:54:21 Coelacanthus-laptop sddm[660]: Starting...
Dec 12 17:54:21 Coelacanthus-laptop sddm[660]: Logind interface found
Dec 12 17:54:21 Coelacanthus-laptop sddm[660]: Adding new display...
Dec 12 17:54:21 Coelacanthus-laptop sddm[660]: Loading theme configuration from ""
Dec 12 17:54:21 Coelacanthus-laptop sddm[660]: Using VT 1
Dec 12 17:54:21 Coelacanthus-laptop sddm[660]: Display server started.
Dec 12 17:54:21 Coelacanthus-laptop sddm[660]: Socket server starting...
Dec 12 17:54:21 Coelacanthus-laptop sddm[660]: Socket server started.
Dec 12 17:54:21 Coelacanthus-laptop sddm[660]: Loading theme configuration from "/usr/share/sddm/themes/Canta/theme.conf"
Dec 12 17:54:21 Coelacanthus-laptop sddm[660]: Greeter starting...
Dec 12 17:54:22 Coelacanthus-laptop sddm[660]: Greeter session started successfully
Dec 12 17:54:22 Coelacanthus-laptop sddm[660]: Message received from greeter: Connect
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Message received from greeter: Login
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Reading from "/usr/share/xsessions/plasma.desktop"
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Session "/usr/share/xsessions/plasma.desktop" selected, command: "/usr/bin/startplasma-x11" for VT 1
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Greeter stopping...
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Error from greeter session: "Process crashed"
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Auth: sddm-helper (--socket /tmp/sddm-auth9063b275-cb1a-481f-b5ed-55fa0673ac42 --id 2 --start /usr/bin/sddm-greeter --socket /tmp/sddm--MahVNZ --theme /usr/share/sddm/themes/Canta --user sddm --display-server /usr/bin/X -nolisten tcp -logfile /dev/null -background none -seat seat0 -noreset -keeptty -novtswitch -verbose 3 --greeter) crashed (exit code 1)
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Error from greeter session: "Process crashed"
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Auth: sddm-helper exited with 15
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Greeter stopped.
Dec 12 17:55:25 Coelacanthus-laptop sddm-helper[1292]: [PAM] Starting...
Dec 12 17:55:25 Coelacanthus-laptop sddm-helper[1292]: [PAM] Authenticating...
Dec 12 17:55:25 Coelacanthus-laptop sddm-helper[1292]: [PAM] Preparing to converse...
Dec 12 17:55:25 Coelacanthus-laptop sddm-helper[1292]: [PAM] Conversation with 1 messages
Dec 12 17:55:25 Coelacanthus-laptop sddm-helper[1292]: pam_kwallet5(sddm:auth): pam_kwallet5: pam_sm_authenticate
Dec 12 17:55:25 Coelacanthus-laptop sddm-helper[1292]: [PAM] returning.
Dec 12 17:55:25 Coelacanthus-laptop sddm-helper[1292]: pam_systemd_home(sddm:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Authenticated successfully
Dec 12 17:55:25 Coelacanthus-laptop sddm-helper[1292]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Dec 12 17:55:25 Coelacanthus-laptop sddm-helper[1292]: pam_unix(sddm:session): session opened for user coelacanthus(uid=1000) by (uid=0)
Dec 12 17:55:25 Coelacanthus-laptop sddm-helper[1292]: [PAM] Preparing to converse...
Dec 12 17:55:25 Coelacanthus-laptop sddm-helper[1292]: [PAM] Conversation with 1 messages
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Authentication information: "You have new mail."
Dec 12 17:55:25 Coelacanthus-laptop sddm-helper[1292]: pam_env(sddm:session): deprecated reading of user environment enabled
Dec 12 17:55:25 Coelacanthus-laptop sddm-helper[1292]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
Dec 12 17:55:25 Coelacanthus-laptop sddm-helper[1292]: Starting X11 session: "/usr/bin/X -nolisten tcp -logfile /dev/null -background none -seat seat0 -noreset -keeptty -novtswitch -verbose 3" "/usr/share/sddm/scripts/Xsession \"/usr/bin/startplasma-x11\""
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Session started
Dec 12 17:55:25 Coelacanthus-laptop sddm-helper[1292]: [PAM] Closing session
Dec 12 17:55:25 Coelacanthus-laptop sddm-helper[1292]: pam_unix(sddm:session): session closed for user coelacanthus
Dec 12 17:55:25 Coelacanthus-laptop sddm-helper[1292]: [PAM] Ended.
Dec 12 17:55:25 Coelacanthus-laptop sddm-helper[1292]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_close_session
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Auth: sddm-helper exited with 3
Dec 12 17:55:25 Coelacanthus-laptop sddm-helper[1292]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Socket server stopping...
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Socket server stopped.
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Removing display SDDM::Display(0x5626d9307710) ...
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Adding new display...
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Loading theme configuration from ""
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Xauthority path: "/var/run/sddm/b4c567c5-b96d-407f-a296-0501f0b4a2c8"
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Using VT 3
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Display server starting...
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Adding cookie to "/var/run/sddm/b4c567c5-b96d-407f-a296-0501f0b4a2c8"
Dec 12 17:55:25 Coelacanthus-laptop sddm[660]: Running: /usr/bin/X -nolisten tcp -logfile /dev/null -background none -seat seat0 vt3 -auth /var/run/sddm/b4c567c5-b96d-407f-a296-0501f0b4a2c8 -noreset -displayfd 20

@dr-carlos
Copy link

This behaviour is still occuring on Wayland, using the latest develop.

Feb 12 19:57:53 detlas audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 12 19:57:53 detlas sddm[489]: Initializing...
Feb 12 19:57:53 detlas sddm[489]: Starting...
Feb 12 19:57:53 detlas sddm[489]: Logind interface found
Feb 12 19:57:53 detlas sddm[489]: Adding new display...
Feb 12 19:57:53 detlas sddm[489]: Loading theme configuration from ""
Feb 12 19:57:53 detlas sddm[489]: Using VT 1
Feb 12 19:57:53 detlas sddm[489]: Display server started.
Feb 12 19:57:53 detlas sddm[489]: Socket server starting...
Feb 12 19:57:53 detlas sddm[489]: Socket server started.
Feb 12 19:57:53 detlas sddm[489]: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
Feb 12 19:57:53 detlas sddm[489]: Greeter starting...
Feb 12 19:57:53 detlas sddm-helper[525]: [PAM] Starting...
Feb 12 19:57:53 detlas audit[525]: USER_AUTH pid=525 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Feb 12 19:57:53 detlas audit[525]: USER_ACCT pid=525 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Feb 12 19:57:53 detlas sddm-helper[525]: [PAM] Authenticating...
Feb 12 19:57:53 detlas sddm-helper[525]: [PAM] returning.
Feb 12 19:57:53 detlas audit[525]: CRED_ACQ pid=525 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Feb 12 19:57:53 detlas sddm-helper[525]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=975) by (uid=0)
Feb 12 19:57:53 detlas systemd-logind[417]: New session c1 of user sddm.
Feb 12 19:57:53 detlas audit[539]: USER_ACCT pid=539 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="sddm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 12 19:57:53 detlas audit[539]: CRED_ACQ pid=539 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=? acct="sddm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Feb 12 19:57:53 detlas systemd[539]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8002 service=[systemd-user] terminal=[] user=[sddm] ruser=[<unknown>] rhost=[<unknown>]
Feb 12 19:57:53 detlas systemd[539]: pam_unix(systemd-user:session): session opened for user sddm(uid=975) by (uid=0)
Feb 12 19:57:53 detlas audit[539]: USER_START pid=539 uid=0 auid=975 ses=1 msg='op=PAM:session_open grantors=pam_loginuid,pam_loginuid,pam_keyinit,pam_systemd_home,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="sddm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 12 19:57:53 detlas systemd[1]: Started Session c1 of User sddm.
Feb 12 19:57:53 detlas audit[525]: USER_START pid=525 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_open grantors=pam_unix,pam_systemd acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=detlas addr=? terminal=/dev/tty1 res=success'
Feb 12 19:57:53 detlas sddm-helper[580]: Jumping to VT 1
Feb 12 19:57:53 detlas sddm-helper[580]: VT mode fixed
Feb 12 19:57:53 detlas sddm[489]: Greeter session started successfully
Feb 12 19:58:08 detlas sddm-helper[525]: [PAM] Closing session
Feb 12 19:58:08 detlas sddm-helper[525]: pam_unix(sddm-greeter:session): session closed for user sddm
Feb 12 19:58:08 detlas audit[525]: USER_END pid=525 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_close grantors=pam_unix,pam_systemd acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=detlas addr=? terminal=/dev/tty1 res=success'
Feb 12 19:58:08 detlas audit[525]: CRED_DISP pid=525 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=detlas addr=? terminal=/dev/tty1 res=success'
Feb 12 19:58:08 detlas kernel: audit: type=1106 audit(1644658088.945:118): pid=525 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_close grantors=pam_unix,pam_systemd acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=detlas addr=? terminal=/dev/tty1 res=success'
Feb 12 19:58:08 detlas kernel: audit: type=1104 audit(1644658088.945:119): pid=525 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=detlas addr=? terminal=/dev/tty1 res=success'
Feb 12 19:58:08 detlas sddm-helper[525]: [PAM] Ended.
Feb 12 19:58:08 detlas sddm[489]: Auth: sddm-helper exited with 2
Feb 12 19:58:08 detlas sddm[489]: Greeter stopped. SDDM::Auth::HELPER_SESSION_ERROR
Feb 12 19:58:08 detlas sddm[489]: Socket server stopping...
Feb 12 19:58:08 detlas sddm[489]: Socket server stopped.
Feb 12 19:58:08 detlas systemd[1]: sddm.service: Main process exited, code=exited, status=23/n/a
Feb 12 19:58:08 detlas systemd[1]: sddm.service: Failed with result 'exit-code'.
Feb 12 19:58:08 detlas audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Feb 12 19:58:08 detlas kernel: audit: type=1131 audit(1644658088.958:120): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Feb 12 19:58:09 detlas systemd[1]: sddm.service: Scheduled restart job, restart counter is at 1.
Feb 12 19:58:09 detlas kernel: audit: type=1130 audit(1644658089.312:121): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 12 19:58:09 detlas kernel: audit: type=1131 audit(1644658089.312:122): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 12 19:58:09 detlas audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 12 19:58:09 detlas audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 12 19:58:09 detlas audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 12 19:58:09 detlas kernel: audit: type=1130 audit(1644658089.312:123): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 12 19:58:09 detlas sddm[735]: Initializing...
Feb 12 19:58:09 detlas sddm[735]: Starting...
Feb 12 19:58:09 detlas sddm[735]: Logind interface found
Feb 12 19:58:09 detlas sddm[735]: Adding new display...
Feb 12 19:58:09 detlas sddm[735]: Loading theme configuration from ""
Feb 12 19:58:09 detlas sddm[735]: Using VT 2
Feb 12 19:58:09 detlas sddm[735]: Display server started.
Feb 12 19:58:09 detlas sddm[735]: Socket server starting...
Feb 12 19:58:09 detlas sddm[735]: Socket server started.
Feb 12 19:58:09 detlas sddm[735]: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
Feb 12 19:58:09 detlas sddm[735]: Greeter starting...
Feb 12 19:58:09 detlas sddm-helper[737]: [PAM] Starting...
Feb 12 19:58:09 detlas kernel: audit: type=1100 audit(1644658089.342:124): pid=737 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Feb 12 19:58:09 detlas kernel: audit: type=1101 audit(1644658089.342:125): pid=737 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Feb 12 19:58:09 detlas kernel: audit: type=1103 audit(1644658089.342:126): pid=737 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Feb 12 19:58:09 detlas audit[737]: USER_AUTH pid=737 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Feb 12 19:58:09 detlas audit[737]: USER_ACCT pid=737 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Feb 12 19:58:09 detlas audit[737]: CRED_ACQ pid=737 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success'
Feb 12 19:58:09 detlas sddm-helper[737]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=975) by LOGIN(uid=0)
Feb 12 19:58:09 detlas sddm-helper[737]: [PAM] Authenticating...
Feb 12 19:58:09 detlas sddm-helper[737]: [PAM] returning.
Feb 12 19:58:09 detlas systemd-logind[417]: New session c2 of user sddm.
Feb 12 19:58:09 detlas systemd[1]: Started Session c2 of User sddm.
Feb 12 19:58:09 detlas audit[737]: USER_START pid=737 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_open grantors=pam_unix,pam_systemd acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=detlas addr=? terminal=/dev/tty2 res=success'
Feb 12 19:58:09 detlas sddm-helper[738]: Failed to take control of "/dev/tty2" ("root"): Operation not permitted
Feb 12 19:58:09 detlas kernel: audit: type=1105 audit(1644658089.355:127): pid=737 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_open grantors=pam_unix,pam_systemd acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=detlas addr=? terminal=/dev/tty2 res=success'
Feb 12 19:58:09 detlas audit[737]: USER_END pid=737 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_close grantors=pam_unix,pam_systemd acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=detlas addr=? terminal=/dev/tty2 res=success'
Feb 12 19:58:09 detlas audit[737]: CRED_DISP pid=737 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_permit acct="sddm" exe="/usr/lib/sddm/sddm-helper" hostname=detlas addr=? terminal=/dev/tty2 res=success'
Feb 12 19:58:09 detlas sddm[735]: Greeter session started successfully
Feb 12 19:58:09 detlas sddm-helper[737]: pam_unix(sddm-greeter:session): session closed for user sddm
Feb 12 19:58:09 detlas sddm-helper[737]: [PAM] Closing session
Feb 12 19:58:09 detlas sddm-helper[737]: [PAM] Ended.
Feb 12 19:58:09 detlas sddm[735]: Auth: sddm-helper exited with 3
Feb 12 19:58:09 detlas sddm[735]: Greeter stopped. SDDM::Auth::HELPER_OTHER_ERROR
Feb 12 19:58:19 detlas systemd[540]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8004 service=[systemd-user] terminal=[] user=[sddm] ruser=[<unknown>] rhost=[<unknown>]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants