Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Fixed Upstr] SDDM doesn't autostart with >=systemd-243-rc1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pickd.mask
n00b
n00b


Joined: 02 Aug 2011
Posts: 21

PostPosted: Sun Aug 25, 2019 12:53 am    Post subject: SDDM doesn't autostart with >=systemd-243-rc1 Reply with quote

Good day.

After upgrading to systemd-243 (rc1 and rc2) or even 9999, my sddm service somehow doesn't start properly.
That was probably a silly question, but I couldn't find any working solution at all.
Probably missing something obvious.

1. Steps to reproduce.

I simply upgraded systemd to version 243 (USE="acl gcrypt kmod lz4 lzma pam pcre (policykit) resolvconf seccomp (split-usr) sysv-utils -apparmor -audit -build -cgroup-hybrid -cryptsetup -curl -dns-over-tls -elfutils -gnuefi -http -idn -importd -nat -qrcode (-selinux) -test -vanilla -xkb" ABI_X86="32 (64) (-x32)")
After reboot, there's either a blinking undescore or some lines about started units stopping at
Code:
Started service for local.d/nvidia-udev-workaround.*
(link to image). It is not a slow sddm boot, it won't load even after 10 minutes of waiting.

2. What I tried to do to eliminate that problem

2.1. tried to change dependencies via
Code:
systemctl edit sddm.service
with following content
Code:
After=nvidia-udev-workaround.start
(same with Requires and other stuff).

2.2. rebuilt the system overnight;

No luck with that.

3. What actually helped to get to DE:

3.1. downgrading systemd to v. 241 for example, then everything works fine;

3.2. logging into shell as root and execute two commands
Code:
systemctl stop sddm.service
and
Code:
systemctl start sddm.service
- after that I can get to greeter, DE and everything works just normally until next reboot.

Some more info:


make.conf
list of all installed packages using qlist -Iv.txt
journalctl -b
dmesg
systemctl list-dependencies

SDDM status when it's not working properly:
Code:
● sddm.service - Simple Desktop Display Manager
   Loaded: loaded (/lib/systemd/system/sddm.service; enabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/sddm.service.d
           └─override.conf
   Active: active (running) since Sun 2019-08-25 03:42:58 MSK; 37s ago
     Docs: man:sddm(1)
           man:sddm.conf(5)
 Main PID: 745 (sddm)
    Tasks: 2
   Memory: 16.2M
      CPU: 12ms
   CGroup: /system.slice/sddm.service
           └─745 /usr/bin/sddm

авг 25 03:42:58 pc systemd[1]: Started Simple Desktop Display Manager.
авг 25 03:42:58 pc sddm[745]: Initializing...
авг 25 03:42:58 pc sddm[745]: Starting...
авг 25 03:42:58 pc sddm[745]: Logind interface found


And SDDM status after systemctl stop sddm.service and systemctl start sddm.service:
Code:
● sddm.service - Simple Desktop Display Manager
   Loaded: loaded (/lib/systemd/system/sddm.service; enabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/sddm.service.d
           └─override.conf
   Active: active (running) since Sun 2019-08-25 03:43:57 MSK; 29s ago
     Docs: man:sddm(1)
           man:sddm.conf(5)
 Main PID: 827 (sddm)
    Tasks: 4
   Memory: 57.5M
      CPU: 2.359s
   CGroup: /system.slice/sddm.service
           ├─827 /usr/bin/sddm
           └─829 /usr/libexec/Xorg -nolisten tcp -auth /var/run/sddm/{f3df1ce6-8511-42cf-ab0e-cb1aecda97f5} -background none -noreset -displayfd 17 -seat seat0 vt7

авг 25 03:43:58 pc sddm-helper[844]: PAM unable to dlopen(/lib64/security/pam_elogind.so): /lib64/security/pam_elogind.so: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога
авг 25 03:43:58 pc sddm-helper[844]: PAM adding faulty module: /lib64/security/pam_elogind.so
авг 25 03:43:58 pc sddm-helper[844]: [PAM] Starting...
авг 25 03:43:58 pc sddm-helper[844]: [PAM] Authenticating...
авг 25 03:43:58 pc sddm-helper[844]: [PAM] returning.
авг 25 03:43:58 pc sddm-helper[844]: gkr-pam: no password is available for user
авг 25 03:43:58 pc sddm[827]: Authenticated successfully
авг 25 03:43:58 pc sddm-helper[844]: pam_unix(sddm-autologin:session): session opened for user ivan by (uid=0)
авг 25 03:43:58 pc sddm-helper[844]: Starting: "/usr/share/sddm/scripts/Xsession \"/usr/bin/startkde\""
авг 25 03:43:58 pc sddm[827]: Session started



Thanks for your attention. Any advice is appreciated.


Last edited by pickd.mask on Mon Oct 28, 2019 1:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
pickd.mask
n00b
n00b


Joined: 02 Aug 2011
Posts: 21

PostPosted: Mon Oct 28, 2019 1:28 pm    Post subject: Reply with quote

Fixed in latest version.

More info here: https://github.com/systemd/systemd/issues/13296#issuecomment-546585727
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum