This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Start dbus session and kwalletd before KDE

Tags: None
(comma "," separated)
fernan82
Registered Member
Posts
20
Karma
0
OS
Hello,

I'm using the pam_kwallet module with KDE 4.14.8. On boxes running a display manager (kdm) it works perfectly, but on a system without kdm (kde is started via startx) it does not work. I suppose because the dbus it's not started. I tried starting dbus as a systemd user service and set DBUS_SESSION_BUS_ADDRESS on .bashrc (I thought it's supposed to be set by pam_systemd but it isn't) and kde still starts another instance. I checked that DBUS_SESSION_BUS_ADDRESS is properly set (to unix:path=/run/user/1000/dbus/user_bus_socket and the socket exists) but killing the dbus process that was started by kde screws up the desktop so it's using it.

If I add the pam_kwallet module to /etc/pam.d/system-login (on gentoo) it does start kwalletd (even without dbus) but when I start kde ksplash starts for a second and then the whole session crashes and I'm taken back to the login prompt. The only thing on the user journal is:
Code: Select all
systemd[6250]: Received SIGRTMIN+24 from PID 6287 (kill).


So in short, I need a way to start dbus and kwalletd (via pam_kwallet) at login before starting kde. Any ideas?

Code: Select all
$ kwalletd --version
Qt: 4.8.6
KDE Development Platform: 4.14.8
KDE Wallet Service: 0.2

$ systemctl --version
systemd 226
+PAM +AUDIT -SELINUX +IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL -XZ +LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD -IDN


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar