sddm autologin doesn't immediately after boot - but systemctl restart sddm solves the problem. Timing issue - missing systemd service dependencies?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Howdy!

My sddm doesn't automatically log me in for a week now. It errors out with:

> Could not start D-Bus. Can you call qdbus instead?

Picture of the error here:
https://x.virtkick.com/51c5d57e633799d45cf438026b4493ec87b1d19d/sddm-autologin-error.png

All I need to do after getting this error is switch to tty and call
`systemctl restart sddm`.

It feels like a timing issue - D-Bus not coming up on time. Does sddm
systemd service correctly depend on everything it needs to
successfully login? Currently:

> After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service

I tried adding After=dbus.service and Depends=dbus.service but it didn't help.

1. Can anyone check if it's reproducible on their side?
2. Any ideas how to improve the service unit file to depend on the
appropriate things?

[Autologin]
Relogin=false
Session=plasma.desktop
User=USERNAME

[General]
HaltCommand=
RebootCommand=

[Users]
MaximumUid=65000
MinimumUid=1000


Thanks,
Damian Nowak



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux