Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

SDDM Does Not Show Up After Logging Out

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
E. Vertin
n00b
n00b
Posts: 13
Joined: Mon Jul 29, 2024 8:45 pm
Location: Hong Kong SAR

SDDM Does Not Show Up After Logging Out

  • Quote

Post by E. Vertin » Sun Apr 13, 2025 4:15 pm

Updated on May 31, 2025

I updated my SDDM to 0.21.0_p20250502, problem solved. SDDM on Wayland works after logging out.

********************

As depicted above, my SDDM doesn't show up after I logged out from Plasma when it should be.

After that, running rc-status, I can see that the service "display-manager" in the default runlevel was marked as "crashed". I did have elogind in boot runlevel, and I altered my /etc/conf.d/display-manager to have it to invoke SDDM.

This is my runlevel configuration, "display-manager" was illustrated as "started" when I power on my laptop normally and log in.

******************************

Code: Select all

Runlevel: boot
 hwclock                                                                       [  started  ]
 modules                                                                       [  started  ]
 lvm                                                                           [  started  ]
 fsck                                                                          [  started  ]
 root                                                                          [  started  ]
 mtab                                                                          [  started  ]
 swap                                                                          [  started  ]
 localmount                                                                    [  started  ]
 systemd-tmpfiles-setup                                                        [  started  ]
 procfs                                                                        [  started  ]
 binfmt                                                                        [  started  ]
 sysctl                                                                        [  started  ]
 bootmisc                                                                      [  started  ]
 hostname                                                                      [  started  ]
 termencoding                                                                  [  started  ]
 keymaps                                                                       [  started  ]
 loopback                                                                      [  started  ]
 save-keymaps                                                                  [  started  ]
 save-termencoding                                                             [  started  ]
 seedrng                                                                       [  started  ]
 apparmor                                                                      [  started  ]
 zram-init                                                                     [  started  ]
 elogind                                                                       [  started  ]
******************************

Code: Select all

Runlevel: default
 sysklogd                                                                      [  started  ]
 NetworkManager                                                                [  started  ]
 auto-cpufreq                                                      [  started 00:08:44 (0) ]
 bluetooth                                                                     [  started  ]
 chronyd                                                                       [  started  ]
 cronie                                                                        [  started  ]
 netmount                                                                      [  started  ]
 display-manager                                                               [  started  ]
 firewalld                                                                     [  started  ]
 nvidia-persistenced                                                           [  started  ]
 nvidia-powerd                                                                 [  started  ]
 power-profiles-daemon                                                         [  started  ]
 thermald                                                                      [  started  ]
 tlp                                                                           [  started  ]
 local                                                                         [  started  ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
 dbus                                                                          [  started  ]
 display-manager-setup                                                         [  started  ]
Dynamic Runlevel: manual
******************************

As for /var/log/sddm.log

Code: Select all

[23:52:14.588] (II) DAEMON: Initializing...
[23:52:14.598] (II) DAEMON: Starting...
[23:52:14.599] (II) DAEMON: Logind interface found
[23:52:14.600] (II) DAEMON: Adding new display...
[23:52:14.600] (II) DAEMON: Loaded empty theme configuration
[23:52:14.603] (II) DAEMON: Using VT 1
[23:52:14.603] (II) DAEMON: Display server started.
[23:52:14.603] (II) DAEMON: Socket server starting...
[23:52:14.603] (II) DAEMON: Socket server started.
[23:52:14.603] (II) DAEMON: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
[23:52:14.604] (II) DAEMON: Greeter starting...
[23:52:14.613] (II) HELPER: [PAM] Starting...
[23:52:14.613] (II) HELPER: [PAM] Authenticating...
[23:52:14.613] (II) HELPER: [PAM] returning.
[23:52:14.646] (EE) HELPER: Failed to take control of "/dev/tty1" ("root"): Operation not permitted
[23:52:14.647] (II) DAEMON: Greeter session started successfully
[23:52:14.647] (II) HELPER: [PAM] Closing session
[23:52:14.649] (II) HELPER: [PAM] Ended.
[23:52:14.650] (WW) DAEMON: Auth: sddm-helper exited with 5
[23:52:14.650] (II) DAEMON: Greeter stopped. SDDM::Auth::HELPER_TTY_ERROR
[23:52:14.650] (II) DAEMON: Jumping to VT 1
[23:52:14.688] (II) DAEMON: VT mode didn't need to be fixed
[23:52:14.688] (II) DAEMON: Socket server stopping...
[23:52:14.688] (II) DAEMON: Socket server stopped.
[23:52:14.688] (II) DAEMON: Removing display SDDM::Display(0x559e495fdc00) ...
[23:52:14.688] (II) DAEMON: Adding new display...
[23:52:14.688] (II) DAEMON: Loaded empty theme configuration
[23:52:14.693] (II) DAEMON: Using VT 1
[23:52:14.693] (II) DAEMON: Display server started.
[23:52:14.693] (II) DAEMON: Socket server starting...
[23:52:14.693] (II) DAEMON: Socket server started.
[23:52:14.693] (II) DAEMON: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
[23:52:14.694] (II) DAEMON: Greeter starting...
[23:52:14.707] (II) HELPER: [PAM] Starting...
[23:52:14.707] (II) HELPER: [PAM] Authenticating...
[23:52:14.707] (II) HELPER: [PAM] returning.
[23:52:14.757] (EE) HELPER: Failed to take control of "/dev/tty1" ("root"): Operation not permitted
[23:52:14.758] (II) DAEMON: Greeter session started successfully
[23:52:14.758] (II) HELPER: [PAM] Closing session
[23:52:14.760] (II) HELPER: [PAM] Ended.
[23:52:14.761] (WW) DAEMON: Auth: sddm-helper exited with 5
[23:52:14.761] (II) DAEMON: Greeter stopped. SDDM::Auth::HELPER_TTY_ERROR
[23:52:14.761] (II) DAEMON: Jumping to VT 1
[23:52:14.797] (II) DAEMON: VT mode didn't need to be fixed
[23:52:14.798] (II) DAEMON: Socket server stopping...
[23:52:14.798] (II) DAEMON: Socket server stopped.
[23:52:14.798] (II) DAEMON: Removing display SDDM::Display(0x559e495dc650) ...
[23:52:14.798] (II) DAEMON: Adding new display...
[23:52:14.798] (II) DAEMON: Loaded empty theme configuration
[23:52:14.802] (II) DAEMON: Using VT 1
[23:52:14.802] (II) DAEMON: Display server started.
[23:52:14.802] (II) DAEMON: Socket server starting...
[23:52:14.802] (II) DAEMON: Socket server started.
[23:52:14.802] (II) DAEMON: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
[23:52:14.802] (II) DAEMON: Greeter starting...
[23:52:14.812] (II) HELPER: [PAM] Starting...
[23:52:14.812] (II) HELPER: [PAM] Authenticating...
[23:52:14.812] (II) HELPER: [PAM] returning.
[23:52:14.846] (EE) HELPER: Failed to take control of "/dev/tty1" ("root"): Operation not permitted
[23:52:14.847] (II) DAEMON: Greeter session started successfully
[23:52:14.847] (II) HELPER: [PAM] Closing session
[23:52:14.849] (II) HELPER: [PAM] Ended.
[23:52:14.850] (WW) DAEMON: Auth: sddm-helper exited with 5
[23:52:14.850] (II) DAEMON: Greeter stopped. SDDM::Auth::HELPER_TTY_ERROR
[23:52:14.850] (II) DAEMON: Jumping to VT 1
[23:52:14.881] (II) DAEMON: VT mode didn't need to be fixed
[23:52:14.881] (II) DAEMON: Socket server stopping...
[23:52:14.881] (II) DAEMON: Socket server stopped.
[23:52:14.881] (II) DAEMON: Removing display SDDM::Display(0x7f68b000c440) ...
[23:52:14.881] (II) DAEMON: Adding new display...
[23:52:14.881] (II) DAEMON: Loaded empty theme configuration
[23:52:14.884] (II) DAEMON: Using VT 1
[23:52:14.885] (II) DAEMON: Display server started.
[23:52:14.885] (II) DAEMON: Socket server starting...
[23:52:14.885] (II) DAEMON: Socket server started.
[23:52:14.885] (II) DAEMON: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
[23:52:14.885] (II) DAEMON: Greeter starting...
[23:52:14.893] (II) HELPER: [PAM] Starting...
[23:52:14.893] (II) HELPER: [PAM] Authenticating...
[23:52:14.893] (II) HELPER: [PAM] returning.
[23:52:14.929] (EE) HELPER: Failed to take control of "/dev/tty1" ("root"): Operation not permitted
[23:52:14.930] (II) DAEMON: Greeter session started successfully
[23:52:14.931] (II) HELPER: [PAM] Closing session
[23:52:14.932] (II) HELPER: [PAM] Ended.
[23:52:14.933] (WW) DAEMON: Auth: sddm-helper exited with 5
[23:52:14.933] (II) DAEMON: Greeter stopped. SDDM::Auth::HELPER_TTY_ERROR
[23:52:14.933] (II) DAEMON: Jumping to VT 1
[23:52:14.964] (II) DAEMON: VT mode didn't need to be fixed
[23:52:14.964] (II) DAEMON: Socket server stopping...
[23:52:14.964] (II) DAEMON: Socket server stopped.
[23:52:14.965] (II) DAEMON: Removing display SDDM::Display(0x559e495e3840) ...
[23:52:14.965] (II) DAEMON: Adding new display...
[23:52:14.965] (II) DAEMON: Loaded empty theme configuration
[23:52:14.968] (II) DAEMON: Using VT 1
[23:52:14.968] (II) DAEMON: Display server started.
[23:52:14.968] (II) DAEMON: Socket server starting...
[23:52:14.968] (II) DAEMON: Socket server started.
[23:52:14.968] (II) DAEMON: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
[23:52:14.969] (II) DAEMON: Greeter starting...
[23:52:14.977] (II) HELPER: [PAM] Starting...
[23:52:14.977] (II) HELPER: [PAM] Authenticating...
[23:52:14.977] (II) HELPER: [PAM] returning.
[23:52:15.036] (EE) HELPER: Failed to take control of "/dev/tty1" ("root"): Operation not permitted
[23:52:15.037] (II) DAEMON: Greeter session started successfully
[23:52:15.037] (II) HELPER: [PAM] Closing session
[23:52:15.039] (II) HELPER: [PAM] Ended.
[23:52:15.040] (WW) DAEMON: Auth: sddm-helper exited with 5
[23:52:15.040] (II) DAEMON: Greeter stopped. SDDM::Auth::HELPER_TTY_ERROR
[23:52:15.040] (II) DAEMON: Jumping to VT 1
[23:52:15.077] (II) DAEMON: VT mode didn't need to be fixed
[23:52:15.077] (II) DAEMON: Socket server stopping...
[23:52:15.077] (II) DAEMON: Socket server stopped.
[23:52:15.077] (II) DAEMON: Removing display SDDM::Display(0x559e495f9ab0) ...
[23:52:15.077] (II) DAEMON: Adding new display...
[23:52:15.077] (II) DAEMON: Loaded empty theme configuration
[23:52:15.080] (II) DAEMON: Using VT 1
[23:52:15.080] (II) DAEMON: Display server started.
[23:52:15.080] (II) DAEMON: Socket server starting...
[23:52:15.080] (II) DAEMON: Socket server started.
[23:52:15.080] (II) DAEMON: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
[23:52:15.081] (II) DAEMON: Greeter starting...
[23:52:15.091] (II) HELPER: [PAM] Starting...
[23:52:15.091] (II) HELPER: [PAM] Authenticating...
[23:52:15.091] (II) HELPER: [PAM] returning.
[23:52:15.139] (EE) HELPER: Failed to take control of "/dev/tty1" ("root"): Operation not permitted
[23:52:15.140] (II) DAEMON: Greeter session started successfully
[23:52:15.141] (II) HELPER: [PAM] Closing session
[23:52:15.142] (II) HELPER: [PAM] Ended.
[23:52:15.143] (WW) DAEMON: Auth: sddm-helper exited with 5
[23:52:15.143] (II) DAEMON: Greeter stopped. SDDM::Auth::HELPER_TTY_ERROR
[23:52:15.143] (II) DAEMON: Jumping to VT 1
[23:52:15.182] (II) DAEMON: VT mode didn't need to be fixed
[23:52:15.182] (II) DAEMON: Socket server stopping...
[23:52:15.182] (II) DAEMON: Socket server stopped.
[23:52:15.183] (II) DAEMON: Removing display SDDM::Display(0x559e495e6f00) ...
[23:52:15.183] (II) DAEMON: Adding new display...
[23:52:15.183] (II) DAEMON: Loaded empty theme configuration
[23:52:15.185] (II) DAEMON: Using VT 1
[23:52:15.185] (II) DAEMON: Display server started.
[23:52:15.185] (II) DAEMON: Socket server starting...
[23:52:15.185] (II) DAEMON: Socket server started.
[23:52:15.185] (II) DAEMON: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
[23:52:15.186] (II) DAEMON: Greeter starting...
[23:52:15.186] (II) DAEMON: Socket server stopping...
[23:52:15.186] (II) DAEMON: Socket server stopped.
[23:52:15.186] (WW) DAEMON: Auth: sddm-helper (--socket /tmp/sddm-auth-f92ad207-071f-4349-be68-2feee1a78e23 --id 14 --start /usr/bin/sddm-greeter-qt6 --socket /tmp/sddm--agTJWH --theme /usr/share/sddm/themes/breeze --user sddm --display-server kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1 --greeter) crashed (exit code 1)
[23:52:15.186] (WW) DAEMON: Auth: sddm-helper exited with 15
******************************

Additionally, I have created a /etc/sddm.conf.d/10-wayland.conf to have SDDM start in Wayland session.

******************************

Code: Select all

[General]
DisplayServer=wayland
GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell

[Wayland]
CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1
******************************


It seems that SDDM will try to start for multiple times, but it failed.

The log shows

Code: Select all

(EE) HELPER: Failed to take control of "/dev/tty1" ("root"): Operation not permitted
, could it be the reason?

Is there anything wrong with my configuration? Please point it out.

If you need more logs or configurations, please name it.

Any response will be appreciated! :)
Last edited by E. Vertin on Fri May 30, 2025 4:31 pm, edited 1 time in total.
Top
E. Vertin
n00b
n00b
Posts: 13
Joined: Mon Jul 29, 2024 8:45 pm
Location: Hong Kong SAR

  • Quote

Post by E. Vertin » Sun Apr 27, 2025 9:55 am

Apr. 27, 2025 Update

********************

It turns out that this is an issue about user space SDDM login.

As you can see in my log, I was using SDDM on Wayland to login, which was done by adding a configuration file for SDDM according to the Wiki.
https://wiki.gentoo.org/wiki/SDDM#overr ... yland_mode

Doing so results in this problem.

Also, when I try to use SDDM on a root-less X11 session, it also fails to pop up after logging out.

This log:

Code: Select all

Failed to take control of "/dev/tty1" ("root"): Operation not permitted
indicates that it fails to use a user space session to open a login window.

********************

To deal with this issue, simply remove all the entries about forcing the DisplayServer to use wayland or x11-user.

Is this because of any misconfiguration in my setup or it's just not "stable enough"?

Any response will be appreciated! :)
Top
rarado
n00b
n00b
Posts: 5
Joined: Sun Apr 27, 2025 12:39 pm

  • Quote

Post by rarado » Sun Apr 27, 2025 1:19 pm

I can confirm I have exactly the same issue with sddm as above, however when I try to run sddm with epmty override.conf, it doesn't start at all, in fact I get this in sddm.log:

Code: Select all

[14:59:33.478] (II) DAEMON: Initializing...
[14:59:33.487] (II) DAEMON: Starting...
[14:59:33.487] (II) DAEMON: Logind interface found
[14:59:33.489] (II) DAEMON: Adding new display...
[14:59:33.489] (II) DAEMON: Loaded empty theme configuration
[14:59:33.493] (II) DAEMON: Using VT 1
[14:59:33.493] (II) DAEMON: Display server started.
[14:59:33.493] (II) DAEMON: Socket server starting...
[14:59:33.494] (II) DAEMON: Socket server started.
[14:59:33.497] (II) DAEMON: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
[14:59:33.503] (II) DAEMON: Greeter starting...
[14:59:33.536] (II) HELPER: [PAM] Starting...
[14:59:33.536] (II) HELPER: [PAM] Authenticating...
[14:59:33.536] (II) HELPER: [PAM] returning.
[14:59:33.594] (II) HELPER: Starting X11 session: "/usr/bin/X -nolisten tcp -background none -seat seat0 -noreset -keeptty -novtswitch -verbose 3" "/usr/bin/sddm-greeter-qt6 --socket /tmp/sddm--czlHiQ --theme /usr/share/sddm/themes/bree
ze"
[14:59:33.596] (EE) HELPER: Failed to take control of "/dev/tty1" ("root"): Operation not permitted
[14:59:33.598] (II) DAEMON: Greeter session started successfully
[14:59:33.598] (II) HELPER: [PAM] Closing session
[14:59:33.602] (II) HELPER: [PAM] Ended.
[14:59:33.605] (WW) DAEMON: Auth: sddm-helper exited with 5
[14:59:33.605] (II) DAEMON: Greeter stopped. SDDM::Auth::HELPER_TTY_ERROR
[14:59:33.605] (II) DAEMON: Jumping to VT 1
[14:59:33.660] (II) DAEMON: VT mode didn't need to be fixed
[14:59:33.660] (II) DAEMON: Socket server stopping...
[14:59:33.660] (II) DAEMON: Socket server stopped.
[14:59:33.660] (II) DAEMON: Removing display SDDM::Display(0x557526a1e150) ...

Code: Select all

Portage 3.0.67 (python 3.12.10-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-14, glibc-2.40-r8, 6.12.21-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.12.21-gentoo-dist-x86_64-Intel-R-_Core-TM-_i5-7400_CPU_@_3.00GHz-with-glibc2.40
KiB Mem:    32800544 total,  28917408 free
KiB Swap:   14045180 total,  14045180 free
Timestamp of repository gentoo: Fri, 25 Apr 2025 22:05:21 +0000
Head commit of repository gentoo: 28ba40c4c1da590d9b523b62b9c3562316de80c3

Timestamp of repository guru: Fri, 25 Apr 2025 15:35:11 +0000
Head commit of repository guru: de35a0c04613def1da5bd8ebd3b6be409c61e4bc

Head commit of repository mva: 73c864ea3972a7f3dd792a817d17fd911b41eb86

Timestamp of repository steam-overlay: Wed, 23 Apr 2025 15:38:10 +0000
Head commit of repository steam-overlay: 23f38449f9a86d0648566b51a51e73d9561a40e6

sh bash 5.2_p37
ld GNU ld (Gentoo 2.44 p1) 2.44.0
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.17-r1::gentoo
dev-build/cmake:           3.31.5::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.7.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.2::gentoo
dev-lang/python:           3.12.10::gentoo, 3.13.3::gentoo
dev-lang/rust-bin:         1.85.1::gentoo
llvm-core/clang:           19.1.7::gentoo
llvm-core/lld:             19.1.7::gentoo
llvm-core/llvm:            19.1.7::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.56::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.12::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

mva
    location: /var/db/repos/mva
    sync-type: git
    sync-uri: https://github.com/msva/mva-overlay/
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64-v3

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -mabm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144 -O3 -pipe -fno-semantic-interposition"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/i2pd/certificates"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=skylake -mabm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144 -O3 -pipe -fno-semantic-interposition"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=skylake -mabm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144 -O3 -pipe -fno-semantic-interposition"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature buildpkg-live clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=skylake -mabm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144 -O3 -pipe -fno-semantic-interposition"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cuda cups dbus declarative dist-kernel dri dts dvd dvdr egl elogind encode exif flac flatpak gdbm gif gpm grub gtk gui iconv icu ipv6 jpeg kde kf6compat kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nvenc nvidia ogg opencl opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds proton pulseaudio qml qt5 qt6 readline screencast sdl seccomp semantic-desktop sound spell ssl staging startup-notification svg test-rust tiff truetype udev udisks unicode upnp upower usb vaapi vdpau vnc vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_14" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US pl" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

[I] x11-misc/sddm
     Available versions:  0.21.0_p20240723-r10^t{gpkg} ~0.21.0_p20250310^t ~0.21.0_p20250326^t {+X +elogind systemd test}
     Installed versions:  0.21.0_p20240723-r10^t{gpkg}(14:49:41 27.04.2025)(X elogind -systemd -test)
     Homepage:            https://github.com/sddm/sddm
     Description:         Simple Desktop Display Manager
Top
keekkenen
Tux's lil' helper
Tux's lil' helper
Posts: 84
Joined: Sat Oct 05, 2024 12:02 pm

Re: SDDM Does Not Show Up After Logging Out

  • Quote

Post by keekkenen » Sun Apr 27, 2025 4:25 pm

E. Vertin wrote: It seems that SDDM will try to start for multiple times, but it failed.
I've the same problem with it, but no problem without override.conf file.
7950x3d / x670e MSI Tomagawk / Sapphire RX 7800XT 16Gb / G.Skill 64Gb 5600 / A-Data Legend 960 2Tb (x2), A-Data SX8200PNP 256Gb
Top
E. Vertin
n00b
n00b
Posts: 13
Joined: Mon Jul 29, 2024 8:45 pm
Location: Hong Kong SAR

  • Quote

Post by E. Vertin » Mon Apr 28, 2025 5:54 am

rarado wrote:I can confirm I have exactly the same issue with sddm as above, however when I try to run sddm with epmty override.conf, it doesn't start at all, in fact I get this in sddm.log:

Code: Select all

[14:59:33.478] (II) DAEMON: Initializing...
[14:59:33.487] (II) DAEMON: Starting...
[14:59:33.487] (II) DAEMON: Logind interface found
[14:59:33.489] (II) DAEMON: Adding new display...
[14:59:33.489] (II) DAEMON: Loaded empty theme configuration
[14:59:33.493] (II) DAEMON: Using VT 1
[14:59:33.493] (II) DAEMON: Display server started.
[14:59:33.493] (II) DAEMON: Socket server starting...
[14:59:33.494] (II) DAEMON: Socket server started.
[14:59:33.497] (II) DAEMON: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
[14:59:33.503] (II) DAEMON: Greeter starting...
[14:59:33.536] (II) HELPER: [PAM] Starting...
[14:59:33.536] (II) HELPER: [PAM] Authenticating...
[14:59:33.536] (II) HELPER: [PAM] returning.
[14:59:33.594] (II) HELPER: Starting X11 session: "/usr/bin/X -nolisten tcp -background none -seat seat0 -noreset -keeptty -novtswitch -verbose 3" "/usr/bin/sddm-greeter-qt6 --socket /tmp/sddm--czlHiQ --theme /usr/share/sddm/themes/bree
ze"
[14:59:33.596] (EE) HELPER: Failed to take control of "/dev/tty1" ("root"): Operation not permitted
[14:59:33.598] (II) DAEMON: Greeter session started successfully
[14:59:33.598] (II) HELPER: [PAM] Closing session
[14:59:33.602] (II) HELPER: [PAM] Ended.
[14:59:33.605] (WW) DAEMON: Auth: sddm-helper exited with 5
[14:59:33.605] (II) DAEMON: Greeter stopped. SDDM::Auth::HELPER_TTY_ERROR
[14:59:33.605] (II) DAEMON: Jumping to VT 1
[14:59:33.660] (II) DAEMON: VT mode didn't need to be fixed
[14:59:33.660] (II) DAEMON: Socket server stopping...
[14:59:33.660] (II) DAEMON: Socket server stopped.
[14:59:33.660] (II) DAEMON: Removing display SDDM::Display(0x557526a1e150) ...

Code: Select all

Portage 3.0.67 (python 3.12.10-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-14, glibc-2.40-r8, 6.12.21-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.12.21-gentoo-dist-x86_64-Intel-R-_Core-TM-_i5-7400_CPU_@_3.00GHz-with-glibc2.40
KiB Mem:    32800544 total,  28917408 free
KiB Swap:   14045180 total,  14045180 free
Timestamp of repository gentoo: Fri, 25 Apr 2025 22:05:21 +0000
Head commit of repository gentoo: 28ba40c4c1da590d9b523b62b9c3562316de80c3

Timestamp of repository guru: Fri, 25 Apr 2025 15:35:11 +0000
Head commit of repository guru: de35a0c04613def1da5bd8ebd3b6be409c61e4bc

Head commit of repository mva: 73c864ea3972a7f3dd792a817d17fd911b41eb86

Timestamp of repository steam-overlay: Wed, 23 Apr 2025 15:38:10 +0000
Head commit of repository steam-overlay: 23f38449f9a86d0648566b51a51e73d9561a40e6

sh bash 5.2_p37
ld GNU ld (Gentoo 2.44 p1) 2.44.0
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.17-r1::gentoo
dev-build/cmake:           3.31.5::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.7.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.2::gentoo
dev-lang/python:           3.12.10::gentoo, 3.13.3::gentoo
dev-lang/rust-bin:         1.85.1::gentoo
llvm-core/clang:           19.1.7::gentoo
llvm-core/lld:             19.1.7::gentoo
llvm-core/llvm:            19.1.7::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.56::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.12::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

mva
    location: /var/db/repos/mva
    sync-type: git
    sync-uri: https://github.com/msva/mva-overlay/
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64-v3

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -mabm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144 -O3 -pipe -fno-semantic-interposition"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/i2pd/certificates"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=skylake -mabm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144 -O3 -pipe -fno-semantic-interposition"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=skylake -mabm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144 -O3 -pipe -fno-semantic-interposition"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature buildpkg-live clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=skylake -mabm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144 -O3 -pipe -fno-semantic-interposition"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cuda cups dbus declarative dist-kernel dri dts dvd dvdr egl elogind encode exif flac flatpak gdbm gif gpm grub gtk gui iconv icu ipv6 jpeg kde kf6compat kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nvenc nvidia ogg opencl opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds proton pulseaudio qml qt5 qt6 readline screencast sdl seccomp semantic-desktop sound spell ssl staging startup-notification svg test-rust tiff truetype udev udisks unicode upnp upower usb vaapi vdpau vnc vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_14" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US pl" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

[I] x11-misc/sddm
     Available versions:  0.21.0_p20240723-r10^t{gpkg} ~0.21.0_p20250310^t ~0.21.0_p20250326^t {+X +elogind systemd test}
     Installed versions:  0.21.0_p20240723-r10^t{gpkg}(14:49:41 27.04.2025)(X elogind -systemd -test)
     Homepage:            https://github.com/sddm/sddm
     Description:         Simple Desktop Display Manager
Occurs after logging out in Plasma just like me or on system start-up?

It's pretty weird, I can have it working without the override.conf for now. :?
Top
pabloblo
Tux's lil' helper
Tux's lil' helper
Posts: 87
Joined: Wed Jan 24, 2024 1:59 pm

  • Quote

Post by pabloblo » Mon Apr 28, 2025 7:29 pm

hello
do you have in : /etc/elogind/logind.conf
KillUserProcesses=yes
RemoveIPC=yes
Top
keekkenen
Tux's lil' helper
Tux's lil' helper
Posts: 84
Joined: Sat Oct 05, 2024 12:02 pm

  • Quote

Post by keekkenen » Mon Apr 28, 2025 8:02 pm

pabloblo wrote:hello
do you have in : /etc/elogind/logind.conf
KillUserProcesses=yes
RemoveIPC=yes
In my case

Code: Select all

# grep -E 'KillUserProcesses|RemoveIPC' /etc/elogind/logind.conf
#KillUserProcesses=no
RemoveIPC=no
7950x3d / x670e MSI Tomagawk / Sapphire RX 7800XT 16Gb / G.Skill 64Gb 5600 / A-Data Legend 960 2Tb (x2), A-Data SX8200PNP 256Gb
Top
rarado
n00b
n00b
Posts: 5
Joined: Sun Apr 27, 2025 12:39 pm

  • Quote

Post by rarado » Mon Apr 28, 2025 8:20 pm

pabloblo wrote:hello
do you have in : /etc/elogind/logind.conf
KillUserProcesses=yes
RemoveIPC=yes
Yes Sir, in fact I do.
Top
pabloblo
Tux's lil' helper
Tux's lil' helper
Posts: 87
Joined: Wed Jan 24, 2024 1:59 pm

  • Quote

Post by pabloblo » Mon Apr 28, 2025 8:29 pm

i propose to edit /etc/elogind/logind.conf
KillUserProcesses=yes
RemoveIPC=yes
then reboot
Top
pabloblo
Tux's lil' helper
Tux's lil' helper
Posts: 87
Joined: Wed Jan 24, 2024 1:59 pm

  • Quote

Post by pabloblo » Mon Apr 28, 2025 8:40 pm

rarado wrote:
pabloblo wrote:hello
do you have in : /etc/elogind/logind.conf
KillUserProcesses=yes
RemoveIPC=yes
Yes Sir, in fact I do.
Could you please check a few things?
After logging out, run: loginctl show-seat seat0 and and verify if CanMultiSession=yes and Sessions is not empty
Also check the permissions on /dev/tty1 : ls -l /dev/tty1
Could you show the content of your /etc/conf.d/display-manager file, especially the DISPLAYMANAGER=... line?
Top
E. Vertin
n00b
n00b
Posts: 13
Joined: Mon Jul 29, 2024 8:45 pm
Location: Hong Kong SAR

  • Quote

Post by E. Vertin » Tue Apr 29, 2025 3:23 am

pabloblo wrote:
rarado wrote:
pabloblo wrote:hello
do you have in : /etc/elogind/logind.conf
KillUserProcesses=yes
RemoveIPC=yes
Yes Sir, in fact I do.
Could you please check a few things?
After logging out, run: loginctl show-seat seat0 and and verify if CanMultiSession=yes and Sessions is not empty
Also check the permissions on /dev/tty1 : ls -l /dev/tty1
Could you show the content of your /etc/conf.d/display-manager file, especially the DISPLAYMANAGER=... line?

Hello there!

I edited my /etc/elogind/login.conf as instructed and have it checked in tty.

For loginctl show-seat seat0

Code: Select all

Id=seat0
ActiveSession=3
CanTTY=yes
CanGraphical=yes
Sessions=3
IdleHint=no
IdleSinceHint=1745896453000000
IdleSinceHintMonotonic=143914189
For ls -l /dev/tty1

Code: Select all

crw--w---- 1 root tty 4, 1 Apr 29 11:12 /dev/tty1
In the /etc/conf.d/display-manager, I specified DISPLAYMANAGER to be sddm.

Thanks for the response! :)
Top
Post Reply

11 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic